Objects by Design Forums Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home  
Objects by Design Forums : Powered by vBulletin version 2.3.5 Objects by Design Forums > Main Forums > Books > The Design Patterns Java Companion Thread Rating: 2 votes, 5.00 average.
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
shahamit
Junior Member

Registered: Sep 2002
Location: Bangalore, India
Posts: 6

Lightbulb The Design Patterns Java Companion

I found a good Online book on Design patterns by James W. Cooper.

Design Patterns Java Companion

Book can be downloaded as a complete PDF file as well.

Download the entire book as a zipped PDF file

Best Regards,
Amit

Report this post to a moderator | IP: Logged

Old Post 10-14-2002 02:33 PM
shahamit is offline Click Here to See the Profile for shahamit Click here to Send shahamit a Private Message Find more posts by shahamit Add shahamit to your buddy list Edit/Delete Message Reply w/Quote
shahamit
Junior Member

Registered: Sep 2002
Location: Bangalore, India
Posts: 6

Lightbulb Patterns made free!!!

Free electronic book from Bruce Eckel, Author of Thinking in Java/C++, now into patterns

Thinking in Patterns with Java

This book is in its Preliminary form.

Best Regards,
Amit.

Report this post to a moderator | IP: Logged

Old Post 10-14-2002 02:51 PM
shahamit is offline Click Here to See the Profile for shahamit Click here to Send shahamit a Private Message Find more posts by shahamit Add shahamit to your buddy list Edit/Delete Message Reply w/Quote
shahamit
Junior Member

Registered: Sep 2002
Location: Bangalore, India
Posts: 6

Post UML Tutorial

Another UML Tutorial from CRaG Systems (UK) is available for download.

Unified Modelling Language (UML) Tutorial Download

Best Regards,
Amit

Report this post to a moderator | IP: Logged

Old Post 10-14-2002 02:54 PM
shahamit is offline Click Here to See the Profile for shahamit Click here to Send shahamit a Private Message Find more posts by shahamit Add shahamit to your buddy list Edit/Delete Message Reply w/Quote
SZ
Administrator

Registered: Apr 2001
Location: New York
Posts: 492

There have been several attempts at creating a much-needed Java/UML version of the GoF patterns book - with some very mixed results.

Mark Grand came out with the first such book, called Patterns in Java. A number of reviewers on amazon.com panned this book for it's poor editing and inacurate representation of the GoF patterns. Now the book is out in a second edition which seems to have been cleaned up, but we have no more additional information.

The James Cooper book received some very negative reviews on amazon.com from reviewers who appear to know the GoF patterns pretty well.

The Bruce Eckel book is very good and you can download the early version for review; however, it is very much a work in progress and doesn't look as though it is progressing so fast. If you like Eckel's style, this book follows his style and is therefore recommended.

The Java patterns book that seems to be the most recommended on amazon.com is:

Design Patterns Java Workbook
by Steven John Metsker
Publisher: Addison Wesley Professional
ISBN: 0201743973

Hope to review this title soon.

See the following related forum thread for some additional information on Java patterns books.

If you know more about any of these Java patterns books, please throw in your 2 cents to this thread.

Report this post to a moderator | IP: Logged

Old Post 04-02-2003 03:16 AM
SZ is offline Click Here to See the Profile for SZ Click here to Send SZ a Private Message Visit SZ's homepage! Find more posts by SZ Add SZ to your buddy list Edit/Delete Message Reply w/Quote
SZ
Administrator

Registered: Apr 2001
Location: New York
Posts: 492

Got a copy of the Metsker book (see above) and it is highly recommended.

The State pattern is very well defined and, like many of the patterns in this book, ends with a challenging exercise at the end of the description. The exercise is to refactor the pattern to remove the definition of the valid states from a dependant class. The solutions for these exercises are found at the end of the book and are clearly explained.

Another plus for this book is the helpful UML diagrams.

Report this post to a moderator | IP: Logged

Old Post 04-28-2003 02:57 AM
SZ is offline Click Here to See the Profile for SZ Click here to Send SZ a Private Message Visit SZ's homepage! Find more posts by SZ Add SZ to your buddy list Edit/Delete Message Reply w/Quote
SZ
Administrator

Registered: Apr 2001
Location: New York
Posts: 492

Best Book for Patterns in Java?

As I am reading through Robert C. Martin's new book, Agile Software Development, I am beginning to believe that we finally have the 'best book for patterns in Java'. I will reserve judgement until I get through most of the book but this is a good find.

One thing very interesting about this book is that it challenges you to choose between competing design patterns based on the merits of each. For example, these are several of the relevant chapter titles:

+ Template Method and Strategy: Inheritance vs. Delegation
+ Facade and Mediator
+ Singleton and Monostate

The code is all in Java and UML diagrams are frequently used for the examples.

Here is a nice quote from the chapter on the Visitor pattern:

"This is called dual dispatch because it involves two polymorphic dispatches. The first is the accept function. This dispatch resolves the type of the object that accept is called upon. The second dispatch is the visit method which resolves to the particular function to be executed.

The two dispatches of Visitor form a matrix of functions. In our modem example, one axis of the matrix is the different types of modems. The other axis is the different types of operating systems. Every cell in this matrix is filled in with a function that describes how to initialize the particular modem for the particular operating system."

See the link above for more details on this book.

Report this post to a moderator | IP: Logged

Old Post 07-01-2003 11:51 AM
SZ is offline Click Here to See the Profile for SZ Click here to Send SZ a Private Message Visit SZ's homepage! Find more posts by SZ Add SZ to your buddy list Edit/Delete Message Reply w/Quote
ipreuss
Member

Registered: Mar 2003
Location:
Posts: 43

Re: Best Book for Patterns in Java?

quote:
Originally posted by SZ
The code is all in Java and UML diagrams are frequently used for the examples.



Two of the case studies are in C++, if I remember correctly. Shouldn't keep you from getting a copy of this book, though - it's really very good!

Report this post to a moderator | IP: Logged

Old Post 07-01-2003 06:12 PM
ipreuss is offline Click Here to See the Profile for ipreuss Click here to Send ipreuss a Private Message Find more posts by ipreuss Add ipreuss to your buddy list Edit/Delete Message Reply w/Quote
SZ
Administrator

Registered: Apr 2001
Location: New York
Posts: 492

OK, I looked again. Most of the code is in Java.

But Mr. Martin used to be the editor-in-chief of the C++ Report, so of course he had to slip in a few C++ code snippets just for the fun of it.

Report this post to a moderator | IP: Logged

Old Post 07-01-2003 08:52 PM
SZ is offline Click Here to See the Profile for SZ Click here to Send SZ a Private Message Visit SZ's homepage! Find more posts by SZ Add SZ to your buddy list Edit/Delete Message Reply w/Quote
SZ
Administrator

Registered: Apr 2001
Location: New York
Posts: 492

OK, I think we have another candidate for 'best book on design patterns'.

Head First Design Patterns has all the right ingredients:

1) Java code
2) UML diagrams
3) Good examples
4) Pictures
5) The 'Head First' style of presentation

Besides all of these ingredients it is truly a 'patterns for the rest of us' type of book because it is so readable by the average software developer.

After reading an article that said maybe a second edition of the original Design Patterns might be forthcoming, I would say it might be a little too late after 10 years. Head First Design Patterns will be tough competition to beat for a while to come.

Check out this forum thread for more details.

Report this post to a moderator | IP: Logged

Old Post 01-23-2005 02:30 PM
SZ is offline Click Here to See the Profile for SZ Click here to Send SZ a Private Message Visit SZ's homepage! Find more posts by SZ Add SZ to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 01:54 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

< Contact Us - Objects by Design >

Powered by: vBulletin Version 2.3.5
Copyright ©2000 - 2017, Jelsoft Enterprises Limited.
Copyright 1999-2005, Objects by Design, Inc.