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