Jax-ws 2.2 or Metro as Tomcat runtime environment
I need an implementation of JAX-WS, that is RUNTIME ENVIRONMENT to use a client
for Tomcat6.
Which is better in your opinion?
JAX-WS 2.2 https://jax-ws.dev.java.net/2.2/
Metro 2.0 https://metro.dev.java.net/2.0/
They have different installation procedures and different jars.
For now I only need to be able to run a client from un开发者_运维知识库der Tomcat6 web apps.
But later I'm planning to use ApacheCXF soap web-service, that will run on this Tomcat.
As I understand, CXF is a unique implementation that does not any of mentioned runtime environments, so I guess whatever between metro & jax-ws2.2 I choose does not matter, right?
Still, which one do you recommend?
The Metro 2.0 release consists of following components:
- WSIT 2.0 - Browse the WSIT release notes online.
- JAX-WS RI 2.2 - Browse the JAX-WS RI release notes online.
- JAXB RI 2.2 - Browse the JAXB RI release notes online.
In other words, the JAX-WS implementation you get in Metro 2.0 is JAX-WS RI 2.2. But if that's the only part you need, why installing Metro? Just use JAX-WS RI.
Are there any specific features of Jax-WS 2.2 that you require that aren't available in Jax-ws 2.0? The main advantage being that if you use 2.0, that's "included" right the the runtime of Java 1.6, no additions required. I'm using it very successfully for supplying Java SOAP services to Sharepoint Web parts that its almost disappointing...I remember struggling with web services "back in the day", now its, "add a couple of annotations to a pojo...done."
精彩评论