Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking Local Interface from Remote EJBHome

 
Krishan Chauhan
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic