glassfish_at_javadesktop.org wrote:
> 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.
Hello,
The .war file and the ejb.jar file are already in the same .ear file.
Directory structure:
lib:
entitiy-beans.jar
META-INF:
MANIFEST.MF
session-beans.jar
web.war
Maybe the lookup code is wrong:
new InitialContext().lookup(MyBeanInterface.class.getName());
cheers,
Gerald