[3857] in java-interest

home help back first fref pref prev next nref lref last post

Persistent instances!!

daemon@ATHENA.MIT.EDU (P Senthilkumar - RS)
Thu Nov 30 00:17:52 1995

From: psenthil@iss.nus.sg (P Senthilkumar - RS)
To: java-interest@java.sun.com
Date: Thu, 30 Nov 1995 11:19:15 +0800 (SGT)
Cc: psenthil@iss.nus.sg (P Senthilkumar - RS)

hi everyone,

 Has any one tried out creating persistent instances of classes.

	I want to make java objects persistent. I want to save the state of
	java objects and to continue from that state next time.

  Also, I want some means to keep track of all the instances of the loaded
 classes and to store the state of objects in my database. 

	 Overloading the operator new is not possible.

 Are there any  other methods/techniques to achieve persistency.

In the worst case,  writing the state into a file and then reading them
is one alternative. Is there any other better way to do this ?.

For  my application (not an applet) , I've written my own class loader 
which will load the classes directly from my database(Shore). So I can 
keep track of all the user-defined classes being loaded.  (Any extensions 
along these lines are also good....)

-----------------------**************-------------------
"Good judgement comes from experience.  Experience comes 
from bad judgement."                     -- Jim Horning
-----------------------**************-------------------
P. Senthil kumar                    Internet : psenthil@iss.nus.sg
Institute of System Sciences,       Talk     : psenthil@melon.iss.nus.sg
National University of Singapore,   Tel      : 7722583 (O)
Singapore -0511                              : 7655152 (R)
------------------------------------------------------------------------

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post