tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mauro2java2011 <mauro2java2...@gmail.com>
Subject Re: TomEE Plus default REST servlet
Date Sun, 14 Aug 2016 09:11:21 GMT
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.

Mime
View raw message