I have a session bean that use local home interfaces of a few entity beans. I'm using
Eclipse 3.0 with Lomboz and XDoclet to generate the EJB classes and the deployment
descriptors. The session bean contains a sequence like
* @ejb.ejb-external-ref
* ref-name="ejb/TaskLocal"
* type="Entity"
* view-type="local"
* home="promis.dm.ca.TaskLocalHome"
* business="promis.dm.ca.TaskLocal"
..............................
* @jboss.ejb-ref-jndi
* ref-name="TaskLocal"
* jndi-name="TaskLocal"
Therefor generate Lomboz the next (wrong) code in jboss.xml:
.......................................
<ejb-name>SessionAgent</ejb-name>
<jndi-name>SessionAgentBean</jndi-name>
<local-jndi-name>SessionAgentLocal</local-jndi-name>
<ejb-ref>
<ejb-ref-name>ejb/TaskLocal</ejb-ref-name>
<jndi-name>TaskLocal</jndi-name>
</ejb-ref>
.......................................
instead of
<ejb-name>SessionAgent</ejb-name>
<jndi-name>SessionAgentBean</jndi-name>
<local-jndi-name>SessionAgentLocal</local-jndi-name>
<ejb-local-ref>
<ejb-ref-name>ejb/TaskLocal</ejb-ref-name>
<local-jndi-name>TaskLocal</local-jndi-name>
</ejb-local-ref>
Here I'm copying/pasting every time after genertaing the EJB classes
the right text into the jboss.xml file.
I have updated Lomboz according to the article
http://www.amitysolutions.com.au/documents/XDocletChange-technote.pdf, but nothing
changes.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845708#3845708
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845708
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user