You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Berin Loritsch <bl...@apache.org> on 2002/06/26 14:13:22 UTC

Must Read Bitter Java

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
anti-pattern.
He offered the pattern that exists in other systems, but no
anti-pattern.
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Must Read Bitter Java

Posted by Mircea Toma <mi...@bigfoot.com>.
electronic version at: http://www.theserverside.com/books/Manning/index.jsp

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Must Read Bitter Java

Posted by Leo Sutic <le...@inspireinfrastructure.com>.
http://www.j2life.com/bitterjava/bitterjava.html

> From: Berin Loritsch [mailto:bloritsch@apache.org] 
> Subject: Must Read Bitter Java


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>