13.5. Building, Deploying, and Running the Application

Listing 13.3 shows the buildfile for the JAXM version of the application. This single buildfile creates the examples shown in this chapter, but also several targets that aren't used until Chapter 14. So for now you can ignore the <client> target (and its associated <clean> and <test> targets.)

To use this buildfile on your own system, you'll need to adjust the properties near the top of the file to point to locations where you have installed the servlet.jar file and the Java XML Pack (which contains JAXM). If you look at the example buildfiles included with the JAXM, they refer to quite a few jar files; we've duplicated the list in our own build.xml file. You'll need to make sure all these ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.