What is a Persistent, Transient Object?
Answers were Sorted based on User's Feedback
Answer / shb
Persistent is permanent storage and transient is for memory.
Persistemt objects when call transient objets ,first it is
loaded into memory.After process a transient objects can be
stored as persitent objects in hard disk.
| Is This Answer Correct ? | 68 Yes | 3 No |
Answer / suresh murugadass
Persistent objects are objects that are bound to DB Object (VO objects in EJB.
Transient Objects are the objects that are identified not to be serialized.
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / nisha
transient objects are the objects which lie in application
memory... once application is ended this object also get
vanished... whereas persistent objects have permanent
memory... they remain in memory untill they are xplicitly
removed....
transient objects cannot be converted to persistent objects
as they have their lifetime defined at the time of their
instantiation.
| Is This Answer Correct ? | 21 Yes | 10 No |
Answer / prakash
Persistance means, using serializable interface,storing
objects permanantly in the hard disk(database....)
transients are non serilizable onjects......
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / farree
data is stored in the class so the object of that class
having dynamic bindig is called transient class object
where data that is not changed and static binding is
applied to it is of persistent base class object:
| Is This Answer Correct ? | 4 Yes | 14 No |
Answer / prasanna kumar
persistent is related to static
where as transient is related to dynamic
| Is This Answer Correct ? | 8 Yes | 21 No |
Answer / sarin
Persistent objects are on this heap, while transient
objects are in the transient memory. Transient and
persistent objects can access each other mutually.
Accessing a persistent object leads to loading the object
into the transient heap. It it is not accessed from
transient objects any more, it will be written back to the
persistent heap. A transient object becomes persistent as
soon as it can be reached from a persistent root
| Is This Answer Correct ? | 18 Yes | 34 No |
How are the diagrams divided in UML?
What is UML diagram in C#?
What is class diagram in UML with example?
What are the rules specified for invariants in first order and second order information?
Difference: 'uses', 'extends', 'includes'
What is behavioral diagram in UML?
What is an antipattern?
What does UML do?
Explain about the difficulties of interchange format of UML?
What are the messages and the dynamic diagrams?
Can we use UML for user interface (UI) design?
What is a Persistent, Transient Object?
7 Answers Ora Tech, Syscon, TCS,