This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Eclipse Collections Categorically: Level up your programming game and have Donald Raab on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

GoF Vs. J2EE design patterns

 
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 8953
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, most of J2EE design patterns are based on GoF design patterns.
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 8953
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can notice in the "Related Patterns" in the J2EE pattern that there is a mention of GoF.
 
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic