aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes How good is this book for a java developer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "How good is this book for a java developer?" Watch "How good is this book for a java developer?" New topic
Author

How good is this book for a java developer?

Naina Si
Ranch Hand

Joined: Nov 05, 2003
Posts: 134
By reading this book, can one apply the concepts of design patterns in the real world applications?
michael yeung
Greenhorn

Joined: Oct 20, 2004
Posts: 16
Will the design patten book provide some real world application examples?
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
By reading this book, can one apply the concepts of design patterns in the real world applications?

So far from the reading of HF series, I feel the authors try to provide information with common examples. As read from other threads, I do believe that the book provides some sample applications for 14 out of 23 selected patterns.

In fact, you could find that your systems might also make use of some patterns, like Factory, Singleton, etc.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Will the design patten book provide some real world application examples?

Yes, Elisabeth has discussed this on another forum here some time ago, but I cannot recall the thread.

Anyway, below is the quote from amazon:

You're not alone. At any given moment, somewhere in the world someone struggles with the same software design problems you have. You know you don't want to reinvent the wheel (or worse, a flat tire), so you look to Design Patterns--the lessons learned by those who've faced the same problems. With Design Patterns, you get to take advantage of the best practices and experience of others, so that you can spend your time on...something else. Something more challenging. Something more complex. Something more fun. You want to learn about the patterns that matter--why to use them, when to use them, how to use them (and when NOT to use them). But you don't just want to see how patterns look in a book, you want to know how they look "in the wild". In their native environment. In other words, in real world applications. You also want to learn how patterns are used in the Java API, and how to exploit Java's built-in pattern support in your own code. You want to learn the real OO design principles and why everything your boss told you about inheritance might be wrong (and what to do instead). You want to learn how those principles will help the next time you're up a creek without a design paddle pattern. Most importantly, you want to learn the "secret language" of Design Patterns so that you can hold your own with your co-worker (and impress cocktail party guests) when he casually mentions his stunningly clever use of Command, Facade, Proxy, and Factory in between sips of a martini. You'll easily counter with your deep understanding of why Singleton isn't as simple as it sounds, how the Factory is so often misunderstood, or on the real relationship between Decorator, Facade and Adapter. With Head First Design Patterns, you'll avoid the embarrassment of thinking Decorator is something from the "Trading Spaces" show. Best of all, in a way that won't put you to sleep! We think your time is too important (and too short) to spend it struggling with academic texts. If you've read a Head First book, you know what to expect--a visually-rich format designed for the way your brain works. Using the latest research in neurobiology, cognitive science, and learning theory, Head First Design Patterns will load patterns into your brain in a way that sticks. In a way that lets you put them to work immediately. In a way that makes you better at solving software design problems, and better at speaking the language of patterns with others on your team.


Nick
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by michael yeung:
Will the design patten book provide some real world application examples?


I think author has answered a question regarding real world example here even though it was specific for Factory method and Abstract factory pattern

http://www.coderanch.com/t/99286/patterns/HF-Design-Pattern-Abstract-Factory


Groovy
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8883
    
    5
Eric and Beth are responsible for creating about 95% of the examples in the book, so I can say this without sounding stuck up... , the examples ARE real world... kind of... in a weird and wonderful sort of way that's really hard to describe

I think the best advice is to go to the O'Reilly site and download the sample chapter! Read it, and think about whether you could apply what you've just read to YOUR real world problems


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Sathya Srinivasan
Ranch Hand

Joined: Jan 29, 2002
Posts: 379
Well, looking at the sample chapter, I guess the examples are kind of quasi-realistic (Starbuzz coffee!). But I think it gives you a very nice idea on how to apply patterns.

And it would definitely be useful for a Java developer as all examples are written in Java.


Cheers, Sathya Srinivasan - SCJP 1.2, SCWCD 1.2, SCMAD 1.0
Co-Author of Whizlabs SCMAD Certification Exam Simulator and SCMAD Exam Guide Book
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How good is this book for a java developer?