• Post Reply Bookmark Topic Watch Topic
  • New Topic

what do you mean by the term "persistent objects" ?  RSS feed

 
Loganathan Karunakaran
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

what do you mean by the term "persistent objects" ? could some one please explain. Thanks.


Regards
Loganathan. K
 
Raghavan Muthu
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The term persistent object comes from 'persistence' which indeed means the 'permanent storage'.

Persistent Objects are the ones who give an indication that the state of an object would be permanently stored even after the execution of the program.

Hope this helps!
 
Raghavan Muthu
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Permanent Storage -- is nothing but the place from which we can retrieve at a later point of time. Say a filesystem (file in your folder) or the database table.

Storing it as a part of your application collection say HashMap, ArrayList may NOT be a persistent as the values in the objects (and the objects themselves) would be lost after the execution of the program.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!