openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r881105 - in /websites/staging/openwebbeans/trunk/content: ./ owbsetup_ee.html
Date Fri, 04 Oct 2013 07:23:12 GMT
Author: buildbot
Date: Fri Oct  4 07:23:11 2013
New Revision: 881105

Log:
Staging update by buildbot for openwebbeans

Modified:
    websites/staging/openwebbeans/trunk/content/   (props changed)
    websites/staging/openwebbeans/trunk/content/owbsetup_ee.html

Propchange: websites/staging/openwebbeans/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Oct  4 07:23:11 2013
@@ -1 +1 @@
-1528609
+1529094

Modified: websites/staging/openwebbeans/trunk/content/owbsetup_ee.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/owbsetup_ee.html (original)
+++ websites/staging/openwebbeans/trunk/content/owbsetup_ee.html Fri Oct  4 07:23:11 2013
@@ -74,11 +74,55 @@
 
 
         <div id="OwbContent_" class="wiki-content">
-<h1 id="openwebbeans-faq">OpenWebBeans FAQ</h1>
-<p>TODO
-- where does OWB differ from the CDI-1.0 spec
-- what is the default EL version used in OWB
-- how can I provide own plugins if there is a new spec part (e.g EL-3.0) I like to support</p>
+<h1 id="adding-openwebbeans-to-your-servlet-container-project">Adding OpenWebBeans
to your Servlet Container project</h1>
+<p>To add OpenWebBeans to your Servlet Container project you need to take the following
steps:</p>
+<ol>
+<li>Add required jars to your project</li>
+<li>Add web and other plugins accordingly to your needs</li>
+<li>In some cases add org.apache.webbeans.servlet.WebBeansConfigurationListener to
web.xml as a listener</li>
+<li>Done! Congratulations.</li>
+</ol>
+<h3 id="adding-required-jars-and-plugins-to-your-project">Adding required jars and
plugins 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>For JavaEE you always start with:</p>
+<ul>
+<li><strong>spi</strong></li>
+<li><strong>impl</strong></li>
+<li><strong>web</strong></li>
+</ul>
+<p>Then you add from the following plugins accordingly to your needs:</p>
+<ul>
+<li><strong>el11</strong></li>
+<li><strong>el22</strong></li>
+<li><strong>tomcat7</strong></li>
+<li><strong>tomcat6</strong></li>
+<li><strong>jsf12</strong></li>
+<li><strong>jsf22</strong></li>
+</ul>
+<h3 id="when-to-use-respective-plugin">When to use respective plugin</h3>
+<p>If the project uses Expression Language add EL plugin accordingly to your version.
This is required for using EL.</p>
+<ul>
+<li>el11 or el22 (Expression Language 1.1 or Expression Language 2.2)</li>
+</ul>
+<p></br>
+For JSF support add JSF plugin accordingly to your version of JSF. Required for JSF support.</p>
+<ul>
+<li>jsf or jsf12 (JavaServerFaces 2.x or JavaServerFaces 1.2)</li>
+</ul>
+<p>If the project uses Tomcat 6 or Tomcat 7. This is not required but adds extra features.</p>
+<ul>
+<li>tomcat6 or tomcat7</li>
+</ul>
+<h3 id="bootstrapping-openwebbeans">Bootstrapping OpenWebBeans</h3>
+<p>Simply put the following listener in web.xml: </p>
+<div class="codehilite"><pre>    <span class="nt">&lt;listener&gt;</span>
+        <span class="nt">&lt;listener-class&gt;</span>org.apache.webbeans.servlet.WebBeansConfigurationListener<span
class="nt">&lt;/listener-class&gt;</span>
+    <span class="nt">&lt;/listener&gt;</span>
+</pre></div>
+
+
+<p>This is not required if you use Tomcat and added the corresponding Tomcat plugin
because in that case it's managed by the plugin.</p>
+<p>From here you might want to look at our samples selection: <a href="/openwebbeans/samples.html">samples</a>.</p>
         </div>
 
         <hr>



Mime
View raw message