(no commit message)
[utils] / support / cdi / src / site / xdoc / index.xml
index 274a9db6102c44e4dfbeb2ca27a540d342cc2d16..214a91d7d906e2c8da8355da4f104af6bbd7864d 100644 (file)
   <body>
     <section name="Overview">
       <p>The CDI (Contexts and Dependency Injection, JSR-299) support library contains support for
-        injecting contextual references into any object. THis is useful for integration of CDI in
+        injecting contextual references into any object. This is useful for integration of CDI in
         application managed objects or for integration in third-party frameworks. Injection based on
         for instance @EJB, @Resource, and @PersistenceContext becomes a one liner. 
-        In addition, there is also testing support in the APIs.</p>
+      </p>
+      <p>
+        This is a key component for integrating Java EE dependency injection into several (web) 
+        frameworks since it allows Java EE dependency injection into regular objects.
+      </p>
       <p>Package overview:</p>
       <ul>
-        <li><a href="apidocs/org/wamblee/cdi/package-summary.html">CDI</a></li>
+        <li><a href="apidocs/org/wamblee/cdi/package-summary.html">cdi</a></li>
+      </ul>
+      <p>Test support with Weld</p>
+      <ul>
+        <li><a href="testapidocs/org/wamblee/cdi/package-summary.html">cdi</a>: This package
+          contains the <code>BeanManagerSetup</code> class which can be used to quickly setup a
+          beanmanager in Java SE (currently based on Weld).</li>
       </ul>
       <div class="infoMessage"><strong>Note</strong>:
         You need a Java EE 6 environment to use CDI. 
@@ -35,6 +45,8 @@
           <td>wamblee-support-cdi</td>
         </tr>
       </table>
+      <p>Use the same named artifact with scope <code>test</code> and <type>test-jar</type> to use
+        the JavaSE testsupport class.</p>
     </section>
 
   </body>