Appendix A: Example apps Used in this tutorial


This chapter describes the sample apps used in this tutorial. It is important that you understand the purpose and structure of these apps because we build, test, and deploy them throughout Part II of the tutorial. Writing example apps requires a delicate balance. If the apps are too simple, it is difficult to see how you would apply the concepts being taught to real-life projects. If the apps are too robust and full-featured, it can be difficult to follow the concepts being presented because the app’s complexity gets in the way. We’ve tried to solve this problem by including two types of example apps in this tutorial: simple apps and case studies. Simple apps are used throughout the tutorial to demonstrate a specific technique. These “apps” are very brief—sometimes only a few lines of code—so as not to get in the way of showing you how to use the underlying tools or how to deploy a component. The case studies are stripped-down versions of a real app. They are long enough to be realistic and indicative of common Web apps, but they are not full-featured, stand-alone apps. The case studies are frameworks for demonstrating complex techniques with the automated testing and integration tools. None of the case studies or simple examples do much in the way of exception-handling, in an effort to keep the code straightforward and easy to follow. If this were a tutorial on style or object-oriented design, we would have written the samples much differently.

Java Start Sidebar
Where To Get the Example apps

You can download the complete code listings and updated build instructions for all the apps in this tutorial at

Java End Sidebar