I wrote something on TheServerside which may address what you want: http://www.theserverside.com/patterns/thread.jsp?thread_id=7270
--- Suhel Ahmed <[EMAIL PROTECTED]> wrote: > So guys ,can i use beans default constructor to initialize my bean with some data or > resources. > in this case what are the limitations i have to keep in mind by which every thin will > go smooth,. > any comments or suggestions > -Suhel > ----- Original Message ----- > From: Zahid Iqbal > To: [EMAIL PROTECTED] > Sent: Friday, March 15, 2002 1:37 PM > Subject: Re: constructors in E-Beans > > > Well....The EJB Constructor should always be called whenever an EJB instance is > created irrespective of the specific EJB (J2EE) container. Otherwise it'll conflict > with the standard behavior of a constructor and also the portability of the EJB code > across different EJB containers. > > Thanks > > Zahid. > > ----- Original Message ----- > From: Hemant Arora <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 15, 2002 12:36 PM > Subject: Re: constructors in E-Beans > > > > Hi Suhel > > > > The constructor is the default one for any EJBean > > and its upto the container to call it during instantiaing the bean > > > > Any body to throw more light ........... > > > > Regards > > Hemant > > > > > > > > Suhel Ahmed > > <suhel.ahmed@EXIM To: [EMAIL PROTECTED] > > SOFT.COM> cc: > > Sent by: A Subject: constructors in E-Beans > > mailing list for > > Enterprise > > JavaBeans > > development > > <EJB-INTEREST@JAV > > A.SUN.COM> > > > > > > 03/15/02 12:49 PM > > Please respond to > > Suhel Ahmed > > > > > > > > > > > > > > Hey > > Guys what is the roles of constructors in enterprise beans , can any one > > explain me in short . > > > > > > > > -----------------------Disclaimer------------------------ > > > > The views of the author may not necessarily reflect those > > of the Company. All liability is excluded to the extent > > permitted by law for any claims arising as a result of the > > use of this medium to transmit information by or to > > IT Solutions (India) Pvt. Ltd. > > > > We have taken precautions to minimize the risk of > > transmitting software viruses, but we advise you to > > carry out your own virus checks on any attachment to > > this message. We cannot accept liability for any loss or > > damage caused by software viruses. > > > > ------------------------Disclaimer------------------------ > > > > =========================================================================== > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff EJB-INTEREST". For general help, send email to > > [EMAIL PROTECTED] and include in the body of the message "help". > > > > > __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
