ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/webserv/wsdevimplcomp.htm

37 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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>Complete the Java bean or enterprise bean implementation</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3><a name="wsdevimplcomp"></a>Complete the Java bean or enterprise bean implementation</h3>
<p>To complete the implementation of a Java bean, follow these steps:</p>
<ol>
<li><p>Inspect the remote interface template, <em>portType</em>_RI.java, where <em>portType</em> is the name of the &lt;wsdl:portType&gt; element in the WSDL file. If necessary, modify the template. </p></li>
<li><p>Inspect the home interface template, portTypeHome.java. If necessary, modify the template.</p></li>
<li><p>Edit the implementation template, <em>binding</em>Impl.java, where <em>binding</em> is the name of the &lt;wsdl:binding&gt; element in the WSDL file.</p>
<ol type="a">
<li>Complete the implementation of the methods in the template.</li>
<li>(Optional) Make changes if necessary.</li>
<li>(Optional) Change the class name if the binding name is not acceptable.</li>
</ol><p></p></li>
<li><p>Compile the Java classes.</p></li>
<li><p>Assemble a Web archive (WAR) file. See <a href="../program/pgmassem.htm">Assemble your application</a> for instructions on assembling applications. Include all of the classes that the WSDL2Java command generates.</p></li>
</ol>
</body>
</html>