Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Java

Submission + - IoC: Comparing Guice to Spring

rjrjr writes: "There's a new kid on the block of Java dependency injection, Google's Guice (pronounced "juice"). Eric Burke wrote up this comparison of Guice and Spring. Here's a choice quote:

At the end of the day, I compared my modules — written in Java — to my Spring XML files. The modules are significantly smaller and easier to read. Then I realized about 3/4 of the code in my modules was unnecessary, so I stripped it out. They were reduced to just a few lines of code each.
"

Administration: An ingenious abstraction in politics, designed to receive the kicks and cuffs due to the premier or president. -- Ambrose Bierce

Working...