aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Invoking Local Interface from Remote EJBHome Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Invoking Local Interface from Remote EJBHome" Watch "Invoking Local Interface from Remote EJBHome" New topic
Author

Invoking Local Interface from Remote EJBHome

Krishan Chauhan
Ranch Hand

Joined: Mar 12, 2008
Posts: 32
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invoking Local Interface from Remote EJBHome