from mobile (sorry for typos ;)
On Thu, Feb 10, 2022, 23:53 Lewis John McGibbney <[email protected]> wrote: > Hi Maxim, > Thanks for your response. See inline below > > On 2022/02/10 03:11:59 Maxim Solodovnik wrote: > > Hello Lewis, > > > > cxf users@ list is very silent :) > > Yes I see that! > > > > > what issues are you observing? > > The real issue I am having is configuration without using Spring. I want > to keep this as simple as possible. Just use JAX-RS + CXF. That's it! I was > unable to find much documentation which indicated how that could be done. > > The Nutch REST is currently run from the command line as a standalone > service. I want to remove all that functionality by migrating it to a WAR > which can be deployed into an environment like Tomcat, TomEE, Jetty, etc. > so it is more stable, configurable and scalable. > You might find these examples useful: https://cxf.apache.org/docs/sample-projects.html This one is java-fitst no-spring: https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/java_first_jaxws > > > > While migrating our project I find out it is impossible to have > "xml-free" > > CXF :) (it was long time ago) > > So we still have "cxf-servlet.xml" in our source tree: [1] > > and it is referenced in web.xml [2] > > everything seems to work as expected > > > > [1] > > > https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/WEB-INF/classes/cxf-servlet.xml > > [2] > > > https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/WEB-INF/web.xml > > Thank you for these resources I will study them and try and implementation > over the weekend. I'll write back here with my finding. > lewismc >
