If you want an optimized invocation path between a web component and an EJB, your best bet is to use the Local EJB view instead of the Remote view. In the Local EJB view, parameters and return values are passed by reference. You'll need to package your .war and ejb-jar within the same .ear.
[Message sent by forum member 'ksak' (ksak)]
http://forums.java.net/jive/thread.jspa?messageID=243919