On Tue, Mar 6, 2012 at 7:56 AM, Lukas Eder <[email protected]> wrote:

> Thank you. You might enjoy these readings about architecture astronauts :-)
> http://www.joelonsoftware.com/articles/fog0000000018.html
> http://www.joelonsoftware.com/items/2005/10/21.html
> http://www.joelonsoftware.com/items/2008/05/01.html


Hah, yes, I'd read those before but it is good to be reminded of them.
 Unfortunately it seems that Java libraries from a certain stretch of time,
perhaps 2001 to 2009, are especially vulnerable to this problem.  In
particular, anything involving web containers.

The software I'm currently working on requires a JSON-REST API, and yet
it's a real struggle to find a way to achieve this without completely
repackaging everything into a war and pulling in huge dependencies like
Tomcat, Spring, configuring web.xml files, etc.

XML is the worst, use of XML for anything other than its intended purpose,
a text MARKUP language, is a sure sign of an architecture astronaut.
 Whoever decided that XML was a great language for config files needs a
good kicking IMHO.  I'm looking at you Maven.

We're lucky that modern Java library writers are finally recognizing these
problems and fixing them.  For example, JSoup is a beautiful example of a
Java library, simple, the easy use-cases are easy etc.  I'm hopeful that
I'll develop a similar affection for Jooq.

Anyway, enough ranting for now :-)

Ian.

-- 
[email protected]
Co-founder and CTO
OneSpot

Reply via email to