The Sample Scenario


To illustrate how all the tools and techniques described in this book can be brought together, I will put together the framework of a build and release process for a working example. Although this example is not especially large or complex, it is based on real-world scenarios. It should give you an idea of how the automation of the software build and release process can affect an organization.

Welcome to RationalBank

Throughout the book, you will see references to RationalBank. This is a mythical retail banking organization whose current work includes implementing an online Internet banking application. The application is a traditional three-tier model with a number of components: a Web client customer front end, a thick client administrative front end, some middle-tier business logic, and a back-end database. Figure 1.3 shows a deployment diagram for each of these components.

Figure 1.3. RationalBank deployment diagram


Each of the components shown in Figure 1.3 is developed as an individual project:

  • RationalBankWeb A thin-client Web-based front end that allows customers to manage their accounts.

  • RationalBankAdmin A thick-client front end that allows back-office staff to administer customers and their accounts.

  • RationalBankModel Business logic for the bank, initially using JavaBeans to model customers, accounts, transactions, and their relationships.

  • RationalBankEJB Next generation of the bank model, using Enterprise JavaBeans (EJB) to model customers, accounts, transactions, and their relationships. This project will replace RationalBankModel but has yet to get under way.

  • RationalBankDB A database project to create the database tables, relationships, and stored procedures for persisting customers, accounts, transactions, and their relationships.

Each project is developed in isolation before being integrated into the application as a whole and therefore has its own directory structure and build scripts. Due to the nature of the application, several build and runtime dependencies exist between the projects. For example, both the RationalBankWeb and RationalBankAdmin projects require the build outputs of the RationalBankModel project. This environment is sufficiently complex for you to see how automating the build and release process can add value and would work in different environments.

To simplify the explanation of how a build and release environment can be constructed, all the examples and listings in this book focus on RationalBankModel.




IBM Rational ClearCase, Ant, and CruiseControl. The Java Developer's Guide to Accelerating and Automating the Build Process
IBM Rational ClearCase, Ant, and CruiseControl: The Java Developers Guide to Accelerating and Automating the Build Process
ISBN: 0321356993
EAN: 2147483647
Year: 2004
Pages: 115
Authors: Kevin A. Lee

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net