Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Confused about jaxws/metro versions  RSS feed

 
Bram Vancamp
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

I'm a bit confused by the myriad of web service related libraries and versions. A (maven) project I inherited has a dependency on com.sun.xml.ws/webservices-rt 1.5. I thought this was essentially a dependency on the Metro reference implementation, but when I look at the (extremely lacking) Metro documentation, it keeps mentioning jaxws-rt. What's the difference between the two? And given the fact that "bigger is better", shouldn't I be using the latest Metro version rather than the old 1.5 version?

Can anyone help clear up this confusion?

Thanks!
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm fairly certain that is indeed an old version of Metro (or possibly the JAX-WS reference implementation, which forms the core of Metro) - those do use the com.sun.xml.ws package.

If this is a new project you might as well start out with Metro 2, but the changes from Metro 1.5 aren't as big as the change in version number would suggest. Mostly it uses a new version of the JAX-WS API (2.2), and is aligned with the JEE 6 standard. For many practical purposes either version would probably serve you well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!