Last Modified: 11/3/05
apt
The apt
tool provides a facility for programmatically
processing the annotations added to Java by JSR 175, Metadata
Facility for the JavaTMProgramming
Language. In brief, JSR 175 allows programmers to declare new kinds
of structured modifiers that can be associated with program elements,
fields, methods, classes, etc.
The apt
tool generates the portable artifacts used in
JAX-WS services.
For more information on this tool please see: apt
tool.
The wsimport
tool generates JAX-WS portable
artifacts used in JAX-WS clients and
services. The tool reads a WSDL and
generates all the required artifacts for web service development,
deployment, and invocation.
For more information on this tool please see: wsimport
tool.
The wsgen
tool reads a service
endpoint implementation class and generates all of the portable
artifacts for a JAX-WS web service..
For more information on this tool please see: wsgen
tool.
The following lists the process to create a web service starting from Java sources, classes, and a WSDL file (server side):
apt
to generate the artifacts: a WSDL file,
schema documents, and other Java artifacts.web.xml
, sun-jaxws.xml
,
service endpoint interface and
implementation class, value types, and generated classes, if any, into
a WAR file,wsgen
to generate portable artifacts.web.xml
, sun-jaxws.xml
,
service endpoint interface and
implementation class, value types, and generated classes, if any, into
a WAR file,wsimport
to generate portable artifacts.web.xml
,
sun-jaxws.xml
, service endpoint interface and
implementation class, value types, and generated classes,
if any, into a WAR file.The following lists the process to invoke a web service (client side):
wsimport
to generate the client-side
artifacts.Copyright © 2005 Sun Microsystems, Inc. All rights reserved.