I am tiring to setup a small project with an embedded web service/server and am having some difficulty figuring out how to do this. I have done this with XFire in the past and now want to move to CXF. Here is what I am doing:
- Expose web-service using either Aegis/JAXB data binding. (For this part, I think I have my web service annotations correct and for Aegis, I understand, there is none.) - Attach/connect CXF web service to standalone Jetty HTTP server. In the CXF docs it seems there is a ton of XML configuration referenced. I really don't want any XML. Using XFire we were able to use embedded Jetty with a few lines of code and no XML. - Start/stop Jetty/web service as system daemon, for this as long as CXF provides something like XFire's XFireHttpServer this is straightforward. What is the equivalent in CXF? Can someone explain or point me to an example of how I can do this? Thanks!