ejb@glassfish.java.net

Re: Help needed with remote JNDI

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Fri, 12 Dec 2008 16:41:25 -0500

On Dec 12, 2008, at 2:38 PM, Tulasi.Rai_at_kohls.com wrote:

>
> Hello,
> I have a situation where I have configured JMS resources in
> Glassfish-v2ur2 ei. Java EE environment that is in the server
> 192.168.1.101. My JMS resources (JNDI rosources) are:
> 1. jms/ConnectionFactory
> 2. jms/Queue
> 3. jms/Topic
>
> Now, I have stand-alone java client (Not in the Java EE server) in
> another machine 192.168.1.102 that needs access to those JMS JNDI
> resouces. I would appreciate if you could help me with these:
>
> 1. How would I access those remote JNDI resources from the
> java stand-alone client?

Hi Tulasi,

Follow the instructions here : https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
#StandaloneRemoteEJB.
The rules for setting up the InitialContext are the same as for Remote
EJB access.


>
> 2. How would I access those remote JNDI resources from
> another application running in another Java EE environment?

Take a look at this Glassfish forum posting :
http://forums.java.net/jive/thread.jspa?threadID=54391&tstart=0&messageID=321041#321041

  --ken

>
>
> Thanks.
>
> Tulasi Rai
> E-commerce
> Kohl's Corporation
> Phone: 262-703-2790
> CONFIDENTIALITY NOTICE:
> This is a transmission from Kohl's Department Stores, Inc.
> and may contain information which is confidential and proprietary.
> If you are not the addressee, any disclosure, copying or
> distribution or use of the contents of this message is expressly
> prohibited.
> If you have received this transmission in error, please destroy it
> and notify us immediately at 262-703-7000.
>
> CAUTION:
> Internet and e-mail communications are Kohl's property and Kohl's
> reserves the right to retrieve and read any message created, sent
> and received. Kohl's reserves the right to monitor messages by
> authorized Kohl's Associates at any time
> without any further consent.