Hi,
On 02/25/2012 12:48 PM, Owen Hall wrote:
>
> How are you supposed to use JAX-WS RI with Java 6 SE or later since the
> JRE comes bundled with a version of JAX-WS? The unbundled version uses
> the same package names except some of the runtime classes use packages
> named com.sun.xml.internal.ws.*. How would instantiate an Endpoint in
> the unbundled version if its package name collides with the bundled
> Endpoint class? You'd always get the bundled Endpoint, not the unbundled
> one. Are you expected to modify the JRE bootclasspath?
No, you should use Java Endorsed Standards Override Mechanism, see
http://docs.oracle.com/javase/6/docs/technotes/guides/standards/ for
details.
HTH.
Regards,
--lj