wood burning stoves 2.0*
The moose likes Websphere and the fly likes Libraries required for JNDI look by a pure Java Application Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Libraries required for JNDI look by a pure Java Application Client" Watch "Libraries required for JNDI look by a pure Java Application Client" New topic
Author

Libraries required for JNDI look by a pure Java Application Client

vicky kumar
Ranch Hand

Joined: Dec 13, 2002
Posts: 55
Hi Kyle,
I have 2 questions for you:
1) Is Websphere Thin Client the only solution to access remote EJB using JNDI ? If yes, does that not defeat the very purpose of JNDI objects by not enabling to be accessed without thin client.
2) If there is any way to access EJB by a pure Java Application, what/where are the libraries to put in the classpath. Also let me know the properties to initialise the context with (Apart from HOST and Class Name).
Also, any other prerequisite.
We have tried enough so far to access through Java Application (NOT EJB Client) as this application resides in different machine remotely. All efforts in vain so far.
IBM technical support suggests THIN client. What are your comments and suggestions.
Any quick reply will be greatly appreciated.
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
This is very clearly described both in my book and in the InfoCenter. Yes, the only way to access EJBs in WebSphere is through the thin client, the pluggable client or the application container (e.g. launchClient.bat).
And this doesn't defeat the purpose of EJBs or JNDI -- EJB's WERE NEVER a part of J2SE, which is all you have before you add on the additional libraries. All the thin client is is a large set of libraries. Likewise, the J2EE application container (J2EE client) is just a set of libraries and a batch file to set up your classpath.
I really don't see what the problem is... what's your real concern?
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
 
subject: Libraries required for JNDI look by a pure Java Application Client
 
Similar Threads
Tomcat and EJBs
Oracle JDBC driver working on 64-bit java?
EJB Accessibility
Mr.Bergsten, does the book based on Model 1?
Check out the qtns for Part I