• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design Patterns and Java Technologies

 
Kumar Prem
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have made a list of design patterns and their respective java technology examples. Please help in validating this list.
Proxy ---> Remote and Home Object
JDBC ResultSet ---> Iterator
Swing/AWT Listners ---> Observer
EJB Home Interface ---> Abstract Factory
Session Beans ---> Facades
AWT/Swing Containers ---> Composite
java.io stream chained classes ---> Decorators
Is this correct and complete?
Thanks in advance
 
Rattan Mann
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Premji,
I don't know if this list is complete but it appears to be correct, except that I thought that home interface illustrates factory method rather than abstract factory.
There are a lot of J2EE design patterns that have no clear correspondence with GOF patterns because they deal with new situations.
Rattan
 
Kumar Prem
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well as many others I myself thought so..but acc. some (and SUN) it is abstract factory.
can check this
http://www.coderanch.com/t/151048/java-Architect-SCEA/certification/Abstract-Factory-or-Factory-pattern
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic