avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject Must Read Bitter Java
Date Wed, 26 Jun 2002 12:13:22 GMT
I highly recommend the book "Bitter Java" by Bruce Tate (published by
Manning Publications).  Someone gave me a copy to help me come to grips
with a way of explaining things.  However, I found this book a treasure
trove of information.

Bitter Java is about studying Antipatterns that are common in Java
programming.  He covers a wide range of issues from memory management
to EJB design.  There are antipatterns in Cache systems, Servlets,
and more.

In fact, I suggest that we follow the same pattern of representing ideas
as Bruce Tate by giving anti-pattern and corrective pattern.  It will
help us get on the same page much quicker if we know what anti-pattern
we are trying to correct with our new pattern.

Case and point: meta-data.  We had established the anti-pattern of
inheritance based meta data was evil and caused unpredictable results.
The proposed plan of standardizing meta-data was the pattern to correct
for those issues.  Stefano was not up on that general revelation, and
did not see it our way until he understood the problem before the fix.

Case and point: component resolution. Stephen challenged our notion of
common practice on role naming, but neglected to offer a real
He offered the pattern that exists in other systems, but no
When we came up with the perfect anti-pattern (security is easier to
implement for the container), all dissenters realized the true benefit
of Stephen's approach.

This is something we need to do for the pooled component issue.  We need
to establish the antipattern, so we can understand the problem domain
enough to come up with a better pattern for the replacement.

"They that give up essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety."
                - Benjamin Franklin

To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>

View raw message