Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
EJB and other Java EE Technologies
Invoking Local Interface from Remote EJBHome
posted 7 years ago
I am using
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
Is there any problem in the above approach?
Any help is much appreciated.
Boost this thread!
Why client-->home-->remote in EJB
One EJB should have only one class which implements bean class?
Remote /Local mode
ClassCast Exception on EJB remote object lookup
Doubt in JNDI binding