• 80% of business Java related • Contribute to open-source projects • 10% of work force on OSS • JSR-346 EG member • OSGi Alliance member • www.serli.com @SerliFr 4
• 80% of business Java related • Contribute to open-source projects • 10% of work force on OSS • JSR-346 EG member • OSGi Alliance member • www.serli.com @SerliFr 4
• dynamic, typesafe, annotations, etc ... • CDI extension to use CDI programming model inside OSGi • A JBoss Weld project • need to bootstrap Weld in an OSGi environment • Developed by SERLI R&D team • Mathieu & Matthieu • You don’t need to know OSGi • make the OSGi programming model disappear => CDI • but still compatible
: services.first()) { actualService.doSomething(); // called 0-1 service } for (MyService actualService : services) { actualService.doSomething(); // called 0-n service(s) } services.get().doSomething(); // can fail, not dynamic services.size(); services.isUnsatisfied(); services.isAmbiguous();
servers • using Weld-OSGi in Java EE apps • Java EE apps talking to each other through OSGi services • Java EE apps talking to OSGi bundles • work in progress (works on JBoss AS) ;-) • Integration with OSGi enterprise specs • CDI/OSGi => RFC 146 • Inspired by Weld-OSGi