Slashdot stories can be listened to in audio form via an RSS feed, as read by our own robotic overlord.

 



Forgot your password?
typodupeerror
Java

+ - IoC: Comparing Guice to Spring

Submitted by
rjrjr
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.
"
Java

+ - Guice 1.0, Java Dependency Injection from Google

Submitted by
Bob Lee
Bob Lee writes "We're pleased to announce the open source release of Google's internal Java dependency injection framework Guice. Guice wholly embraces annotations and generics, thereby enabling you to wire together and test objects with less effort than ever before. Annotations finally free you from error-prone, refactoring-adverse string identifiers."

Real Users find the one combination of bizarre input values that shuts down the system for days.

Working...