While I don't wanna freak out the Guicer's pondering about adding JSR
250 support I just wanted to mention JSR 299 (what used to be called
"Web Beans"

http://macstrac.blogspot.com/2009/03/jsr-299-contexts-and-dependency.html

initially I thought it was a bit pants - but on reading a recent draft
it looks very close to lots of Guice 2 annotations
(@Produces/@Provides, @Named, @BindingAnnotation/@BindingType etc).
It'd be awesome if one day we could have a Guice module that worked
with JSR 299's annotations.

I wonder have any guicer's read the spec & have any feedback? Sure
Guice can do loads of good stuff not in the spec; but what is in the
spec in the dependency injection & scopes part - does seem to map to
Guice spookily well and solves a pretty reasonable first stab at an
80% solution of the dependency injection space.

In attempting to implement it with Guice the main complication seems
to be using the extra development/production deployment annotation
matching stuff - which is quite handy - and that producer methods
don't have to be on a Module implementation (which is also useful).

Thoughts?

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to