> Stateless session beans does not maintain the conversational state.
> so the home interface has a create() with empty parameters and ejbCreate()
> in the EJBean class has empty parameters
> A stateless session bean cannot have multiple create & ejbCreate methods.
> and more over u cant has create and ejbCreate taking parameters for
> Stateless session bean.
>
> The type of session bean is stated at the time of deployment.
> ie(either stateless/stateful)
>
> It should be a stateful session bean, when u'r ejbCreate method takes
> parameters.
>
> ----------
> From: Suresh Kumar S[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: Friday, June 02, 2000 10:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: ejbCreate java.lang.NoSuchMethod
>
> if u have it as stateless then the server will invoke only argumentless
> ejbcreate() method. if u dont want to be stateful then i dont see the need
> for ejbcreate with parameters u can have some other functions which
> accepts
> input from the client side
>
> > ----------
> > From: Greg Robertson[SMTP:[EMAIL PROTECTED]]
> > Reply To: A mailing list for Enterprise JavaBeans development
> > Sent: Friday, June 02, 2000 9:31 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: ejbCreate java.lang.NoSuchMethod
> >
> > I had it set as stateless? Am I missing something here? This bean does
> > not
> > need to be stateful (eg no need for persistence). What am I not
> > understanding?
> >
> > -----Original Message-----
> > From: Evan Ireland [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 01, 2000 11:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: ejbCreate java.lang.NoSuchMethod
> >
> >
> > Perhaps the RI thinks this session bean is stateless?
> >
> > Greg Robertson wrote:
> > >
> > > I have written a Session Bean xxx that has
> > >
> > > public void ejbCreate(Address origin,int npa,int nxx) throws
> > > CreateException,RemoteException
> > >
> > > and the Home
> > >
> > > public xxx create(Address origin,int npa,int nxx) throws
> > > CreateException,RemoteException
> > >
> > > Note that there is no
> > >
> > > void ejbCreate() //notice no params
> > >
> > > If i try and deploy this using sun's RI , i get an error during deploy
> > that
> > > says java.lang.NoSuchMethod ejbCreate
> > >
> > > If i implement ejbCreate //with no params then it will deploy but it
> > only
> > > calls the ejbCreate with no parameters. So can anybody help me with
> > this?
> > >
> > > thanks in advance. right now i have done a nasty hack of an added
> > function
> > > call to work around this.
> > >
> > >
> >
> ==========================================================================
> > =
> > > 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".
> >
> > --
> >
> __________________________________________________________________________
> > __
> > ____
> >
> > Evan Ireland Sybase EAServer Engineering
> > [EMAIL PROTECTED]
> > Wellington, New Zealand +64 4
> > 934-5856
> >
> >
> ==========================================================================
> > =
> > 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".
> >
> >
> ==========================================================================
> > =
> > 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".
> >
>
> ==========================================================================
> =
> 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".
>
===========================================================================
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".