wood burning stoves*
The moose likes Web Services and the fly likes xml configure restful ws Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "xml configure restful ws" Watch "xml configure restful ws" New topic
Author

xml configure restful ws

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
i am brand-new restful ws user, i find all tutorials are about anotation configuration of restful ws, i wonder if the specification define a xml configuration file? because in the product evironment , the xml configuration is prefered. thanks.
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

I believe Apache cxf allows you do define services in xml only.

WP
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
does that mean the xml configuration of restful ws is NOT included in jsr specification?
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

Each provider will have their own "specs" regarding XML. services.xml, cxf.xml etc.

JSRs only control (mostly) the API including annotations. Check the J2EE5/6 documentation.

WP
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
but to the ejb specification, the jsr group defined a standard xml configuratin format :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml configure restful ws
 
Similar Threads
Rest Web service
RESTful Architecture vs. servlet Framework
Using Jersey Bundle to call a SOAP based WS
RestFul
Build a RESTful web service