This one time, at band camp, Bruce Snyder said:

BS>I've implemented an EJB that extends the AbstractStatelessSessionBean
BS>from the Spring Framework.  I'm also using XDoclet to generate the
BS>Home and Remote interfaces for this EJB. I'm currently experiencing
BS>a problem where XDoclet is generating the Home interface for the
BS>EJB and making it extend AbstractStatelessSessionBeanHome which
BS>doesn't exist. Can someone help me find a way to tell XDoclet not
BS>to make the Home interface extend the same class that the EJB extends
BS>but with the word 'Home' on the end of it?

I'm answering my own question here.

I needed to tell XDoclet what classes to extend via the following
doclet tags:

    @ejb.home extends="javax.ejb.EJBHome"
    @ejb.interface extends="javax.ejb.EJBObject"

Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://incubator.apache.org/projects/geronimo.html


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to