I have deployed a session bean in IBM WAS 5 using the console. The JNDI Name for that bean is "Mailer". Now I am trying to create a client in eclipse trying to access the session bean. I just added a whole bunch of IBM jar files to my project. I am confused how to do a look up to that bean. I have tried different ways. Attaching my client code ..
Try the WebSphere Universal Test Client and see if the name of the bean appears under the JNDI Explorer. You should see a home interface, then when create() is invoke, will produce a remote object to work with.
This will at least help you verify the JNDI is set up right before trying to access it from a client.