-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings.

This is with JBoss Tools Beta3.

I have an EJB implementation, CustomerSessionEJB, which is a stateless
session EJB.  It has an ejbActivate and an ejbCreate method which does
some set up work.

In the CustomerSessionEJB file, I have;
 * @ejb.bean
 *   name="CustomerSession"
 *   description="Customer Maintenance"
 *   displayName="CustomerSession"
 *   type="Stateless"
 *   view-type="both"
 *   jndi-name="hrx/CustomerSession"
 *   local-jndi-name="hrx/local/CustomerSession"
 *   impl-class-name="com.hrnexus.customer.ejb.CustomerSessionEJB"
 * @ejb.home
 *   extends = "javax.ejb.EJBHome"
 *   local-extends = "javax.ejb.EJBLocalHome"

So, as far as I can tell, the Home & Remote Interfaces are all getting
generated correctly.  Where things fall apart (very badly!), is with the
following;

- From the ejb-jar.xml file;

<ejb-class>com.hrnexus.customer.ejb.CustomerSessionSession</ejb-class>

WRONG CLASS!  Should be com.hrnexus.customer.ejb.CustomerSessionEJB.

In addition, that class is actually generated, and implements an
ejbActivate and an ejbCreate method THAT DOES NOT CALL THE PARENT ONE!
Of course, this causes the EJB to actually fail when called, as the
required setup is not done.  In addition, it does not seem to override,
implement any of the other EJB's methods.

Under Project -> XDoclet -> ejbdoclet, I have unchecked 'session', but
this file is still generated, and the ejb-jar.xml file is still using
this for its <ejb-class> entry.

Am I missing a setting somewhere?  Or is this a bug?

Regards,
Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG7EsKPtiPEDq7o8YRAoP1AJ9GupNxJKNZwyKbZ2ZzF+4F8zWURACfdmT1
U2id+NzGtzuHzdR4JdYVQo4=
=V7Eb
-----END PGP SIGNATURE-----
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to