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

Vice President of Risk Technology - READY TO HIRE! (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs


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]

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

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

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