karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: Recommended CDI tool, Blueprint / DS / Dependency Management / Low level API?
Date Mon, 18 Dec 2017 06:52:45 GMT
I started with blueprint but today I am almost exclusively using
declarative services. DS is a lot more dynamic than blueprint. So it causes
less issues in OSGi as it adapts better to changes. DS is a bit of a
learning curve but is very well worth the effort.

One isue with DS is that it does not have special support for JPA or CXF.
For JPA you will not be able to use the @Transactional annotation but there
are good solutions for it like the Aries JPA JPATemplate or Aries
tx-control. For CXF you can use either CXF-DOSGi or Aries JAX-RS whiteboard.

http://enroute.osgi.org/services/org.osgi.service.component.html
You can also find some hints about DS here:
http://liquid-reality.de:8090/x/CYACAQ .

Christian

2017-12-17 21:59 GMT+01:00 Guenther Schmidt <schmig68@gmail.com>:

> Hello All,
>
>
> what is the recommended CDI tool?
>
>
> Should I use
>
>    - the low level API (BundleActivator),
>    - Felix Dependency Management,
>    - Blueprint,
>    - or annotation based DS?
>
> I'd rather not use the first two options, i don't want to buy into
> anything non-standard.
>
>
> Guenther
>



-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com

Mime
View raw message