ex) unzip c:\examples.zip
Examples
directory will be created.
+ examples
+ bin Batch
files to run the programs
+ docs Documents
for each chapter
+ ear EAR file for EJB
and JMS examples of chapter 5
+ src Source
code for the examples
+
webapps
+ bws WAR for the
examples
+
WEB-INF
+
web.xml
+ lib
The library files(JAR) required for the examples. You may want to
add additional jar files into this directory for some
examples.
+
<others>
The Web contents (HTML, XML, and JSP)
for the examples.
ex) unzip c:\jakarta-tomcat-3.2.4.zip
jakarta-tomcat-3.2.4 directory will be created.
<Context
path="/bws"
docBase="webapps/bws"
crossContext="false"
debug="0"
reloadable="true"
>
</Context>
<Connector
className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter
name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter
name="port" value="8443"/>
<Parameter
name="socketFactory"
value="org.apache.tomcat.net.SSLSocketFactory"
/>
<Parameter
name="keystore"
value="webapps\bws\SkatesTown.ks"/>
<Parameter
name="keypass" value="wsbookexample"/>
<Parameter
name="clientAuth" value="false"/>
</Connector>
<user
name="SkateboardWarehouse"
password="wsbookexample"
roles="MyCustomer"/>
Then, add the JSSE jar files (i.e, jsse.jar, jnet.jar, and jcert.jar) into examples\webapps\bws\WEB-INF\lib\ directory.
ex)set JAVA_HOME=c:\jdk1.3
set TOMCAT_HOME=c:\jakarta-tomcat-3.2.4
ex)cd c:\examples
ex).\bin\run-tomcat.bat
Please open the URL http://localhost:8080/bws/ and follow the instructions.