This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pattrens Used is SCJP contents

 
Vikrama Sanjeeva
Ranch Hand
Posts: 756
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guyz,I want to know hich pattrens are used in SCJP contents.For example,Decorator Pattren is used mostly in I/O giving concept of wrapping.
Can anybody list the pattrens used in SCJP contents.
Bye.
Viki.
------------------
Count the flowers of ur garden,NOT the leafs which falls away!
 
Todd Newbold
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I passed the SCJP over a year ago and there were no questions on patterns. Only quetions extensively about the fundamentals of Java.
 
Vikrama Sanjeeva
Ranch Hand
Posts: 756
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Todd, my question was not that.I know that SUN doesn't ask about Pattrens in SCJP.My question was that, which pattrens are used in the topics which lie in SCJP syllabus.I hope now it will be clear.
Bye.
Viki.
------------------
Count the flowers of ur garden,NOT the leafs which falls away!
 
Vikrama Sanjeeva
Ranch Hand
Posts: 756
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still waiting for someone to reply.
Bye.
Viki.
------------------
Count the flowers of ur garden,NOT the leafs which falls away!
 
Axel Janssen
Ranch Hand
Posts: 2166
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vikrama Sanjeeva:
Still waiting for someone to reply.
Bye.
Viki.

Hi Viki,
I don't understand what you want.
Axel
 
Vikrama Sanjeeva
Ranch Hand
Posts: 756
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK!....I mean to say that, the topics covered in SCJP objectives for e.g Overloading & Overriding,MuliThreading,util,awt etc how can one use pattrens in these topics.
To be more clear my instructor has asked me that i am going to take your programming test.And the programe given in the test will cover SCJP objectives.Now i want to know which are the most commom(& one must knows) Pattrens.I have given the example of Decorator Pattren.
Similarly i am making my Data Structure more robust so that it help & i can use in programming test in order to develop program.
Now plz. help me!!
Bye.
Viki.
------------------
Count the flowers of ur garden,NOT the leafs which falls away!
 
Mapraputa Is
Leverager of our synergies
Sheriff
Posts: 10065
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which are the most commom(& one must knows) Pattrens
Quote from Linda Rising:
"Here's the list of GoF patterns in order of use with the most used listed first and equal numbers of uses on the same line:
Adapter
Composite, Strategy
Observer, State
Command, Mediator, Singleton
Abstract Factory, Factory Method, Facade
Template Method, Visitor
Builder, Prototype, Bridge, Proxy
Decorator, Memento
Iterator
Flyweight, Interpeter had no experience reports"
From the same thread:
"The high-level Stream classes are also Decorators.
The LayoutManagers are Strategies."
More about patterns in Java API: http://www.javaranch.com/ubb/Forum9/HTML/000030.html http://www.javaranch.com/ubb/Forum9/HTML/000160.html
 
Axel Janssen
Ranch Hand
Posts: 2166
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a JavaWorld-Article about some examples of the use of GOF-Patterns in fundamental Java classes.
http://www.javaworld.com/javaworld/jw-10-2001/jw-1012-designpatterns.html?
B.T.W: yesterday I read two of the Javaworld articles of Pattern-Section. Found them helpful.
http://www.javaworld.com/channel_content/jw-patterns-index.shtml
hope it helps
Axel
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic