I am wondering that web services API has been integrated into Java SE since Java SE 6 right?
If so, does that mean I am able to consume/expose web services without additional JARs as long as JRE/JDK installed on my computer?
Yes, but you should not rely on the built-in version of JAX-WS. For starters, it's generally not the latest version, it doesn't have a lot of the stuff that the Metro library offers (like support for WS-Security and other WS-* standards), and it includes only a bare-bones HTTP server that is not appropriate for serving production-grade WS.
Tim Moores wrote:Yes, but you should not rely on the built-in version of JAX-WS. For starters, it's generally not the latest version, it doesn't have a lot of the stuff that the Metro library offers (like support for WS-Security and other WS-* standards), and it includes only a bare-bones HTTP server that is not appropriate for serving production-grade WS.
Thanks for your reply. So should I rely on the API comes with Java EE? I'm new to Metro.
If you're using JEE, then that comes with a JAX-WS implementation. Otherwise, Metro is the standalone version that can be used where the full JEE stack is not available, e.g. in a servlet container like Tomcat.
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
a bit of art, as a gift, that will fit in a stocking