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 |
State some of the criticisms present with UML?
How do you create a use case diagram in UML?
Can you give us a brief defining the architecture?
Why can't I easily interchange uml models between modeling tools?
What does UML do?
What is the importance of modeling in UML?
Explain about the methods in UML?
What is an object lifeline?
What are the elements which are utilized in the state chart diagram?
Who maintains the uml specification and how is it updated?
Explain about executable UML?
Explain about dynamical behavior view?