Weld-osgi is a great library, it's very powerful and well coded. But,
WHY I CAN'T FIND IN INTERNET SIMPLE EXAMPLE HOW TO USE IT WITH OSGI?
10 hours have passed and what I found are two sources from jboss and glassfish. Why? Why must I read weld-osgi sources trying to understand how it works so make my google queries. Why must I understand how glassfish use it? Do you do it having some interests? All instructions which are given in official site are for version 1. They don't work with current version. Please, explain, why is it so difficult to write a very simple example? What, was this library developed for large corporations? Why must I spend my time to analyze its sources if I JUST want to use it in my application. 10 hours and no result.
WOULD YOU BE SO KIND TO GIVE AN EXAMPLE HOW TO USE IT WITH OSGI (FELIX)?
This question is also on stackoverflow
Weld 2 uses Pax CDI for OSGi environment support (instead of the former weld-osgi project).
Pax CDI documentation can be found here: https://ops4j1.jira.com/wiki/display/PAXCDI/Pax+CDI
Additional information can be found at: