- This topic has 3 replies, 3 voices, and was last updated 20 years, 3 months ago by deshkesh.
-
AuthorPosts
-
jcorbinMemberI 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
remoteinterfaceThe 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.
jcorbinMemberI guess I will answer my own question since nobody else will 🙂
I changed the name of my implementation class from PetEJB to PetEJBSession and reran the xdoclet configuration wizard and it created the remote and home interfaces correctly.
I was simply unlucky when I generated the EJB through the wizard, I just happened to name the implementation class the same as the name the wizard generated for the remote interface.
This is a bug or at the very least an useability issue….
J.D.
Scott AndersonParticipantJD,
I guess I will answer my own question since nobody else will 🙂
Even our support staff has to get a few hours of sleep every now and then. 😉
Glad you found the solution to the problem you were experiencing. I’ve entered the usability issue into our internal tracking system for futher research into what we can do to mitigate it.
Thanks for hanging in there and figuring it out for everyone else.
–Scott
MyEclipse Support
deshkeshMemberI ran into the exact same issue and tried the solution mentioned in the thread. It did not work for me.
Please advise.
-
AuthorPosts