Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design Pattern

 
Bobby Sh
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

In GOF we have 23 patterns. Besides these we have patters given by Sun like:
Business Delegate
Composite Entity
Composite View
Data Access Object
Fast Lane Reader
Front Controller
Intercepting Filter
Model-View-Controller
Service Locator
Session Facade
Transfer Object
Value List Handler
View Helper

1. I would like to know, how these patterns are different than given by GOF. I do see that they have
few of them are similar (may be names are different). On what basis GOF and SUN have categorized these patterns.


2. Is there any centralized authority that approves when a new patter comes up?

3. In SCEA part 2 assignment , whether we should use the design pattern by GOF or SUN?

Thanks in advance

Bobby
 
Ramen Chatterjee
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The J2EE may not be so different, although there are far more patterns than the GoF patterns. In my view the J2EE patterns are more contextual. As far as I know there is no governing body, if a pattern is good it will be adopted.

The question is less of whether a pattern is good rather is it right for your particular design at that time. Also, patterns shouldn't be prescriptive (you might need to 'tweak' it depending on your circumstances).

Regards

Ramen
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bobby,

The GOF are general purpose design patterns; some of them even go beyond software (i.e. Adapter). The J2EE patterns are, in my mind, more of a J2EE framework, partially based on the GOF patterns.

Regards,
Dan
 
Thomas Taeger
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bobby Sh:
I do see that they have few of them are similar (may be names are different).

Hello Bobby,
I would be very interested to hear more about your thoughts why/how which pattern is similar to which other one.

Thomas
 
Bobby Sh
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Thomas
I was referring to 'Session Facade' of SUN to 'Facade' of GoF , based on their behavior.


Hi All,

Again I am coming to the same question, while working on Assignment, should I be looking for
only SUN given pattern or any pattern.

Regards
Bobby
 
Johnty Rhodes
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bobby,

You can use any pattern. But you need to document it and justify the decision for the same.

Hope this clarifies.

Thanks
 
Thomas Taeger
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bobby Sh:
I was referring to 'Session Facade' of SUN to 'Facade' of GoF , based on their behavior.

Ok, interesting, now that the assignment relevance has been clarified provide us with your thoughts and doubts, please.

Thomas
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic