[jboss-user] [JBossWS] - Should @EJB work in Pojo's deployed as a WebService?

bryan.kearney do-not-reply at jboss.com
Tue Feb 3 12:38:09 EST 2009


I have a pojo which is being deployed as a servlet in a war file. The goal is to expose the pojo as a WS endpoint (Metro endpoint actually). If I add any J2EE annotations (@EJB or @Resource) they come back as null.

Is the expectation that Pojos deployed should be able to use these annotations?

-- bk


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206671#4206671

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206671



More information about the jboss-user mailing list