This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSR-118 vs. JSR-224  RSS feed

 
Gytis Jakutonis
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I can not figure out, why are there two quite overlapping specifications. While WS Metadata spec (JSR-118) defines WSDL-Java mapping (annotations basically), JAX-WS (JSR-224) also defines set of annotations for WSDL-JAva mapping. So why do they (JCP) created two spec instead of extending one of them?
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I presume you meant JSR-181 not JSR-118.
My guess would be that BEA wanted something NOW to put into Weblogic to compete with the equivalent feature in .NET. (see, developing Web services in WebLogic is just "as easy"). Also the annotations specified in JAX-WS 2.0 (JSR-224) seem to provide you with more control. However JSR-224 does explicitly support/include JSR-181 (JSR-224: 7.10 Annotations Defined by JSR-181).

What gets me is how some of these annotations end up obfuscating the code (see JSR 181 Annotations) - nothing like a @WebParam annotation inside of your parameter list to break your flow.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!