Chapter 12. Developing for the Web

12.1 Developing a web application
12.2 Building the WAR file
12.3 Deployment
12.4 Post-deployment activities
12.5 Testing web applications with HttpUnit
12.6 Summary

We now have a library to create entries in a diary, a build process that can handle multiple projects, and a way of sharing artifacts between them. What next? How about building a web site that uses the diary library and can publish events as an Atom feed?

It’s time to build a Java Web Application, the public face of most server-side Java. This chapter looks at what you have to do to build and test one. Web applications are more complex to package than the simple JAR files we’ve done so far, and before they can be tested, they must be deployed. ...

Get Ant in Action 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.