On Tue, 2003-06-10 at 01:19, Harkness, David wrote:
> Just a guess here, but I suspect EJBDoclet doesn't discern between
> stateless and stateful SESSION beans. Change your tag to "session"
> (that's what I'm using for our stateless session beans).
> 
>  * @ejb:bean name="ServiceBean"
>  *         type="Session"

You guess wrong.  Valid values for the type parameter for session beans,
as listed in the xtags.xml, are "Stateless" and "Stateful".  The default
is "Stateless".  For entity beans, the possible values are "BMP" and
"CMP".

If you're using type="Session" and it works, it's purely by luck and may
break in the future if/when the validation gets tightened up.


Andrew.



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to