Dear all,

I have a small problem whose solution I could not figure out by myself until
now.

The problem is that i have a web app with jersey in its dependency tree. I
need jersey in third party libs but i want to use the default implementation
of TomEE for my REST services. Once the jersey libs are in my dependency
tree, the class loader hits it first instead of the TomEE implementation for
REST.

Thats not realy a big problem since I know that I'm able to define which
servlet should be used for my services in the web.xml. And now my question:
Which servlet should I use to get the full support of the container
including CDI and so on?

I tryed CXFServlet and CXFNonSpringServlet (from org.apache). Both seems not
to work if I want to use CDI.

Could anyone give me a hint?

P.S.: I'm everytime happy if someone help me to get better in english. So
don't hesitate to correct me ;)



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/TomEE-Plus-default-REST-servlet-tp4679724.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to