If it's a regular Java Bean, it's instantiated through its constructor and is destroyed through Garbage collection.
-----Original Message----- From: Avinash Pedgaonker , SA, NIC [mailto:avp@;DGFTMUM.BOM.NIC.IN] Sent: Thursday, October 17, 2002 5:47 AM To: [EMAIL PROTECTED] Subject: how to call save and load methods. Dear friends, i have writteen a bean and i want to serialise it. for that i am writing two methods save and load whcih will save the object to file and reload it. problem is that when i am using this bean in JRUN server i want to know what method of bean is called for when the bean is instantiated and destroyed.like in servlet we have init() and destroy() methods. thanks in advance. with regards, avinash ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
