• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Design Pattern

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic