Also i simply disagree with you that "duplication of code"
is a bigger
downside than "decoupling". This is simply a value judgement. There's
no book or guide that can prove you or I right. It'd be interesting to
find out what the rest of JBoss thinks about duplication vs decoupling
when you don't yet have time to add a new core / common module. The
fact is you can always refactor it out to common code later.
Forgot to say there is
actually alot of books and guides about this - go
google about DRY "Don't repeat you self" or YAGNI "You ain't gotta
need it"
/max