| home / programming / java / webservices / chap3 / 3 | [previous] [next] |
|
|
In order to concentrate on aspects of Apache SOAP there is minimal error checking. Likewise, security mechanisms that would normally be needed for such a service will not be considered. Furthermore, resumés are stored in memory instead of a relational or object-oriented database.
In this section we will discuss how to configure the environment so that we can run the Job Resumé Repository Service. This discussion is based on the assumption that the steps in the Installing Apache SOAP section were followed.
The class that implements the Job Resumé Repository Service is located in
jobresumerepositoryservice.jar. The contents of the JAR is below:
META-INF/MANIFEST.MF
com/wrox/jobresume/service/JobResumeRepositoryService.class
In order to make the service available to the Apache SOAP runtime we need to copy the
jobresumerepositoryservice.jar to %TOMCAT_HOME%\\WEB-INF\lib\.
The files for the web-based client are located in jobresumerepositoryclient.war.
The contents of the WAR file is below:
META-INF/MANIFEST.MF
WEB-INF/web.xml
WEB-INF/classes/com/wrox/jobresume/client/submit/SubmitServlet.class
/retrieve/RetrieveServlet.class
index.html
wroxlogo.gif
retrieve.html
submit.html
In order to execute the client we have to copy the jobresumerepositoryclient.war to
%TOMCAT_HOME%\webapps\.
The Resume class is used by both the service and the client, so it is packaged in
its own JAR called jobresumerepositorycommon.jar. The contents of the JAR file is below:
META-INF/MANIFEST.MF
com/wrox/jobresume/common/Resume.class
In order for the service and client to use the Resume.class we have to copy the
jobresumerepositorycommon.jar to %TOMCAT_HOME%\\lib.
| home / programming / java / webservices / chap3 / 3 | [previous] [next] |
Created: May 30, 2002
Revised: May 30, 2002
URL: http://webreference.com/programming/java/webservices/chap3/3/2.html