On Wed, 16 Jul 2003, Larry Zappeterrini wrote:
> Date: Wed, 16 Jul 2003 11:08:46 -0400 > From: Larry Zappeterrini <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Re[2]: [OT] Re: 4th Of July Struts Challenge... > > That analysis of constructors is correct. Regarding the question about > JavaBeans and constructors, the document "How to be a Good Bean" from Sun's > website (http://java.sun.com/products/javabeans/docs/goodbean.pdf) indicates > that it is good practice to provide a zero-argument constructor for a > JavaBean. This is so that an instance of the bean can be created using > Beans.instantiate(). > Indeed, Struts itself relies on this to instantiate things like Action and ActionForm beans dynamically. Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]