views:

1238

answers:

6

Have you found Guice useful to manage DI in you applications or run stress tests or even brought an application using Guice to a production phase in your company?

If you have, have you run into any issues with it?

+6  A: 

I've heard that google uses guice in production AND they have been using it in production for more than 2 years now.

anjanb
Almost 3 now -- I can't believe it. We've used it in production since _before_ the beginning; it grew up in production!
Kevin Bourrillion
+15  A: 

Confirmed, Google uses Guice for many internal Java apps. You can rely on it!

Jesse Wilson
+5  A: 

Guice is a fantastic framework. I use it extensively in a huge (> million lines) application and it is great for testing. Google has done a lot to make it production-ready and it definitely is. I can't say much about Spring because I've never used it, but I highly recommend Guice.

Kai
+1  A: 

I've used Google Guice in a production application and love it. I have had some issues with the performance of the application, but I believe that's more of my issue than any piece of the technology stack I'm using. Currently, I'm using Guice with JSF RI, and there have been some difficult times in getting it all set up properly. There really wasn't a good resource for getting Guice to work with JSF, especially the RI.

Chris Stewart
Any particular reason you want Guice instead of Weld with JSF 2.0? Weld is the JSR-330 provider in Glassfish. I'd like to hear your experiments, as we need to have a non-JEE alternative to our deployments.
Thorbjørn Ravn Andersen
A: 

It works really well for us as Teachscape. Brings things like fail-early and static typing to the next level, and Guice is amongst the best code written you can find in Java land.

Eelco
+2  A: 

Yes, we use it in our software. We replaced Spring with Guice. I think it's a nice programming style to use annotations in the java code instead of separate xml configuration.

OliBlogger