See: Description
| Class | Description |
|---|---|
| FileSystemResourceLoader |
ResourceLoader that deals with the expanded image of a war file
on a file system. |
| InVmServer |
In-VM transport.
|
| InVmTransportFactory |
TransportTubeFactory that recognizes
"in-vm://inVmServerId[?portLocalName]". |
| LocalTransportFactory |
TransportPipeFactory for the local transport. |
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
"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.
The "in-vm" transport is the modern version
of the local transport that fixes this problem. You first deploy a new
application by using InVmServer,
obtain its address, configure the JAX-WS RI
with that endpoint, then use that to talk to the running service.
Copyright © 2015 Oracle Corporation. All rights reserved.