You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by bu...@apache.org on 2013/10/04 15:12:21 UTC
svn commit: r881139 - in /websites/staging/openwebbeans/trunk/content: ./
owbsetup_se.html
Author: buildbot
Date: Fri Oct 4 13:12:20 2013
New Revision: 881139
Log:
Staging update by buildbot for openwebbeans
Modified:
websites/staging/openwebbeans/trunk/content/ (props changed)
websites/staging/openwebbeans/trunk/content/owbsetup_se.html
Propchange: websites/staging/openwebbeans/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Oct 4 13:12:20 2013
@@ -1 +1 @@
-1529151
+1529155
Modified: websites/staging/openwebbeans/trunk/content/owbsetup_se.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/owbsetup_se.html (original)
+++ websites/staging/openwebbeans/trunk/content/owbsetup_se.html Fri Oct 4 13:12:20 2013
@@ -82,17 +82,37 @@
<li>Done! Congratulations.</li>
</ol>
<h3 id="adding-required-jars-to-your-project">Adding required jars to your project</h3>
-<p>You can add OpenWebBeans to your project manually by adding jars or with Apache Maven. How to download is explained here: <a href="/openwebbeans/download.html">download page</a>.</p>
+<p>You can add OpenWebBeans to your project manually by adding jars or with Apache Maven.
+How to download is explained here: <a href="/openwebbeans/download.html">download page</a>.</p>
<p>For JavaSE you need:</p>
<ul>
-<li><strong>spi</strong></li>
-<li><strong>impl</strong></li>
+<li><strong>openwebbeans-spi.jar</strong></li>
+<li><strong>openwebbeans-impl.jar</strong></li>
</ul>
-<p>Those two parts of OpenWeBeans are what you could call "system core". They are the only OWB artifacts you need for JavaSE capabilities and for the time being the existing plugins basically just adds JavaEE capabilities.
-After you have added the jars described above to your project accordingly to the download page and added them to your projects classpath.</p>
+<p>Those two parts of OpenWebBeans are what you could call "system core".
+These are the only OWB artifacts you need for JavaSE capabilities and
+for the time being the existing plugins basically just adds JavaEE capabilities. </p>
+<p>You also need to add some spec API jars for the CDI, atinject and interceptors
+specifications.</p>
+<ul>
+<li><strong>geronimo-jcdi_1.0_spec.jar</strong></li>
+<li><strong>geronimo-atinject_1.0_spec.jar</strong></li>
+<li><strong>geronimo-interceptor_1.1_spec.jar</strong></li>
+</ul>
+<p>After you have added the jars described above to your project accordingly
+to the download page and added them to your projects classpath.</p>
<h3 id="bootstrapping-openwebbeans">Bootstrapping OpenWebBeans</h3>
-<p>For now we recommend two ways for booting up the OpenWebBeans container: <a href="http://deltaspike.apache.org/documentation.html#with-java-se"><strong>Deltaspike CdiCtrl</strong></a> or booting it yourself in i.e. a standard main method. For most projects Deltaspike CdiCtrl will be the smoother choice. Going native and booting it yourself could however be useful if you need full control to do advanced things. Deltaspike CdiCtrl is documented in the link provided above.</p>
-<p><strong>Option number two - booting yourself</strong></p>
+<p>For now we recommend two ways for booting up the OpenWebBeans container:
+<a href="http://deltaspike.apache.org/documentation.html#with-java-se"><strong>Deltaspike CdiCtrl</strong></a> or booting it yourself in i.e. a standard main method. </p>
+<h4 id="option-number-one-apache-deltaspike-cdictrl">Option number one - Apache DeltaSpike CdiCtrl</h4>
+<p>Apache DeltaSpike is a set of portable CDI Extensions. It contains a module which allows
+to control various CDI-Containers without having to change your own code. It contains an API
+and multiple implementations for a few CDI Containers.</p>
+<p>For most projects <a href="http://deltaspike.apache.org/documentation.html#with-java-se"><strong>Deltaspike CdiCtrl</strong></a> will be the smoother choice to boot your project
+in JavaSE . </p>
+<h4 id="option-number-two-booting-yourself">Option number two - booting yourself**</h4>
+<p>Going native and booting Apache OpenWebBeans yourself could however be useful if you need full control
+to do advanced things. </p>
<div class="codehilite"><pre><span class="kn">import</span> <span class="nn">org.apache.deltaspike.cdise.api.CdiContainer</span><span class="o">;</span>
<span class="kn">import</span> <span class="nn">org.apache.deltaspike.cdise.api.CdiContainerLoader</span><span class="o">;</span>
<span class="kn">import</span> <span class="nn">org.apache.deltaspike.cdise.api.ContextControl</span><span class="o">;</span>