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) .
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.
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
SKIP - a book about connecting industrious people with elderly land owners