![](https://csdnimg.cn/release/download_crawler_static/9210683/bg4.jpg)
Table of Contents
Choosing Development Tools
63
Visual Modeling Tools 64
IDEs 64
Build Utilities 64
Code Generators 66
Version Control 67
Identifying and Mitigating Risks
67
Summary
71
Chapter
3:
Testing J2EE Applications
73
What Can Testing Achieve?
74
Definitions
75
Testing Correctness
76
The XP Approach to Testing 76
Writing Test Cases 78
What Makes a Good Test Case? 78
Recognizing Test Case Authoring and Maintenance as a Core Task 78
Unit Testing 78
main() Methods 79
Using JUnit ' 79
Test Practices 86
Should Testing Strategy Affect How We Write Code? 90
Integration and Acceptance Testing 92
Testing Business Objects 92
Testing Business Objects Implemented Without Using EJB 92
Testing EJBs 93
Testing Database Interaction 99
Testing Web Interfaces 100
Unit Testing Web-Tier Components 101
Acceptance Testing Web Interfaces 104
Design Implications 105
Testing Performance
and
Scalability
105
Load Testing EJBs and Other Business Objects 106
Load Testing Web Interfaces 107
Automating Tests
107
Complementary Approaches
to
Testing
108
Summary
110
m