How This Book Is Organized


This book is divided into eight parts :

Part I: Key Concepts: This part begins with an overview of the Extreme Programming methodologya short course for beginners and a review for practitioners . The overview allows you to see where the practices covered in this book (automated testing and continuous integration) fit into the larger picture of XP. Chapter 2 explains the J2EE build and deployment model, highlighting the need for an automated build tool to assist in the process.

Part II: Automated Building and Continuous Integration: In this part we discuss tow powerful tools that will be used throughout many chapters of the book: Ant and XDoclet. Chapters 4 through 6 cover the core function of Ant needed to achieve continuous integration with Ant, and Chapter 7 covers the core functions of XDoclet. The remainder of this part show you how to modify these two tools and use them together to build a variety of applications, including EJBs and Struts. Part IV of this book discusses alternative solutions to Ant.

Part III: Automated Java Testing: In this part we focus on JUnit, JUnitPerf, and Bugzillatools that enable us to automate testing. Our focus here is on Java applications; chapters later in the book discuss automated testing for J2EE applications.

Part IV: Automated J2EE Testing: One of the largest parts of the book, it focuses on tools that enable us to automate a variety of tests for J2EE applications. We use Cactus for in-container testing of servlets and EJBs, Cactus and JspTestCases in tandem to test custom tags, JMeter to run performance testing, HttpUnit for functional testing, and code coverage with jcoverage .

Part V: Automated Swing Testing: In our experience, many developers fail to adequately test their Swing components . Often it seems that developers simply arent aware of that there are tools available to help. We attempt to remedy that problem in this part of the book by addressing three tools that take very different approaches to the task: Jemmy, jfcUnit, and Abbot.

Part VI: Continuous Integration, Project Management, and IDEs : This part of the book discusses tools that build on, or entirely replace, Ant. First among these tools is Maven. We also discuss CruiseControl and AntHill. Each of these tools offers a unique approach to combining continuous integration, project management, and support for IDEs.

Part VII: API and Tag Reference: Here we supply additional resources that developers need to make full use of some of the tools covered in this book: Ant, Cactus, HttpUnit, JUnit, and JUnitPerf. We cover these tools in standard Javadoc style and include extensive code samples illustrating their use in context.

Part VIII: Appendix: Appendix A of the book provides a detailed discussion of the sample applications and the case studies that we build, test, and refactor multiple times during the course of the book. Full code listings for these applications are included here.




Professional Java Tools for Extreme Programming
Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven (Programmer to Programmer)
ISBN: 0764556177
EAN: 2147483647
Year: 2003
Pages: 228

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