Re:Ask HN: Enterprise Java guy needs advice on what to trans...
by rlawson on Thursday May 05, 2011 @09:06PM
(#2519605)
You hit the nail on the head. Java EE programming is consolidating into Spring programming. I think it is because Spring gives you a layer on top of the app servers that finally achieves the write once run anywhere as long as you stick with Spring. That part is good but it is a shame that you need so much stuff to achieve this. I always cringe when maven pulls down all spring jars (20 or 30 ???)
Almost everyone using Spring for DI seems to be leaning toward Spring MVC these days, probably because they don't want to do too much pick-and-choosing. And the default choice for a DI framework seems to be Spring as well, which means a Java programmer is now a Spring programmer.
This is probably why the "java cookbook" style books haven't been updated since 2004. They're treated as an evolutionary dead end, though I don't think they should be.