title: OSGI - CDI / is it usable right now ? [Oct 2012]
body: <p>I'm quite new to Java EE 6 and OSGI concept, and i'm quite excited about it...</p>
  
  <p>The most exciting feature is the dynamic dependancy injection at execution time.</p>
  
  <p>I've seen some really great presentation where the application is ajaxly updated when a bundle is activated or unactivated, i like that way of decoupling the application in modules and updated it at run time ...</p>
  
  <p>Second though, i'm quite boring about XML configuration files, i think Java EE 6 with <code>javax.inject</code> and others annotations is a really good thing...</p>
  
  <p>So, I'm quite ready to start using OSGI for my webapp but first i need some information..</p>
  
  <p>I can't find a clear Status for the progress of the OSGI - CDI Integration in a Java EE Containter.</p>
  
  <p>(gf-cdi-osgi-integration / osgi-cdi / osgi-cdi-api)</p>
  
  <p>I think the question invoke weld-osgi too.</p>
  
  <ol>
  <li>Does the latest glassfish 3.1.2.2 support CDI annotation for OSGI like
  @OsgiService and @Publish ? 
  or will it be release in a future release ?</li>
  </ol>
  
  <p>(I've seen samples using @OsgiService and maven depenmdancy that seem to enable this annotation but nothing about @Publish for now...)</p>
  
  <p>1bis - Does Jboss AS support that feature ? Which of theses Java EE container has the best integration with OSGI ?</p>
  
  <ol>
  <li><p>What is fighterfish (Oracle) and is it related to glassfish osgi ?</p></li>
  <li><p>So basically if i want to developp war with cdi and osgi now which env do i need</p>
  
  <p>(Server - Version - Plugins )</p></li>
  <li><p>Moreover which maven dependancy are required to be able to use @publish and @osgiservice </p></li>
  <li><p>And just to clarify something, can i use hibernate with OSGI in my project if i accept that hibernate lib are packed in my war / wab and will not be provided as bundle</p>
  
  <p>Same question for any others lib ...</p></li>
  </ol>
  
  <p>Thanks for your time and explanation, btw i've already read lots of forum and blog <a href="https://github.com/tangyong/gf-cdi-osgi-integration" rel="nofollow">https://github.com/tangyong/gf-cdi-osgi-integration</a> 
  for example , i just need a clear answer to my question :)</p>