I have found that JNDI works great, so you don't need the complexity of rmi-iiop.  
Currently, I tested it successfully with JBoss --> JBoss and WebSphere --> JBoss, 
although I had to include the JBoss client jar for WebSphere.

Basically, if your JNDI look internally was "MyApplication/MyBean", then your JNDI for 
remote lookup might be "jnp://remotehost:1099/MyApplication/MyBean".  You can obtain 
any remote EJB interface this way so long as you can plug the host name or IP address 
for the remote server in the lookup string.  I have the Web module grab this from a 
properties file.  For EJB to EJB, you might grab the remote host or IP from a user 
updateable database entry.  

Let me know if you need more details.  



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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to