JAX-WS RI progresses at a pace. Has a the "simplified" bottom-up deployment model that you have been able to enjoy in OC4J for a while.
They also have a nice example of using the sun-jaxws.xml file to speficy dual bindings for the same class file:
<endpoints xmlns='http://java.sun.com/xml/ns/jax-ws/ri/runtime' version='2.0'>
<endpoint
name='soap'
implementation='dual_binding.server.AddNumbersImpl'
port='{http://server.dual_binding/}soap'
url-pattern='/soap'/>
<endpoint
name='rest'
implementation='dual_binding.server.AddNumbersImpl'
port='{http://server.dual_binding/}rest'
binding="http://jax-ws.dev.java.net/rest"
url-pattern='/rest'/>
</endpoints>
It is nice to have the standard evolve so quickly.

No comments:
Post a Comment