Use local interfaces for EJB calls

If the Web application calls EJB components, local interface invocations offer the best performance since they pass parameters on the stack rather than marshalling parameter values into an IIOP stream. For information on using local interfaces, see these sections in the EAServer Programmer’s Guide, from Chapter 8, “Creating Enterprise JavaBeans Clients”: