Run Jersey in my existing server

143 Views Asked by At

I have a server which access DB and uses Apache MINA for managing connections.

I would like to expand this server and allow it to handle REST requests and I would like that every REST resource will have access to my server's context.

I have started implementing a Dynamic Web Application using Jersey 1.18 using Tomcat as container.

But I cannot figure out how to combine my server with the web service...

Is there a way to initialize the Jersey stack inside my custom service and avoid the Tomcat ??

I hope my question makes sense...

Thank you,

Oren

0

There are 0 best solutions below