com.sun.xml.ws.transport.local.package-info Maven / Gradle / Ivy
/**
* Transport implementations that work inside the single JVM.
* Useful for testing.
*
*
* Transports implemented in this package work off the exploded war file
* image in the file system — it should have the same file layout
* that you deploy into, say, Tomcat. They then look for WEB-INF/sun-jaxws.xml
* to determine what services are in the application, and then deploy
* them in a servlet-like environment.
*
*
* This package comes with two transports. One is the legacy
* {@link LocalTransportFactory "local" transport}, which effectively
* deploys a new service instance every time you create a new proxy/dispatch.
* This is not only waste of computation, but it prevents services of the same
* application from talking with each other.
*
*
* {@link InVmTransportFactory The "in-vm" transport} is the modern version
* of the local transport that fixes this problem. You first deploy a new
* application by using {@link InVmServer},
* {@link InVmServer#getAddress() obtain its address}, configure the JAX-WS RI
* with that endpoint, then use that to talk to the running service.
*/
package com.sun.xml.ws.transport.local;