0 Replies Latest reply: Apr 11, 2012 5:20 AM by Christian Beikov RSS

    OSGi and CDI/Weld usage

    Christian Beikov Newbie

      I have found the weld-osgi project here: https://github.com/mathieuancelin/weld-osgi

       

      I already tried to use the stuff, but wasn't able to get it running and finally I have no more ideas what to do to make it work.

      I am using Maven to build my OSGi projects and I am trying to implement an OSGi Service like:

       

      @Published

      public class ServiceImpl implements Service{

      // code

      }

       

      This service should be useable in a hybrid web application(OSGi enabled EE6 web app) like this:

       

      public class Bean{

      @Inject @OSGiService private Service service;

      // code

      }

       

      Where can I find the needed jars/dependencies to make this work?