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 does the rule chaining concept works in uml?
Explain about realization and its relationships?
What are the phases of the object-oriented development lifecycle?
Define SDLC in UML?
UML: IS it a process, method or notation?
What are the good practices to use while designing for reuse?
Is use case diagram static or dynamic?
How would you define architecture?
What is UML Architecture?
In an Java interview, the Following question was asked.. How do you represent a class in UML?
Explain about dependency?
Name some of the roles that are played by the packages, modules and wrappers?