Home interface methods  CMP enhancements

Chapter 6: Enterprise JavaBeans Overview

Local interfaces

The EJB 2.0 architecture introduces local interfaces for calls to an EJB component from within the same Java Virtual Machine. In EAServer, you can use local interfaces for intercomponent calls, and for component invocations made from servlets and JSPs hosted by the same server as the component. To use local interfaces, you must configure a local EJB reference for the JSP or EJB component that issues the call.

Using local interfaces can improve performance for calls to components hosted in the same server, but in coding you must be aware of the restrictions listed in “Calling local interface methods”.





Copyright © 2005. Sybase Inc. All rights reserved. CMP enhancements

View this book as PDF