users@glassfish.java.net

Webapp client call EJB on different server

From: <glassfish_at_javadesktop.org>
Date: Mon, 20 Sep 2010 16:01:51 PDT

I have 2 glassfish servers and on one I have a webapp which needs to call the remote interface of an EJB on a different server. What's the configuration of the webapp I need to get this done. I'm assuming I cannot inject the remote bean using @EJB and will instead have to get an InitalContext, set the server name, and then do a lookup. But for anyone who has done this, let me know how this is configured. BTW, I'm using the latest Glassfish version and EE 6.
[Message sent by forum member 'mjremijan']

http://forums.java.net/jive/thread.jspa?messageID=483188