• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GoF Vs. J2EE design patterns

 
Jayadev Pulaparty
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to get my feet wet in J2EE and come across the J2EE design patterns. Are these some kind of specialized form of the GoF design patterns or all together have their own origin and intent. For example, i see the FrontController....Isn't this the same as Facade pattern?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, most of J2EE design patterns are based on GoF design patterns.
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"J2EE Design Patterns" is a technical (and deliberate) mis-naming of what really amount to a set of design idioms and domain-specific refactoring recommendations.
The naming is simply designed to get the attention of a wide audience. Seems like everyone has heard of a pattern, but far fewer people know that idioms are merely patterns that utilize language-specific features. And "refactoring" sounds too much like real work for many people to take an interest.
As you look through the J2EE "patterns" catalog, you'll undoubtedly notice lots of similarities to the GoF catalog. There seem to be not that many classic patterns that are fundamentally different. The J2EE names are meant to narrow the context of a simple (and familiar) pattern to a common problem in servlet/JSP/EJB development.
[ September 09, 2003: Message edited by: Michael Ernest ]
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can notice in the "Related Patterns" in the J2EE pattern that there is a mention of GoF.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic