This Thursday we will be covering the Singleton and Proxy patterns. Anybody interested in learning about design patterns are welcome to come, even if you...
Aha! The singleton pattern! That should make for great debate. Are we discussing the pattern only, or appropriate uses as well? I have gotten into some...
Brad O'Hearne
brado@...
Apr 2, 2002 8:01 pm
34
... Appropriate uses is fair game -- at least we've talked about that for past patterns. A warm-up debate would be cool. Where do you want to start? There are...
A warm-up debate would be cool. Where do you want to start? There are some folks that argue Singletons should /never/ be used... ;-) Ok, I'll bite! I have a...
Why do you think it is evil (literal singletons), and why did you end up throwing away code? ... From: Brad O'Hearne To: ocpatterns@yahoogroups.com Sent:...
... Literal singletons are evil because of the following: 1) They impose process-space (i.e. VM instance) limitations on the object. In other words, they...
... I don't know if that's what you mean, but another limitation of the "literal singleton" is that it can't be replaced by a mock object for the purposes of...
This article just popped up on the XP mailing list and is timely for this week's discussion. The author assumes you're basically familiar with the singleton...
pdm2@...
Apr 3, 2002 7:36 pm
40
I currently have a testing problem with a Singleton. Maybe someone could offer some advice. My Singleton's private constructor initializes a reference to an...
You could just be lazy and offer a method to reset your singleton using an arbitrary configuration file. The private constructor would call this with the...
Stanford Ng
stng@...
Apr 5, 2002 1:39 am
42
... some links that you may find intresting: this may still be broken in java: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html killing...
Ray Tayek
rtayek@...
Apr 6, 2002 5:08 pm
43
... maybe you want one per file (store them in a hash?) ... can you run each test in a different jvm? thanks ray tayek http://home.attbi.com/~rtayek/ actively...
Ray Tayek
rtayek@...
Apr 6, 2002 5:14 pm
44
Is there a way to see what is being garbage collected and when? I use the jvm option -verbosegc, but it only outputs the memory before and after gc. Thanks!...
... maybe a printout in a finalize? hth ... ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommuting work vice chair orange county java users...
Ray Tayek
rtayek@...
Apr 6, 2002 7:44 pm
47
Recently Yahoo changed their user profiles and added a bunch of new Marketing Preferences. Unfortunately, they all default to 'Yes' which means you will get...
... If you were subscribed to the list by Scott via email address only, then you probably never set up a profile. I'm not sure if Yahoo sets anything up by...
I remember in our first group meeting there was some confusion as to what a true MVC pattern is and the roles the model, controller and viewer have with each...
Just a reminder that there is not study group tonight. We will resume our meetings next week by studying the Adapter and Bridge patterns. The suggested study...
... ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommuting work vice chair orange county java users group http://www.ocjug.org/ ...
Ray Tayek
rtayek@...
Apr 13, 2002 1:08 am
55
... another article on mvc: http://ootips.org/mvc-pattern.html there is another related pattern called presentation/abstraction/controller (PAC) ...
Ray Tayek
rtayek@...
Apr 13, 2002 1:43 am
56
We will be discussing the adapter and bridge patterns tonight. Time, directions, location, text, and other related resources can be found at the Yahoo! group...
Tonight we discussed the Adapter and Bridge patterns. The adapter seemed to garner the most debate. We spent a lot of time trying to define pluggable...
MessageAnyone is fine with me. What are the patterns for next meeting? ... From: Scott Hodson [mailto:scott@...] Sent: Thursday, April 18, 2002 10:56 PM ...
Bruce Blachford
BruceB@...
Apr 19, 2002 1:08 pm
59
Mediator and Observer ... From: Bruce Blachford [mailto:BruceB@...] Sent: Friday, April 19, 2002 5:48 AM To: ocpatterns@yahoogroups.com Subject: RE:...
I prefer option 1, also because of it's simplicity. I also like the idea of a review session to contrast and compare the patterns we've studied so far. So, I'm...
Hi all, in our discussion last night about the bridge pattern someone mentioned the "classic collision problem". I believe it was the person to the left of...