41 lines
1.7 KiB
HTML
41 lines
1.7 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
||
|
|
||
|
<title>Develop a J2EE Web service based on an existing application</title>
|
||
|
</head>
|
||
|
|
||
|
<BODY>
|
||
|
<!-- Java sync-link -->
|
||
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
||
|
|
||
|
<h3><a name="wsdevj2app"></a>Develop a J2EE Web service based on an existing application</h3>
|
||
|
<ol>
|
||
|
<li>Access an existing Java bean Web archive (WAR) file that you want to use as a Web service. A Java bean in a Web container requires the following:
|
||
|
<ul>
|
||
|
<li>It must have a public default constructor.</li>
|
||
|
<li>It must have exposed public methods.</li>
|
||
|
<li>It must not save a client-specific state between method calls.</li>
|
||
|
<li>It must be a public, non-final, and non-abstract class.</li>
|
||
|
<li>It must not define a finalize() method.</li>
|
||
|
</ul></li>
|
||
|
|
||
|
<li><p><a href="wsdevsei.htm">Develop a service endpoint interface</a>.<br>
|
||
|
The service endpoint interface defines which methods should be made available as a Web service.</p></li>
|
||
|
|
||
|
<li><p><a href="wsdevwsdl.htm">Develop a Web Services Description Language (WSDL) file</a>.
|
||
|
<br>A WSDL file contains information that describes your Web service so it can be accessed.</p></li>
|
||
|
|
||
|
<li><p><a href="wsdevddtemp.htm">Develop Web service deployment descriptor templates from the WSDL file</a>.</p></li>
|
||
|
|
||
|
<li><p><a href="wsdevddweb.htm">Configure the webservices.xml deployment descriptor</a>.</p></li>
|
||
|
|
||
|
<li><p><a href="wsdevddibm.htm">Configure the ibm-webservices-bnd.xmi deployment descriptor</a>.</p></li>
|
||
|
</ol>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|