C.10 Directory Structure

When developing and deploying Web Services clients and server modules using JWSDP, you may wish to adopt the following project directory to reuse the ANT build.xml templates as in Figure C-8:

Figure C-8. Recommended Directory Structure for Web Services Programs Using JWSDP

graphics/ap03fig01.gif

When ANT executes the build.xml script, it will compile and generate Java classes and necessary files under the "build" subdirectory (if " ANT build " is invoked) or deploy all necessary Java classes and files in a single war file (if " ANT deploy " is invoked). The "build" subdirectory stores all compiled Java classes, and the "dist" stores the war file for deployment in the application server.



J2EE Platform Web Services
J2EE Platform Web Services
ISBN: 0131014021
EAN: 2147483647
Year: 2002
Pages: 127
Authors: Ray Lai

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net