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 |
What is Activity diagram in UML?
What is mean by seamlessness in object-oriented systems development?
Difference between Activity and Sequence Diagram?
What is transition?
What is UML and its advantages?
What shall I go for Package Diagram?
What are the various components in sequence diagrams?
How to use CRC Cards for Class Design?
Detail the meaning of association?
What are the elements in State Chart diagrams?
What are the different views in UML?
What are the different types of relationship composition that exists?