• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xml configure restful ws

 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe Apache cxf allows you do define services in xml only.

WP
 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does that mean the xml configuration of restful ws is NOT included in jsr specification?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but to the ejb specification, the jsr group defined a standard xml configuratin format :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic