Upload
ginger-chase
View
212
Download
0
Tags:
Embed Size (px)
Citation preview
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 1
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Presentedby
Mark WeissCIS 764
Fall 2004
Kansas State UniversityNovember 11, 2004
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 2
Overview• Who is Alur et all’s(Book) intended audience?• Book divided into 3 parts + Epilogue
- 1 Patterns and J2EE.(Ch.1&2 pp 1-31)
- 2 Design Considerations, Bad Practices, and Refactorings. (Ch. 3-5 pp 32-121)
- 3 J2EE Patterns Catalog. (Ch. 6-9 pp 122-421)
- Epilogue – J2EE Patterns Applied. (Epilogue pp 422-437)
• Book Positives• Book Negatives• References
CIS 764 Database Systems DesignJ2EE Patterns Book Review
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 3
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Who is the Book’s intended audience?• J2EE enthusiasts,programmers,
architects,developers, and technical managers.• The Book is not:
• A Java programming guide• An answer to which process or methodology to follow in your projects• How to use Unified Modeling Language (UML)
• The Book is:• About ‘field discovered’ patterns in J2EE that provide solutions using Sun
Java Center (SJC) J2EE Pattern Catalog.• Promotes Reuse
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 4
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Part 1• Chapter 1.
• What are Patterns?• Historical References - (Christopher Alexander 1970)• Defining a Pattern
“Enable us to document a known recurring problem and its solution in a particular context, and to communicate this knowledge to others”
• Categorizing Patterns• Design, Arch., Analysis, Creational, Structural, Behavioral
• J2EE Pattern Catalog• Tiers (Presentation, Business, Integration)
• Chapter 2.• Overview of J2EE Platform.
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 5
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Part 2• Chapters 3-5.
• Design Considerations, Bad Practices and Refactorings:• Chapter 3 Presentation Tier Considerations and Bad Practices.• Chapter 4 Business & Integration Tier Considerations and Bad Practices.• Chapter 5 Presentation, Business, & Integration Tier Refactorings.• Chapter format
Problem summary: Quick description of a less than optimal solution.
Solution Reference:
Patterns that provide information on context and trade-offs
Design Considerations
Refactorings----A design path using SJC J2EE Pattern Catalog.
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 6
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Part 3• Chapters 6-9.
• Chapter 6 J2EE patterns overview• Tiered Approach
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 7
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Part 3 cont’d • Chapter 6 J2EE patterns overview cont’d
• Tables with Pattern Names and Synopsis of each.(6.1, 6.2, 6.3)• Guide to the Catalog
• Terminology 6.4, UML Stereotypes• J2EE Pattern Relationships
see next two slides.• J2EE Patterns Roadmap
“If you are looking for this……Find it here” (Table 6-6)
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 8
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Part 3 cont’d (Presentation Tier )
Top HalfOf
Figure 6.2
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 9
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Part 3 cont’d (Business & Integ. Tier)
Bottom HalfOf
Figure 6.2
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 10
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Part 3 cont’d • Chapter 7 Presentation Tier Patterns.• Chapter 8 Business Tier Patterns.• Chapter 9 Integration Tier Patterns.
Chapter Format:• Context• Problem• Forces• Solution
• Structure• Strategies
• Consequences• Related Patterns
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 11
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Epilogue
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 12
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Epilogue cont’d
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 13
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Epilogue cont’d
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 14
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Epilogue cont’d
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 15
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Book Epilogue cont’d
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 16
CIS 764 Database Systems DesignJ2EE Patterns Book Review
Critique:
•Pros:•Easy to read.
•Examples are somewhat easy to follow with given diagrams and source code.
•Every pattern has an UML Class and Interaction diagram for clarification.
•Great reference for Reuse.
•Cons:•Refer it forward.
•2nd Edition June 2003….I read 1st Edition .
CIS764Fall 2004
http://www.cis.ksu.edu/~mgw9696/cis764/presentation 17
CIS 764 Database Systems DesignJ2EE Patterns Book Review
References:Deepak Alur, John Crupi, Dan Malks. Core J2EE Patterns Best Practices and Design Strategies. New Jersey: Prentice Hall 2001 459pp.
Core J2EE Patterns. Available from http://java.sun.com/blueprints/patterns/Accessed October 27, 2004.
Core J2EE Patterns. Available from http://www.corej2eepatterns.com/index.htmAccessed October 28, 2004