A wise old hermit known only as Dmitri Colebatch <[EMAIL PROTECTED]> once 
said:

> hey guys,
> 
> I was porting something at work to use today's build and noticed a 
> couple of things:
> 
> we now need @ejb:create-method on stateless session beans... any reason
> for this?  why dont we do how we use to, just have the ejbCreate method 
> in
> the generated session, and call super if its there (with exceptions 
> clause as well)...

I guess the @ejb:create-method is needed on stateless session beans just 
to keep them the same as the other types, and I need it on Entity beans 
because (1) create methods can be called ejbCreateBlah in EJB 2.0 and (2)
TopLink has a method ejbCreateImpl in their existing BMP base class that 
isn't actually a create method (just called from it)...

> in the docs for preferred tag syntax it says to use 
> 
>   @ejb:tagname valueOfOneParameter
> 
> instead of
> 
>   @ejb:tagname paramname="valueOfOneParameter"
> 
> I thought we had agreed on the latter... am I mistaken there?

I thought the conclusion was the preferred syntax was
@ejb:tagname "valueOfOneParameter" (i.e. quoted)
if there's only one possible argument and name="value" if there's more 
than one (although my preference is actually for name="value" all the time 
to keep it consistent, so that's what I'll be using).


Andrew.

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

Reply via email to