File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
Doubt in JNDI binding
One EJB should have only one class which implements bean class?
ClassCast Exception on EJB remote object lookup
Remote /Local mode
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014