A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Invoking Local Interface from Remote EJBHome
Joined: Mar 12, 2008
Dec 07, 2009 05:03:17
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
in Main class. After getting the Remote
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.
I agree. Here's the link:
subject: Invoking Local Interface from Remote EJBHome
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015