Jacques Le Roux wrote: > Very good article indeed. What do we learn more in the book about DCL? > If there is nothing more in the book, I suppose we prefer to use the > static variable solution in OFBiz?
That is only good enough for certain situations. Not for map-based lookups. The article could be better in explaining *why* the static variable is better/different. The book does. > From: "Adrian Crum" <[email protected]> >> --- On Fri, 7/2/10, Scott Gray <[email protected]> wrote: >>> The book would have done well to use a more complicated >>> example of why DCL shouldn't be used though. This >>> article seems to do a better better job of it: >>> http://www.ibm.com/developerworks/java/library/j-dcl.html >> >> That was the article I found a while back - before I got the book. >
