users@glassfish.java.net

Re: Interop with Glassfish and other application servers

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Nov 2007 09:10:19 PST

JavaEE 5-compliant application servers can interoperate with each other portably without adding foreign jars to server classpath. This is required by JavaEE platform.

You declare or inject ejb-ref as usual, and map the ejb-ref to its physical destination with corban naming syntax:

corbaname:iiop:1.2_at_host2:port2#global_jndi_name_of_target_ejb

Make sure iiop is used as the protocol as some other appservers by default don't.

-cheng
[Message sent by forum member 'cf126330' (cf126330)]

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