1 Reply Latest reply on Aug 5, 2011 9:57 AM by Bruno Santos

    Can I use WebServlet 3.0 in a JBoss OSGi bundle?

    Bruno Santos Newbie



      In most of the examples that I have seen so far, JBoss OSGi WABs do not seem to be able to be deloyed if annotated with @WebServlet. In fact, when deployed as a bundle it requires the web.xml to be present and even when the web.xml is present and the servlet is annotated, the wab is never properly deployed (can't reach it through the URL).


      Also, can I use CDI, JAX-RS and EJB3 annotations within a JBoss OSGi WAB?