java - centralize ApacheCXF REST Configuration -


as know apachecxf restful webservice need descriptor web.xml , *-beans.xml. in application there lot of webservices , want avoid configure these 2 files every time. somehow possible 2 reduce ? i'm thinking one class cxfservlet every service class extend , pass path , on. somehow want louse couple components. @ least there should common package every component access. saw the class jaxrsserverfactorybean i'm not sure if enough because there still have server.java class every web service. how implement webservice in each of components? lot opinion


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -