File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Local interface 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 "Local interface " Watch "Local interface " New topic

Local interface

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
We have two beans in a system. One is running in weblogic server and other one is running in the websphere server. Can I use Local interface to interact between these two beans?
Vijayanand Viswanathan

Joined: Aug 03, 2004
Posts: 3
Local Interfaces in EJB are meant to reduce a remote call on an Enterprise Bean. What this means is, if 2 Enterprise Beans A and B are in the same EJB Container, Bean A can call Bean B using it's local interface. If you deploy Bean A in Weblogic Server 1 and Bean B is Weblogic Server 2, then you would be making a remote call from Bean A to Bean B anyway.
It is sorta covered in the JavaRanch Style Guide.
subject: Local interface