Hi,
I am using
EJB 2.0.
I have 2 session beans, RemoteSessionBean with remote interface and LocalSessionBean with local interface. I am making use of Websphere server.
I have a Main Class which is a client to RemoteSessionBean. I do a look up on Remote EJBHome in Main class. After getting the Remote EJBHome I am looking up RemoteSessionBean.
Then in the RemoteSessionBean, I am looking up LocaEJBHome. Here I am getting NamingException
Is there any problem in the above approach?
Any help is much appreciated.
Thanks,
Krishan