Am trying to deploy a war file without a web.xml (with an Application
subclass annotated with @ApplicationPath). While this war files works in
Glassfish server, the same is not working in Tomcat 7.
I understand Jersey through web fragments creates a default
JerseyContainerServlet. I have browsed through the entire source code of
Jersey to locate web-fragment.xml, but could not find it. Could this be the
reason why it wont work in Tomcat (but somehow does in Glassfish)? Am I
missing any jar file in the war ?
Any help will be appreciated.