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".