added site.
[utils] / support / cdi / src / site / xdoc / index.xml
diff --git a/support/cdi/src/site/xdoc/index.xml b/support/cdi/src/site/xdoc/index.xml
new file mode 100644 (file)
index 0000000..274a9db
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  
+  <properties>
+    <title>user guide</title>
+    <author email="erik@brakkee.org">Erik Brakkee</author>
+  </properties>
+  <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
+        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>Package overview:</p>
+      <ul>
+        <li><a href="apidocs/org/wamblee/cdi/package-summary.html">CDI</a></li>
+      </ul>
+      <div class="infoMessage"><strong>Note</strong>:
+        You need a Java EE 6 environment to use CDI. 
+      </div>
+
+    </section>
+
+    <section name="Maven POM configuration">
+      <table>
+        <tr>
+          <th>groupId</th>
+          <th>artifactId</th>
+        </tr>
+        <tr>
+          <td>org.wamblee</td>
+          <td>wamblee-support-cdi</td>
+        </tr>
+      </table>
+    </section>
+
+  </body>
+</document>