aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré>
Subject Re: CDI annotations in OSGi
Date Sun, 25 Mar 2012 09:19:01 GMT

it could be a good addition in Aries. I just wonder if it's not already 
covered by OpenEJB.


On 03/25/2012 10:59 AM, Christian Schneider wrote:
> Hi all,
> I have seen the blueprint annotations prototype but the annotations
> there do not seem to be standardized.
> I wonder if it would make sense to implement the CDI annotations from
> Java EE. The advantage would be that there is already a lot of
> documentation on how they work and people with Java EE experience would
> already know them. Are there already projects that provide this? Would
> it make sense to implement this in Aries?
> As I currently use blueprint a lot I also wonder how well CDI
> annotations would work together with blueprint. CDI seems to also define
> a beans.xml but it is different from blueprint so I am not sure if this
> can be made compatible.
> If I understood CDI correctly then CDI processing is triggered by a
> beans.xml in the META-INF directory. So we might use the existence of a
> OSGI-INF/blueprint/*.xml as a trigger for CDI processing in the
> blueprint context.
> Does that make sense? Would CDI annotations be a good alternative to the
> (as far as I know proprietary) blueprint annotations?
> Christian

Jean-Baptiste Onofré
Talend -

View raw message