If you would use the default rest cxf impkementation you have to write a class ApplicationConfig . Inside that class you declare your rest resources.
For a example go at https://github.com/apache/tomee/tree/042d4d9fc647c32ee31c4c7455a4769817564340/examples/rest-example-with-application/src/main/java/org/superbiz/rest/application <https://github.com/apache/tomee/tree/042d4d9fc647c32ee31c4c7455a4769817564340/examples/rest-example-with-application/src/main/java/org/superbiz/rest/application> Into web.xml yiu dont have to declare any servlet. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/TomEE-Plus-default-REST-servlet-tp4679724p4679726.html Sent from the TomEE Users mailing list archive at Nabble.com.
