Joseph, Eclipse (really 'e4') comes
with its own injection framework that is JSR330 compliant but also supports
dynamics. If you're going to be using this to inject UI elements for Eclipse
4 or EAP then please use the one we supply. Look at org.eclipse.e4.core.contexts
and org.eclipse.e4.core.di.*...
We do understand that there are other
frameworks out there (notably Guice) and intent to ensure that they play
well together at some point in the future. For now you should uise ours
since you get if for 'free'.
Thanks for your interest in 4.x,
Eric
From:
Joseph D Carroll Jr <jdsalingerjr@xxxxxxxxx>
To:
e4-dev@xxxxxxxxxxx
Date:
04/10/2012 11:58 AM
Subject:
[e4-dev] 3.x & 4.x Compatible DI
Sent by:
e4-dev-bounces@xxxxxxxxxxx
All-
I am looking into building a visualization engine for
charting and other such purposes using dependency injection. I am
currently using Eclipse 3.7 and I am planning on starting migration to
4.x late 2012 early 2013, however I would like the visualization engine
to be running this summer. Does anyone have any recommendations about
using DI in the 3.x & 4.x environments? Are there any DI frameworks
I should steer clear of or towards?