| CONTENTS | PREV | NEXT | INDEX | J2EE BluePrints |
To conclude this discussion of the J2EETM programming model, this chapter provides an in-depth description of a multitier Web application, an e-commerce Web site. We review the entire process of developing this application from specification to design to implementation, illustrating many of the principles discussed in the earlier chapters.
The first section describes some scenarios in which the sample application is used. Although the sample application supports administration and business-to-business interactions as well as shopping interactions, this chapter focuses mainly on shopping interactions.
The discussion then turns to the architecture of the sample application: the partitioning of functionality into modules, the assignment of functionality to tiers, and object decomposition within tiers. The architecture of the sample application conforms to the Model-View-Controller architecture. We describe the motivation for using this architecture and how each of these concepts is realized in the implementation of the sample application.
Finally, this chapter describes how the sample application uses the deployment, transaction, and security capabilities of the J2EE platform to simplify component development and provide richer functionality.
Note: The sample application discussed in this chapter is the JavaTM Pet Store 1.0 (download). For the latest version of the application, see the code section.
In this chapter: