• 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

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic