author | thurka |
Mon, 16 Nov 2009 15:33:05 +0100 | |
changeset 4240 | ca8d98aeb09e |
parent 3530 | 18fb7507984b |
permissions | -rw-r--r-- |
8 | 1 |
/* |
2678
57cf2a1c1a05
6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
tbell
parents:
8
diff
changeset
|
2 |
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. |
8 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. Sun designates this |
|
8 |
* particular file as subject to the "Classpath" exception as provided |
|
9 |
* by Sun in the LICENSE file that accompanied this code. |
|
10 |
* |
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
* accompanied this code). |
|
16 |
* |
|
17 |
* You should have received a copy of the GNU General Public License version |
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
* |
|
21 |
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 |
* CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 |
* have any questions. |
|
24 |
*/ |
|
25 |
||
26 |
/** |
|
3530 | 27 |
* <h1>JAX-WS 2.1 Tools</h1> |
2678
57cf2a1c1a05
6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
tbell
parents:
8
diff
changeset
|
28 |
* This document describes the tools included with JAX-WS 2.0.1. |
8 | 29 |
* |
30 |
* {@DotDiagram |
|
31 |
digraph G { |
|
32 |
// external tools |
|
33 |
APT; |
|
34 |
||
35 |
// ANT tasks |
|
36 |
node [style=filled,color=lightyellow]; |
|
37 |
"WsGen ANT Task"; "WsImport ANT Task"; "Apt ANT Task"; |
|
38 |
||
39 |
// commandline |
|
40 |
node [style=filled,color=lightpink]; |
|
41 |
wsgen; wsimport; |
|
42 |
||
43 |
// libraries |
|
44 |
node [style=filled,color=lightblue]; |
|
3530 | 45 |
WsimportTool; WsgenTool;"WSAP"; WebServiceAP; WSDLModeler;WSDLParser;SeiGenerator;ServiceGenerator;ExceptionGenerator;"JAXB XJC APIs";CodeModel; |
8 | 46 |
|
47 |
// aps |
|
48 |
# node [style=filled,color=lightpink]; |
|
49 |
# "JAX-WS"; tools; runtime; SPI; "Annotation Processor"; |
|
50 |
||
51 |
"Apt ANT Task" -> APT; |
|
3530 | 52 |
"WsGen ANT Task" -> wsgen -> WsgenTool; |
53 |
"WsImport ANT Task" -> wsimport -> WsimportTool; |
|
8 | 54 |
|
3530 | 55 |
WsgenTool -> APT -> WSAP -> WebServiceAP; |
56 |
WsimportTool -> WSDLModeler; |
|
57 |
WSDLModeler->WSDLParser; |
|
58 |
WSDLModeler->"JAXB XJC APIs" |
|
59 |
WsimportTool->SeiGenerator->CodeModel; |
|
60 |
WsimportTool->ServiceGenerator->CodeModel; |
|
61 |
WsimportTool->ExceptionGenerator->CodeModel; |
|
62 |
WebServiceAP->CodeModel |
|
8 | 63 |
} |
64 |
* } |
|
65 |
* <div align=right> |
|
66 |
* <b>Legend:</b> blue: implementation classes, pink: command-line toosl, white: external tool, yellow: ANT tasks |
|
67 |
* </div> |
|
68 |
* |
|
69 |
* <h2>ANT Tasks</h2> |
|
70 |
<d1> |
|
71 |
* <dt>{@link com.sun.tools.internal.ws.ant.Apt Apt} |
|
72 |
* <dd>An ANT task to invoke <a href="http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/apt.html">APT</a>. |
|
73 |
||
2678
57cf2a1c1a05
6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
tbell
parents:
8
diff
changeset
|
74 |
* <dt>{@link com.sun.tools.internal.ws.ant.WsGen2 WsGen} |
8 | 75 |
* <dd> |
76 |
* An ANT task to invoke {@link com.sun.tools.internal.ws.WsGen WsGen} |
|
77 |
||
2678
57cf2a1c1a05
6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
tbell
parents:
8
diff
changeset
|
78 |
* <dt>{@link com.sun.tools.internal.ws.ant.WsImport2 WsImport} |
8 | 79 |
* <dd> |
80 |
* An ANT task to invoke {@link com.sun.tools.internal.ws.WsImport WsImport} |
|
81 |
* |
|
82 |
* </d1> |
|
83 |
* <h2>Command-line Tools</h2> |
|
84 |
<d1> |
|
85 |
* <dt><a href="http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/apt.html">APT</a> |
|
86 |
<dd>A Java SE tool and framework for processing annotations. APT will invoke a JAX-WS AnnotationProcossor for |
|
87 |
* processing Java source files with javax.jws.* annotations and making them web services. |
|
88 |
* APT will compile the Java source files and generate any additional classes needed to make an javax.jws.WebService |
|
89 |
* annotated class a Web service. |
|
90 |
* |
|
91 |
* <dt>{@link com.sun.tools.internal.ws.WsGen WsGen} |
|
92 |
* <dd>Tool to process a compiled javax.jws.WebService annotated class and to generate the necessary classes to make |
|
93 |
* it a Web service. |
|
94 |
||
2678
57cf2a1c1a05
6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
tbell
parents:
8
diff
changeset
|
95 |
* <dt>{@link com.sun.tools.internal.ws.ant.WsImport2 WsImport} |
8 | 96 |
* <dd> |
97 |
* Tool to import a WSDL and to generate an SEI (a javax.jws.WebService) interface that can be either implemented |
|
98 |
* on the server to build a web service, or can be used on the client to invoke the web service. |
|
99 |
* </d1> |
|
100 |
* <h2>Implementation Classes</h2> |
|
101 |
* <d1> |
|
102 |
* <dt>{@link com.sun.tools.internal.ws.processor.model.Model Model} |
|
103 |
* <dd>The model is used to represent the entire Web Service. The JAX-WS ProcessorActions can process |
|
104 |
* this Model to generate Java artifacts such as the service interface. |
|
105 |
* |
|
106 |
* |
|
107 |
* <dt>{@link com.sun.tools.internal.ws.processor.modeler.Modeler Modeler} |
|
108 |
* <dd>A Modeler is used to create a Model of a Web Service from a particular Web |
|
109 |
* Web Service description such as a WSDL |
|
110 |
* file. |
|
111 |
* |
|
112 |
* <dt>{@link com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler WSDLModeler} |
|
113 |
* <dd>The WSDLModeler processes a WSDL to create a Model. |
|
114 |
* |
|
115 |
* <dt>{@link com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAP WebServiceAP} |
|
116 |
* <dd>WebServiceAP is a APT AnnotationProcessor for processing javax.jws.* and |
|
117 |
* javax.xml.ws.* annotations. This class is used either by the WsGen (CompileTool) tool or |
|
118 |
* idirectly via the {@link com.sun.istack.internal.ws.WSAP WSAP} when invoked by APT. |
|
119 |
* |
|
2678
57cf2a1c1a05
6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
tbell
parents:
8
diff
changeset
|
120 |
* <dt>{@link com.sun.istack.internal.ws.AnnotationProcessorFactoryImpl WSAP} |
8 | 121 |
* <dd>This is the entry point for the WebServiceAP when APT is invoked on a SEI |
122 |
* annotated with the javax.jws.WebService annotation. |
|
123 |
* </d1> |
|
124 |
* |
|
125 |
* @ArchitectureDocument |
|
126 |
**/ |
|
127 |
package com.sun.tools.internal.ws; |