如题。在JBoss上,
ejb-jar.xml
<ejb-ref> <description>xxx</description> <ejb-ref-name>remote/xxx</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>com.xxHome</home> <remote>com.xxRemote</remote> </ejb-ref> <p>
jboss.xml如何写,是像下面这样吗?
<ejb-ref> <ejb-ref-name>remote/xxx</ejb-ref-name> <jndi-name>hostname:xxx</jndi-name> </ejb-ref> <p>
顶……………………
顶…………………… 顶…………………… 顶……………………
是的 hostname:xxx是你这个EJB的JNDI名称。