aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Local Interface for EJB 1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Local Interface for EJB 1.1" Watch "Local Interface for EJB 1.1" New topic
Author

Local Interface for EJB 1.1

Mithun Azhagappan
Greenhorn

Joined: Mar 27, 2006
Posts: 7
I have an application which uses EJB1.1 Remote Interfaces. I am tuning the application and i need to make the benefit of Local Interface concept . An i knw that we dont have Local Interface concept for EJB1.1 . And i am not in a position to upgrade the EJB Version. Can I in someway implement local calls between the session beans and entity beans in my JVM .

NB: My app has all the beans in a single Server ( single JVM) .


Regards,<br />Mithun A<br />SCJP,SCBCD,SCEA
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
no, you can't. At least not in any generic way (many appservers had proprietary extensions that did have some kind of system though).


42
Mithun Azhagappan
Greenhorn

Joined: Mar 27, 2006
Posts: 7
Is there some way that I can tell the app server to discover the beans in the same machine... will it in some way help improve my performance so that the beans are been looked up in the same machine.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

I'm curious as to what your deployment environment is.

I work with WebSphere, and it is my understanding that while a remote interface may be used by a client, the application server can recognize a call from one EJB to the other that originates on the same JVM. As a result, it does a variety of optimization for local calls.

My understanding of local interfaces has much more to do with security, in so much as a remote client can't invoke an EJB that doesn't have a remote interface.

-Cameron McKenzie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Local Interface for EJB 1.1