This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes GoF Vs. J2EE design patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "GoF Vs. J2EE design patterns" Watch "GoF Vs. J2EE design patterns" New topic

GoF Vs. J2EE design patterns

Jayadev Pulaparty
Ranch Hand

Joined: Mar 25, 2002
Posts: 662
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

Joined: Feb 27, 2002
Posts: 8927

Yes, most of J2EE design patterns are based on GoF design patterns.

Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

"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 ]

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

You can notice in the "Related Patterns" in the J2EE pattern that there is a mention of GoF.
I agree. Here's the link:
subject: GoF Vs. J2EE design patterns
It's not a secret anymore!