spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / programming / java / webservices / chap3 / 3 To page 1current pageTo page 3
[previous] [next]

Professional Java Web Services

Subject Matter Expert - Managed Services (TX)
Next Step Systems
US-TX-Dallas

Justtechjobs.com Post A Job | Post A Resume
Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans


Assumptions

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.

Configuring the Service and Client

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 Service

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 Web-Based Client

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 Resumé Class

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 To page 1current pageTo page 3
[previous] [next]


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger

Created: May 30, 2002
Revised: May 30, 2002

URL: http://webreference.com/programming/java/webservices/chap3/3/2.html