17
CIS764 Fall 2004 http://www.cis.ksu.edu/~mgw9696/cis764/ presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss CIS 764 Fall 2004 Kansas State University November 11, 2004

CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

Embed Size (px)

Citation preview

Page 1: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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

Page 2: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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

Page 3: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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

Page 4: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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.

Page 5: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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.

Page 6: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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

Page 7: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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)

Page 8: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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

Page 9: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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

Page 10: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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

Page 11: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

CIS764Fall 2004

http://www.cis.ksu.edu/~mgw9696/cis764/presentation 11

CIS 764 Database Systems DesignJ2EE Patterns Book Review

Book Epilogue

Page 12: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

CIS764Fall 2004

http://www.cis.ksu.edu/~mgw9696/cis764/presentation 12

CIS 764 Database Systems DesignJ2EE Patterns Book Review

Book Epilogue cont’d

Page 13: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

CIS764Fall 2004

http://www.cis.ksu.edu/~mgw9696/cis764/presentation 13

CIS 764 Database Systems DesignJ2EE Patterns Book Review

Book Epilogue cont’d

Page 14: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

CIS764Fall 2004

http://www.cis.ksu.edu/~mgw9696/cis764/presentation 14

CIS 764 Database Systems DesignJ2EE Patterns Book Review

Book Epilogue cont’d

Page 15: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

CIS764Fall 2004

http://www.cis.ksu.edu/~mgw9696/cis764/presentation 15

CIS 764 Database Systems DesignJ2EE Patterns Book Review

Book Epilogue cont’d

Page 16: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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 .

Page 17: CIS764 Fall 2004 mgw9696/cis764/presentation 1 CIS 764 Database Systems Design J2EE Patterns Book Review Presented by Mark Weiss

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