The easiest way to reference a 3.0 EJB is by dependency injection (@EJB). But we don't have annotations working in servlets yet. So if we go back to doing the traditional way of a lookup, we would have to declare a <ejb-ref> in the web.xml
Even if the annotations are processed, they write an <ejb-ref> element in the web.xml. However for a 3.0 EJB, the interface elements like <home>, <local> etc are not applicable inside a <ejb-ref>. So they are (should be) omitted. Here is the schema: http://java.sun.com/xml/ns/javaee/javaee_5.xsd But our deployer has a hard requirement on those interfaces. It fails to deploy the module. Here is the stack trace excerpt: http://rifers.org/paste/show/3344 Here is the jira for this problem: http://issues.apache.org/jira/browse/GERONIMO-2778 Cheers Prasad