I have developed a Jersey Resource class.
Can someone please tell me how can I deploy it on a Web App server. Preferably Tomcat or JBoss.
Or a better question still, can Jersey applications with only a resource class be deployed on a Web App server? If yes, How?
by using web.xml:
or in Java (without a servlet container):
or subclassing Application: