Announcing Guice 4.1

9 views
Skip to first unread message

Sam Berlin

unread,
Apr 1, 2011, 11:59:26 AM4/1/11
to google...@googlegroups.com, google-g...@googlegroups.com
Guice Fans,

On behalf of the Guice team and community, and I would like to announce Guice 4.1.  Guice 4.1 is a radical rethinking of Guice, dependency injection, and how java libraries are shipped.  True to the spirit of Guice ("Guice is not a kitchen sink"), Guice 4.1 strips away all the features that have become attached to Guice over its 5 years of life.  Guice 4.1 has no binding API, no SPI, no extension support, no scopes (beyond singletons), and no method injection.  Guice 4.1 doesn't even have a jar or any kind of library you include in the program.

What does Guice 4.1 have?  A single file, otherwise known as MiniGuice.  It is written entirely by Jesse Wilson.  Jesse also did the majority of work on Guice 2.0, so you can rest assured that Guice 4.1 is 2.05 times better.

You use Guice 4.1 through a very simple API:

   MyProgram program = MiniGuice.inject(MyProgram.class, new MyModuleOne(), new MyModuleTwo());

Get Guice 4.1 today at http://goo.gl/kjEs8 .

Thanks!
  Sam, on behalf of the Guice 4.1 team

Reply all
Reply to author
Forward
0 new messages