I created a Enterprise Project with a single EJB Module. The ejb module has a single Session EJB that was created from the EJB Wizard.
I used the xdoclet configuration wizard and specified and configured the following tags:
ejbdoclet
deploymentdescriptor
fileset
homeinterface
remoteinterface
The name if my ejb implementation class generated from the EJB Wizard is PetEJB.java
The home interface was created successfully with the name PetEJBHome.java
The remote interface class did not get generated for some reason even though I specified it in the xdoclet configuration.
Then I looked at the generated ejb-jar.xml and was surprised to see the following:
<ejb-name>PetEJB</ejb-name>
<home>com.organizer.ejb.pet.PetEJBHome</home>
<remote>com.organizer.ejb.pet.PetEJB</remote>
<ejb-class>com.organizer.ejb.pet.PetEJB</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
I don’t understand why the xdoclet wizard set the remote and ejb-class to the same value…..Anybody know what is going on and what I could be missing on the xdoclet configuration????
I’ve tried this numerous times with no success…
J.D.