2016-08-14 11:11 GMT+02:00 mauro2java2011 <[email protected]>:
> If you would use the default rest cxf impkementation you have to write a > class ApplicationConfig . > Inside that class you declare your rest resources. > > Side note there: it doesn't give you a full EE support even if relying on CDI it is often enough. > For a example go at > https://github.com/apache/tomee/tree/042d4d9fc647c32ee31c4c7455a476 > 9817564340/examples/rest-example-with-application/src/ > main/java/org/superbiz/rest/application > <https://github.com/apache/tomee/tree/042d4d9fc647c32ee31c4c7455a476 > 9817564340/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. >
