Re:Twitter Shifting More Code to JVM, Citing Performance and...
by GrooveStomp on Monday July 04, 2011 @04:00PM
(#2727671)
This exactly describes my very brief experience working with Java professionally. Back in university it was no big deal - the differences between C++ and Java weren't that big. In a production environment, though; ... XML, XML, XML!
All the XML-wrapper tools for Java are supposedly the reason why there is so much XML config stuff going on - but the result is that you end up writing soo much code in XML instead of the actual language that you're supposed to be using.
It's like somebody looked quickly at the MVC pattern, got it all wrong, and now Java has very tight coupling between XML and Java code for any production environment that hopes to leverage existing tools.
Re:Twitter Shifting More Code to JVM, Citing Performance and...
by bborud on Tuesday July 05, 2011 @01:58PM
(#2730828)
And the really bad part is that in Java XML has always been extremely painful to work with.
Re:Twitter Shifting More Code to JVM, Citing Performance and...
by bluelu on Monday July 04, 2011 @03:46PM
(#2727623)
That's one of the reasons I left my first and last employer. Tons of compnontent wiring written in xml, tons of configuration directives, but the end only the defaults were used anyway. Impossible to do updates because everything could break.
Re:Twitter Shifting More Code to JVM, Citing Performance and...
by sshah on Monday July 04, 2011 @11:35PM
(#2728534)
Spring offers some if the features to JAVA, that these newer languages have. Spring annotations lessens the XML configuration, none at times, it's AOP jar allows passing methods to methods as in some of the functional types, etc. Problem is people haven't updated their codebase and continue maintaining the old XMLs.
kill me. Makes me want to kill myself.