Hello Lewis,

cxf users@ list is very silent :)

what issues are you observing?

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

On Tue, 8 Feb 2022 at 10:08, lewis john mcgibbney <[email protected]>
wrote:

> Hi users@,
>
> I'm embarking on a task to refactor the Apache Nutch Server [0] such that
> it is packaged as a WAR for distribution and deployment in Tomcat, Jetty,
> etc. This will bring lots of stability features as well as other benefits
> over the standalone service as it currently exists.
>
> I've been reading about CXF and JAX-RS and decided to come to the mailing
> list because it is not clear to me what configuration (WEB-INF/web.xml?)
> needs to replace/complement the exiwting programmatic configuration.
>
> The JAXRSServerFactoryBean is currently configured as follows [1]. The
> service includes several CXF resources [2] with the usual annotations.
>
> At this stage I've hit somewhat of a dead end and would appreciate some
> guidance to put me back on track.
>
> Thanks in advance for any assistance.
> lewismc
>
> [0]
>
> https://github.com/apache/nutch/blob/master/src/java/org/apache/nutch/service/NutchServer.java
> [1]
>
> https://github.com/apache/nutch/blob/master/src/java/org/apache/nutch/service/NutchServer.java#L91-L108
> [2]
>
> https://github.com/apache/nutch/tree/master/src/java/org/apache/nutch/service/resources
>
> --
> http://home.apache.org/~lewismc/
> http://people.apache.org/keys/committer/lewismc
>


-- 
Best regards,
Maxim

Reply via email to