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
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. |