Developing.Enterprise Java Applications with J2EE and UML.Pdf
Total Page:16
File Type:pdf, Size:1020Kb
Developing Enterprise Java Applications with J2EE and UML by Khawar Zaman Ahmed, Cary E. Umrysh · Paperback: 288 pages ; Dimensions (in inches): 0.66 x 9.28 x 7.32 · Publisher: Addison-Wesley Pub Co; ISBN: 0201738295; 1st edition (December 15, 2001) · Average Customer Review: Based on 6 reviews. Table of Contents Copyright.................................................................................................................. 6 Dedication......................................................................................................... 7 Foreword.................................................................................................................. 8 Preface................................................................................................................... 10 Intended Audience .......................................................................................... 10 How to Use This Book......................................................................................11 Chapter Summaries ........................................................................................ 12 Conventions.................................................................................................... 13 Acknowledgments .................................................................................................. 15 Chapter 1. Introduction to Enterprise Software ....................................................... 17 What Is Enterprise Software?.......................................................................... 17 Evolution of Enterprise Software ..................................................................... 20 Enterprise Software and Component-Based Software ..................................... 22 Summary......................................................................................................... 23 Chapter 2. Introduction to the J2EE ........................................................................ 24 What Is the Java 2 Platform, Enterprise Edition?............................................. 24 A Brief History of J2EE .................................................................................... 25 Why J2EE? ..................................................................................................... 27 A Brief Overview of J2EE................................................................................. 30 Summary......................................................................................................... 39 Chapter 3. Introduction to the UML ......................................................................... 40 UML Overview................................................................................................. 41 Why Use the J2EE and the UML Together? .................................................... 43 Challenges in Modeling J2EE in the UML ........................................................ 45 Extension Mechanisms in the UML .................................................................. 46 The Approach to J2EE UML Modeling ............................................................. 49 Summary ........................................................................................................ 50 Chapter 4. UML and Java....................................................................................... 51 Representing Structure.................................................................................... 51 Representing Relationships............................................................................. 57 Summary......................................................................................................... 69 Chapter 5. Overview of Activities ............................................................................ 70 What Is a Software Development Process?..................................................... 70 Overview of Popular Approaches to Software Development ............................ 70 Approach Used in This Book ........................................................................... 79 Overview of Major Activities............................................................................. 80 Summary......................................................................................................... 82 Chapter 6. Architecture........................................................................................... 83 What Is Software Architecture?........................................................................ 83 Why Architecture?........................................................................................... 85 Key Concepts in Enterprise Application Architecture........................................ 86 Approaches to Software Architecture............................................................... 99 Putting It All Together.....................................................................................101 Summary .......................................................................................................102 Chapter 7. Analyzing Customer Needs ..................................................................103 Why Software Analysis and Design? ..............................................................103 Problem Analysis............................................................................................104 Use Case Modeling ........................................................................................105 Identifying the Actors......................................................................................106 Finding the Use Cases ...................................................................................107 Use Case Diagrams .......................................................................................109 Use Case Relationships .................................................................................110 Sequence Diagrams .......................................................................................113 Activity Diagrams............................................................................................115 Summary........................................................................................................118 Chapter 8. Creating the Design .............................................................................120 Use Case Analysis .........................................................................................120 Use Case Realizations ...................................................................................120 Refined Use Case Description........................................................................122 Sequence Diagrams .......................................................................................124 Collaboration Diagrams ..................................................................................129 Class Diagrams ..............................................................................................130 Coalescing the Analysis Classes....................................................................134 Packaging ......................................................................................................138 Summary........................................................................................................140 Chapter 9. Overview of J2EE Technologies...........................................................142 The Big Picture...............................................................................................142 Servlets..........................................................................................................143 JavaServer Pages (JSP) ................................................................................143 Enterprise JavaBeans (EJB)...........................................................................144 Session Beans ...............................................................................................144 Entity Beans...................................................................................................144 Message-Driven Beans..................................................................................145 Assembly and Deployment.............................................................................145 Case Study.....................................................................................................145 Summary........................................................................................................145 Chapter 10. Servlets..............................................................................................146 Introduction to Servlets...................................................................................147 Servlet Life Cycle ...........................................................................................149 Request Handling...........................................................................................152 Response Generation.....................................................................................153 HTTP Request Handlers.................................................................................155 The RequestDispatcher Interface ...................................................................156 Modeling Servlets in UML...............................................................................157 Modeling Other Servlet Aspects .....................................................................159