8.4.1 Using the local interface

This method uses the local interface that conforms to the J2EE standard specifications, during the development of the application.

Local interface is a functionality that as usual invokes the Enterprise Bean as a method invocation of the same thread. As a J2EE standard functionality, the local interface has portability. However, if you use local interfaces, location independence is lost, since using local interfaces requires you to create programs that use dedicated local interface for local invocation, at the server side as well as the client side.

The local interface is invoked by using the pass by reference method. The local interface does not support invocations between different J2EE applications even if they are running on the same J2EE server.