----Original Message Follows---- From: "Paul Andrews" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: RE: Bean Serializer/ Deserializer Date: Fri, 7 Mar 2003 09:24:27 -0500
They use the reflection package. If you implement BeanInfo classes you can control precisely what gets serialized/deserialized. Look in the java.beans package for more info.
> -----Original Message----- > From: Mike DuVall [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 2:38 PM > To: [EMAIL PROTECTED] > Subject: Bean Serializer/ Deserializer > > > I have a question about how the built in BeanSerializer and > BeanDeserializer > determines what getters and setters to call. > > Do these classes just call every getter and setter on an a > bean, or do they > first look for data fields in the object, and then look for > getters and > setters that correspond to those data fields? I'm guessing > they just look > for getters and setters regardless of what data fields may exist. > > Also, is there some way to have the > BeanSerializer/Desserializer ignore > certain getters/setters? > > Thanks, > Mike > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail >
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail