On Thu August 13 2009 8:38:05 am Live Nono wrote: > hi > > I'm currently looking at CXF for the needs I have here and I'm having > difficulties to figure out whether it fits. Hopefully some on the ML > could help me (thanks in advance!). > > My "ideal" world needs are : > - defining the service in Java through annotations
Definitely. JAX-WS definitely defines a lot around how to do this. With the upcoming CXF 2.3 version, we're going to be taking this even further by adding custom annotations for a lot of things that are either not possible with straight JAX-WS/config things (like adding documentation to the generated wsdl), or require more complex configuration (to turn on things like fastinfoset support, schema validation, etc...). > - publishing it both through some Web Service and REST This is definitely one of the strong points for CXF compared to some of the others. CXF implements both JAX-WS and JAX-RS and provides good support to allow implementations to support both SOAP style interactions and REST style. > - feeding the service with my own Guice managed objects I honestly don't know enough about Guice to answer this. In general, we use Spring. > - making it available through my own web application (namely a wicket one) The CXF services would just be an additional service in you web.xml, thus, they should work find together. > - having some documentation (not only the WSDL but as well some docs > based on the written Javadoc) automatically generated in a way that > makes it easy to provide to my service's users As mentioned above, with 2.3, there will be a new set of annotations to expand the wsdl:documentation tags in the generated WSDL. > - integration with maven and m2eclipse (ability to launch my web > service as a Java embedded app from eclipse would be a bonus) Yep. We like maven. :-) If you use a maven "war" packaging, it should wire into wtp fairly automatically which would allow it to launch in eclipse. That said, it's also very easy to create a quick "main" method to start any service (or in your setUp method for a unit test or similar). Dan > Is it possible ? Could you give links/helps/tips ? > > Up to now, I found that it was possible to create a web application > delivering Web Service or REST (but both I've no clue) and the others > questions remain unresolved. > > Thanks in advance > nono -- Daniel Kulp [email protected] http://www.dankulp.com/blog
