JSR 365: CDI 2.0

80 views
Skip to first unread message

Michael B

unread,
Jan 22, 2016, 7:35:25 PM1/22/16
to google-guice
Are the maintainers of Guice aware of JSR 365 and similar requests?

I ask because none of the expert group members are from Google. I don't know how common that is or what the implications of the lack of membership are.

Do the maintainers of Guice intend to incorporate the proposed features if and when it is eventually complete?

https://jcp.org/en/jsr/detail?id=365

As you can see below, it is very extensive, and some sections seem inspired by Guice and other frameworks:

https://docs.jboss.org/cdi/spec/2.0.EDR1/cdi-spec.html

Sam Berlin

unread,
Jan 25, 2016, 2:34:24 PM1/25/16
to google-guice
No, I wasn't aware of JSR 365 (nor similar requests).

I don't have any plans (nor am I aware of any plans) to incorporate any of the proposed features into Guice.

Guice has a very opinionated view on what it does: it's a lightweight dependency injection framework... and that's it.  I don't believe incorporating the CDI specs into Guice would be in the user's interest.  Guice offers a number of hooks that allow extensions to expand its surface area, and enterprising individuals may be able to utilize those hooks.  The core of Guice, however, is going to remain simple so that users can have a reasonable mental model of how things work. 

sam


--
You received this message because you are subscribed to the Google Groups "google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/ac0bfc9e-c742-43bb-8d71-905ec0028598%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages