What kind of bean is it?  If its an entity or stateful session bean you're
allows to have multiple.  For a stateless session you cannot (as they do
not have state outside the method invocation).  If its a stateful session
or an entity bean then this is a bug in xdoclet.

cheers
dim


On Mon, 29 Oct 2001, Jens Kumpfmueller wrote:

> hi,
> 
> can i use multiple ejbCreate methods in a bean?
> 
> when i use this code:
> 
> <code>
> 
> /**
>   * @ejb:create-method
>   */
> public IdPK ejbCreate(IdPK key) throws RemoteException,CreateException
> {
>    // ...
> }
> 
> /**
>   * @ejb:create-method
>   */
> public IdPK ejbCreate(String name) throws
>                             RemoteException,CreateException
> {
>    // ...
> }
> </code>
> 
> i thought xdoclet would create 2 ejbCreate methods in IdHome
> but xdoclet always took only the first one.
> Is it wrong to have multiple ejbCreate methods? or how can i do it?
> 
> thx in advice
> 
> jens
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to