Dear Antoine, Sergey, Glen, and Ron, thanks to all of you for responding to my mail. In the meantime I managed to create the server-side of my RESTful interface with CXF on my own, using Maven and Spring, and of course googling many times. I learned quite a lot, especially about Maven, the maven-archetype-webapp, and the tomcat:deploy and redeploy mechanisms. I still have to understand, what Spring is doing for me at the moment, but this will come. Afterwards, I think, that the most annoying obstacle was the missing java source folder in the webapp archetype. So I'm wondering, if it would be a good idea to provide a maven archetype for creating a RESTful interface with Apache CXF. What do you think? If it is of general interest (and if the weather during the weekend is bad), I could provide a detailed howto, showing what I did. Now I'll have a look at the client-side and the common part for client and server.
Best regards and thanks again, Klaus -----Original Message----- From: Sperner, Klaus [mailto:[email protected]] Sent: Sonntag, 7. August 2011 19:25 To: [email protected] Subject: Tutorial for creation of RESTful interface with CXF? Dear CXF Users, I'm trying to develop a RESTful interface (JAX-RS) using Apache CXF, and I'd like to deploy it into a Tomcat Server from the Eclipse IDE. I found this tutorial (http://pettergraff.blogspot.com/2010/11/developing-web-service-in-eclipse.html), which describes the needed steps for a normal Web service (JAX-WS) very detailed, but I didn't find any tutorials for the creation of RESTful interfaces. Is there such a tutorial around, or could you provide me with a short sequence of the necessary steps to accomplish the deployment of the server and client side components. As I don't know much about Maven and nothing about Spring, I'd like to omit these technologies in the first step, but if I need them, or if they make it much easier, I'll have a closer look at them. Any help would be appreciated. Thanks in advance and best regards, Klaus Klaus Sperner Research Associate SAP (Switzerland) Inc., Kreuzplatz 20, 8008 Zurich, Switzerland T +41 58 871 78 31, M +41 76 409 40 63, F +41 58 871 78 12 mailto:[email protected] Please consider the impact on the environment before printing this e-mail.
