As of my understanding java EE application servers have mainly two types of containers. Namely web container and EJB container.
I managed to run a JAX-RS application which used Jersey as its implementation, in Tomcat. As I know Tomcat is only a web container. In order to run the web service in tomcat, the jersey jars had to be bundled into the war file because out of the box, Tomcat did not have the jersey jars. This raised me a question.
Does tomcat uses another implementation of JAX-RS other than Jersey? If Yes what is it?
if No,
I could not run the Jax-RS application without the jars bundled into the war file, this means JAX-RS apps need something more than what the web containers offer. It means they do not run in a web container. then in which container does it run?