Hi all,
I have a Session Bean that refers to a colocated Entity Bean,
so in Session's Class I wrote:


  |  * @ejb.ejb-ref ejb-name = "ProdottoEntity"
  |  *                      view-type = "local"
  |  *                      ref-name = "ejb/ProdottoEntity"
  |  *               
  |  * @jboss.ejb-ref-jndi ref-name = "ProdottoEntity"
  |  *                                 jndi-name = "ProdottoEntity"
  |  *        
  | 


The ejb-jar.xml file is correctly generated.
Instead the jboss.xml file looks like:


  | <session>
  |          <ejb-name>Modify</ejb-name>
  |          <jndi-name>ejb/Modify</jndi-name>
  |          <configuration-name>XMALF Stateful SessionBean</configuration-name>
  |          <ejb-ref>
  |             <ejb-ref-name>ejb/ProdottoEntity</ejb-ref-name>
  |             <jndi-name>ProdottoEntity</jndi-name>
  |          </ejb-ref>
  | </session>
  | 

It uses ejb-ref tag instead of ejb-local-ref
(every time I redeploy my application I must change 
ejb-ref with ejb-local-ref).

Am I using Xdoclet tag in a bad way or it could be
an XDoclet bug ?

Many Thanks for your replies,
Moreno

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842179#3842179

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842179


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to