Hi all
What is the J2ee spec for JNDI lookup from a standalone java application???My application server is running on a different machine than my client java program. Now this java client program is trying to get a hold of the beans deployed on the application server. For this situation, what is the J2ee spec ?? I know that in weblogic, you will hav eto provide the PROVIDER_URL, INITIAL_CONTEXT_FACTORY, SECURITY_PRINCIPAL and SECURITY_CREDENTIALS. How does it work on websphere or JBoss etc??
Thanks in advance
-
J2ee spec for JNDI lookup in standalone java client (4 messages)
- Posted by: Jo V
- Posted on: May 16 2003 10:57 EDT
Threaded Messages (4)
- J2ee spec for JNDI lookup in standalone java client by Aaron Robinson on May 19 2003 14:23 EDT
- J2ee spec for JNDI lookup in standalone java client by viji vimal on May 26 2003 04:21 EDT
- J2ee spec for JNDI lookup in standalone java client by Ferhat SAVCI on May 26 2003 07:13 EDT
- J2ee spec for JNDI lookup in standalone java client by viji vimal on May 27 2003 03:47 EDT
-
J2ee spec for JNDI lookup in standalone java client[ Go to top ]
- Posted by: Aaron Robinson
- Posted on: May 19 2003 14:23 EDT
- in response to Jo V
The specs don't demand standalone client JNDI access through the default initialcontext. You can achieve this through application clients I beleievce -
J2ee spec for JNDI lookup in standalone java client[ Go to top ]
- Posted by: viji vimal
- Posted on: May 26 2003 04:21 EDT
- in response to Aaron Robinson
Hi,
I'm also looking for a solution for the same problem. In my case, its little bit different that a standalone application or any other client for that matter, should access a business delegate, which is lying above the session beans.All these beans, business delegates are in a different machine and in an application server(JBOSS).
Kindly suggest a solution for this..
Thanks in advance..
Viji -
J2ee spec for JNDI lookup in standalone java client[ Go to top ]
- Posted by: Ferhat SAVCI
- Posted on: May 26 2003 07:13 EDT
- in response to Jo V
It works the same way for all app servers. The protocol (t3, iiop, jnp) in PROVIDER_URL differs, the INITIAL_CONTEXT_FACTORY class differs, but the interface is the same. Put the parameters in a Properties object and construct the InitialContext using it, or, alternatively, specify them on the command line using -D.
For valid values for each app server, RTFM. -
J2ee spec for JNDI lookup in standalone java client[ Go to top ]
- Posted by: viji vimal
- Posted on: May 27 2003 03:47 EDT
- in response to Ferhat SAVCI
Is there a way to give access to my business delegates instead of the EJBeans to any remote client?
Kindly help
Thanks