Hello,
No i didn't.
For now i gave up to use only webprofile and added @Stateless annotation on
JAX-RS along with @Path.
After that, the classes that i already mapped in my
javax.ws.rs.core.Application class got the right to use @Resource and @EJB to
inject what i need just as if they where servlets... with the plus of being a
EJB.
Zero xml configuration untill now, and thanks to JEE6 EJB's have no need to
ejb-jar.xml or even an full featured EAR, they just live inside web project.
Of course, it will not run on ordinary and simpler tomcat, but it theory
anything JEE6-compliant will run this .war
--
[Message sent by forum member 'sombriks']
View Post: http://forums.java.net/node/852537