users@glassfish.java.net

Re: how to inject session bean into servlet using _at_EJB

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 Feb 2008 09:05:25 PST

Hi Norbi,

Your web.xml needs to reference the .xsd version corresponding to Java EE 5 :
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd.

Otherwise, the deployment process treats the .war as a J2EE 1.4 application and ignored all EE annotations.

 --ken
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=258771