Meaningless Drivel is fun!
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
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: 1428
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.
I agree. Here's the link:
subject: Local interface
It's not a secret anymore!