On Tue, 01 Apr 2003 14:40:45 -0800 (PST) [EMAIL PROTECTED] wrote: > However, you'll want to > make sure any operations on "items" are threadsafe... > > Did you say that the collection only gets written once?
I "think" I'd be ok, because yes that collection is only written once. > In either case, Collections by nature are NOT > synchronized automagically. > > Check out the stuff in here on forcing threadsafe > collections: > http://java.sun.com/j2se/1.4.1/docs/api/java/util/ArrayList.html > Interesting. I ran into the same problem with SimpleDateFormat also not being Thread safe. In regard to the Singleton thing, I found this link and I like the last approach wrapping regular classes in a Factory. http://members.tripod.com/rwald/java/articles/Singleton_in_Java.html Anyway, thanks for the feedback I appreciate it. -- Rick Reumann --- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] http://www.sys-con.com/fusetalk
