tag:blogger.com,1999:blog-637417304187784899.post1256966640386723138..comments2024-01-04T09:04:42.121+00:00Comments on James Strachan's Blog: JSR 299 (Contexts and Dependency Injection for Java) looks pretty goodJames Strachanhttp://www.blogger.com/profile/12591119339035350067noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-637417304187784899.post-84651881456695586612009-07-30T08:46:49.412+00:002009-07-30T08:46:49.412+00:00@Michaelok as it happens JSR330 is going strong an...@Michaelok as it happens JSR330 is going strong and looking great - it should be supported by both Spring and Guice.<br /><br />http://code.google.com/p/atinject/<br /><br />and so far the signs are good that Gavin and Bob are working together nicely and that JSR 299 could well be based on top of JSR 330!James Strachanhttps://www.blogger.com/profile/12591119339035350067noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-81043599061245955162009-07-30T04:52:21.451+00:002009-07-30T04:52:21.451+00:00I happen to know some of Bob's arguments and I...<i>I happen to know some of Bob's arguments and I could make my opinion.</i><br /><br />Well, let's hear it then. Because actions speak louder than words, and Bob not being part of the JSR sends a strong message the direction of the "committee of Gavin" was not "pretty good". I, for one, am sticking with Guice.Michaelokhttps://www.blogger.com/profile/04875120497192685911noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-14370819252004884322009-03-26T12:18:00.000+00:002009-03-26T12:18:00.000+00:00@Boris,you can also take a look at OpenWebBeans:ht...@Boris,<BR/>you can also take a look at OpenWebBeans:<BR/>http://incubator.apache.org/openwebbeans<BR/><BR/>LieGrue,<BR/>strubstruberghttps://www.blogger.com/profile/17156257317473708305noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-28679174005734486692009-03-23T22:33:00.000+00:002009-03-23T22:33:00.000+00:00JSR-299 looks like Java's modern form of an applic...JSR-299 looks like Java's modern form of an application bus enabling to plug different component models to let the components talk together.<BR/>http://www.jroller.com/dmdevito/entry/seam_is_a_kind_ofDominique De Vitohttps://www.blogger.com/profile/03790530434856406116noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-47007437566212160792009-03-18T12:26:00.000+00:002009-03-18T12:26:00.000+00:00@JimHow about you read the spec, check the RI and ...@Jim<BR/>How about you read the spec, check the RI and make your informed opinion on the subject instead of propagating Bob's which he hasn't backed with technical arguments yet on the thread you refer to.<BR/><BR/>I happen to know some of Bob's arguments and I could make my opinion.<BR/><BR/>Bob is a brilliant person and friend so nothing against him.Anonymoushttps://www.blogger.com/profile/12946048387636548675noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-41385969645545756952009-03-17T20:07:00.000+00:002009-03-17T20:07:00.000+00:00Interesting and a shame.IsmaelInteresting and a shame.<BR/><BR/>IsmaelIsmael Jumahttps://www.blogger.com/profile/17398483226873559286noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-4566177575424822392009-03-17T20:03:00.000+00:002009-03-17T20:03:00.000+00:00Sadly, it only borrows from Guice, without Guice's...Sadly, it only borrows from Guice, without Guice's understanding of how real DI works. Bob Lee (creator of Guice) recently posted his dissatisfaction with JSR-299 on the Guice mailing list: <A HREF="http://groups.google.com/group/google-guice/msg/f795f369f99df62c" REL="nofollow">http://groups.google.com/group/google-guice/msg/f795f369f99df62c</A>Jim Moorehttps://www.blogger.com/profile/06986225768048728564noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-31956646362835664402009-03-17T17:53:00.000+00:002009-03-17T17:53:00.000+00:00"Ironcially the annotations used in JSR 299 are al..."Ironcially the annotations used in JSR 299 are almost exactly the same as those used in Guice 2 (@Produces/@Provides, @Named, @BindingAnnotation/@BindingType etc)."<BR/><BR/>That is not coincidental or surprising. From Gavin King's blog[1]:<BR/><BR/>"The component model is deeply influenced by Google Guice and Seam."<BR/><BR/>and<BR/><BR/>"Some members, notably Bob Lee"<BR/><BR/>You'd expect it to borrow a lot from Guice once that information is available. :)<BR/><BR/>[1] http://in.relation.to/Bloggers/WebBeansSneakPeekPartIIntroducingWebBeansIsmael Jumahttps://www.blogger.com/profile/17398483226873559286noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-37733550850234336142009-03-17T17:36:00.000+00:002009-03-17T17:36:00.000+00:00Thanks for the pointer! Reading it now...Thanks for the pointer! Reading it now...Boris Bokowskihttps://www.blogger.com/profile/06344587055927544695noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-48129914574697122012009-03-17T17:27:00.000+00:002009-03-17T17:27:00.000+00:00The RI of JSR 299 is Apache Licensed...http://www....The RI of JSR 299 is Apache Licensed...<BR/><BR/>http://www.seamframework.org/WebBeans/WebBeansDevelopmentOverview<BR/><BR/>That should be OK for use in Eclipse shouldn't it?James Strachanhttps://www.blogger.com/profile/12591119339035350067noreply@blogger.comtag:blogger.com,1999:blog-637417304187784899.post-75459676847571099272009-03-17T17:14:00.000+00:002009-03-17T17:14:00.000+00:00In the Eclipse e4 project, we would like to suppor...In the Eclipse e4 project, we would like to support dependency injection but cannot just use one of the existing implementations due to licensing issues, and because we need to be careful about footprint in our core pieces. I started adding support for @Inject, @Resource, @PostConstruct, and @PreDestroy. The current (toy) code uses reflection to avoid hard dependencies on the actual types, but it's at least a start. If you have any feedback, that would be very much appreciated!<BR/><BR/>I agree with you that supporting a common set of annotations across the different DI implementations makes a lot of sense. However, the eval license terms for JSR 299 turn me off, so I will probably have a look at Guice 2 for inspiration and ignore JSR 299 for now.Boris Bokowskihttps://www.blogger.com/profile/06344587055927544695noreply@blogger.com