dcsimg
Serialization Big Question regarding controller class
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   wilson_wilson
Posted On:   Friday, October 14, 2005 01:22 AM


I am currently doing an java application. I have a controller class holding a hashtable storing references to a list of objects. If i serialize the controller class, will the list of objects stored in my hashtable be serialized??

Thank You for all your great help

Re: Serialization Big Question regarding controller class

Posted By:   Anonymous  
Posted On:   Thursday, November 10, 2005 07:48 AM

Hi Wilson

You do not need to serialized to your controller class.
B'cause Hashtable objects are already implements the Serializable interface.so, you could directly use hashtable object for serialization.



Buy Buy !!!!!

Re: Serialization Big Question regarding controller class

Posted By:   srini_vasan  
Posted On:   Tuesday, October 18, 2005 10:44 AM

Hi,



whenever u serialize an object , memebers of that object

will be serialized. if we have member of that object is

another object mean that sub object and its members will be

serialized.this serialization process will go depth as long as

we have sub objects.





Finally, Ur Hashtable and its associated objects will be

serialized when u serialize ur Controller class.





i hope this will clear u,





thanks,


srini

Re: Serialization Big Question regarding controller class

Posted By:   WarnerJan_Veldhuis  
Posted On:   Friday, October 14, 2005 05:06 AM

Have you tried? What did it do?
About | Sitemap | Contact