Search the web
Sign In
New User? Sign Up
dpexplained · Design Patterns Explained
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 34 - 63 of 485   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
34
In chapter 9 "Bridge Pattern", you imply on page 133 (by asking a set of questions) that the design you diagrammed in figure 9-3 suffers from redundancy, low...
bruce_e_robbins@...
Send Email
Oct 5, 2001
8:12 am
35
Sorry for the delay in answering this. See my embedded answers beginning with **** ... set ... the ... cohesion ... 3. ... *********** Yes, that's exactly the...
alshall@...
Send Email
Oct 10, 2001
10:49 pm
36
With regards to Double Checked Locking Pattern, there are articles being published which tell that this pattern does not work for Java. because of Java's...
chetandaku@...
chetandaku
Offline Send Email
Oct 19, 2001
6:07 pm
37
Chetan, The two ways I've seen are to: (1) Synchronize the getInstance() method (which the double-checked locking technique was trying to avoid). (2)...
McQueeney, Tom
jinidev
Offline Send Email
Oct 19, 2001
6:19 pm
38
It seems that the java code fragment listed in your book at page 261 needs some correction. The correction which I think are needed are listed as part of code ...
chetandaku@...
chetandaku
Offline Send Email
Oct 19, 2001
6:19 pm
39
The question on the second approach is would separate threads still get one instance of the same object? I'm not sure. I'll dig around a little on this one. ...
Alan Shalloway
alshalloway
Offline Send Email
Oct 19, 2001
8:20 pm
40
Alan, Here's an example of what I'm referring to as the 2nd technique: public class Singleton { private static final instance = new Object(); public static...
McQueeney, Tom
jinidev
Offline Send Email
Oct 19, 2001
8:43 pm
41
... http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double.html ... __________________________________________________ Do You Yahoo!? Make a great...
Chetan Daku
chetandaku
Offline Send Email
Oct 19, 2001
10:20 pm
42
I think the lazy instantiation would work. My concern is that since this whole problem is that there is an error in the synchronization code of the JVM, are...
Alan Shalloway
alshalloway
Offline Send Email
Oct 19, 2001
10:50 pm
43
There have been several corrections recommended in the last 24-48 hours. I updated them and some others. Go to ...
alshall@...
alshalloway
Offline Send Email
Oct 20, 2001
12:30 am
44
Alan, Thanks for the prompt response. Checked out the link you had sent. The code now looks perfect. But just a quick question. Am curious to know to whom does...
Chetan Daku
chetandaku
Offline Send Email
Oct 20, 2001
1:55 am
45
I received this question off-line so I'm posting it anonymously here: Question: While reading your book on Design Patterns, I came upon a piece of code that...
Alan Shalloway
alshalloway
Offline Send Email
Oct 22, 2001
7:20 pm
46
Jean Baltus (Belgium) pointed out the problems in the Singleton pattern. Alan...
Alan Shalloway
alshalloway
Offline Send Email
Oct 23, 2001
9:34 pm
47
Hello! Everybody! I'm the Chinese translator of the book "Design Patterns Explained". And I want to study more here. Please give me some help and advice....
gigix1980@...
gigix1980
Offline Send Email
Nov 1, 2001
9:14 am
48
If anybody wants to mail me, please send your mail to gigix@.... Thanks a lot!...
gigix1980@...
gigix1980
Offline Send Email
Nov 1, 2001
9:15 am
49
What type of help and advice are you looking for? Perhaps you could tell us the questions you have, so that we may understand what type of help you need. Best...
Chris Falter
chrisfalter
Offline Send Email
Nov 1, 2001
4:16 pm
50
Are you saying that all Java Interpreters have the same problem because the underlaying specifications for the synchronization code is incorrect or.... that...
efittery@...
efittery
Offline Send Email
Nov 2, 2001
1:40 pm
51
From what I have been told, all JVM's have this problem. It is somewhat a controversy over whether it is the fault of the JVM or of the pattern tricking the...
Alan Shalloway
alshalloway
Offline Send Email
Nov 2, 2001
3:16 pm
52
OK, I'll give it a try in explaining the DCL and JMM issue. I'm no expert, but I do write multi-threaded code that needs to share resources (e.g. using a...
McQueeney, Tom
jinidev
Offline Send Email
Nov 2, 2001
6:13 pm
53
Tom: Great explanation. That matches my understanding. Someone, I'll look for the article later, says the JMM shouldn't allow for the re-ordering of the code...
Alan Shalloway
alshalloway
Offline Send Email
Nov 2, 2001
6:35 pm
54
Further to the resources already mentioned, this one provides another good explanation and has been signed by some Java community heavyweights (e.g. Joshua...
ex_lg_mfitzmaurice@...
ex_lg_mfitzm...
Offline Send Email
Nov 2, 2001
7:32 pm
55
Thanks. And he confirms static initialization works. Alan Shalloway Sr Consultant, 425-260-8754, http://www.netobjectives.com ... * Sign up for our free...
Alan Shalloway
alshalloway
Offline Send Email
Nov 2, 2001
7:36 pm
56
Please click "Photos" to look my photo. The one in black is me. The other one is Mr. Hou, The translator of "Effective C++", "More Effective C++", "Essential...
gigix@...
gigix1980
Offline Send Email
Nov 3, 2001
4:44 am
57
I'm a Chinese and I can't go to USA to have your courses. Then how can I study them by myself? Can you give me some advice? Thanks a lot....
gigix@...
gigix1980
Offline Send Email
Nov 8, 2001
9:02 am
58
The best way to learn a pattern is if you can identify that it may apply to some problem you have. Then, try to use it. See where your solution matches the...
Alan Shalloway
alshalloway
Offline Send Email
Nov 9, 2001
3:47 pm
59
Now I've left college and working in an Magazine -- "Programmer". On the other hand I'm going to have a column on an free e-Magazine. I wish to introduce...
gigix@...
gigix1980
Offline Send Email
Nov 10, 2001
3:39 am
60
Hi, I just started to read about "sofwtare Reengineering Patterns". I am familiar with refactoring techniques to improve the design of the code but want to...
mohsin.khalil@...
mohsink1
Offline Send Email
Nov 13, 2001
5:55 pm
61
I don't think this is an inappropriate forum. There is a definite relationship between patterns and refactoring as well as patterns and XP. I started writing...
Alan Shalloway
alshalloway
Offline Send Email
Nov 13, 2001
6:13 pm
62
I agree with you that "Patterns tell you how to handle the case when you have multiple ways". Specifically for reengineering, I think prior to this,...
mohsin.khalil@...
mohsink1
Offline Send Email
Nov 13, 2001
10:38 pm
63
I think we can definitely say that: "reengineering should be done as a process and ... One of the factors in looking at this is why are we refactoring in the...
Alan Shalloway
alshalloway
Offline Send Email
Nov 13, 2001
10:53 pm
Messages 34 - 63 of 485   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help