Hi,
I have two JBoss installed on two different machines and I want Session Beans from one to call methods of beans from the other.
First I add the next definition to the jboss.xml and ejb-jar.xml, but it doesn't works:
ejb-jar.xml:
<ejb-name>FolderHandler</ejb-name>
...FolderHandlerHome
...FolderHandler
<ejb-class>...FolderHandlerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/ItemHandler</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
...ItemHandlerHome
...ItemHandler
</ejb-ref>
jboss.xml:
<ejb-name>FolderHandler</ejb-name>
<jndi-name>ejb/FolderHandler</jndi-name>
<ejb-ref>
<ejb-ref-name>ejb/ItemHandler</ejb-ref-name>
<jndi-name>jnp://x.x.x.x/ejb/ItemHandler</jndi-name>
</ejb-ref>
Next I've tried to do it in the same way I do it on the clients, but doesn't works.
Someone can help me?
Thanks.