
Chapter 5. Common migration issues 109
For example, JNDI lookups do not have access to java:comp/env; instead, the
thin client must provide the fully qualified path, including the physical location, as
illustrated in Example 5-8.
Example 5-8 Thin client looking up an EJB deployed on a single server
...
String path = "cell/nodes/nodeName/servers/serverName/relativeJndiName";
Object object = initialContext.lookup(path);
EJBHome ejbHome = (EJBHome) javax.rmi.PortableRemoteObject.narrow(object,
EJBHome.class);
...
To run thin clients, you need to install the J2EE and Java thin application client,
which is part of the WebSphere Application Server V6 installation ...