openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

Staging update by buildbot for openwebbeans

    websites/staging/openwebbeans/trunk/content/   (props changed)

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

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>
-- 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
+<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>
+<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
+<p>For JavaEE you always start with:</p>
+<p>Then you add from the following plugins accordingly to your needs:</p>
+<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>
+<li>el11 or el22 (Expression Language 1.1 or Expression Language 2.2)</li>
+For JSF support add JSF plugin accordingly to your version of JSF. Required for JSF support.</p>
+<li>jsf or jsf12 (JavaServerFaces 2.x or JavaServerFaces 1.2)</li>
+<p>If the project uses Tomcat 6 or Tomcat 7. This is not required but adds extra features.</p>
+<li>tomcat6 or tomcat7</li>
+<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
+    <span class="nt">&lt;/listener&gt;</span>
+<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>

View raw message