openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1529094 - /openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext
Date Fri, 04 Oct 2013 07:23:07 GMT
Author: struberg
Date: Fri Oct  4 07:23:06 2013
New Revision: 1529094

URL: http://svn.apache.org/r1529094
Log:
docs contributed by Karl Kilden

Modified:
    openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext

Modified: openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext
URL: http://svn.apache.org/viewvc/openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext?rev=1529094&r1=1529093&r2=1529094&view=diff
==============================================================================
--- openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext (original)
+++ openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext Fri Oct  4 07:23:06 2013
@@ -16,12 +16,68 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-# OpenWebBeans FAQ
+# Adding OpenWebBeans to your Servlet Container project
 
 
-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
+To add OpenWebBeans to your Servlet Container project you need to take the following steps:
 
+ 1. Add required jars to your project
+ 2. Add web and other plugins accordingly to your needs
+ 3. In some cases add org.apache.webbeans.servlet.WebBeansConfigurationListener to web.xml
as a listener
+ 3. Done! Congratulations.
 
+
+###Adding required jars and plugins to your project
+
+You can add OpenWebBeans to your project manually by adding jars or with Apache Maven. How
to download is explained here: [download page][1].
+
+
+For JavaEE you always start with:
+
+  - **spi**
+  - **impl**
+  - **web**
+
+Then you add from the following plugins accordingly to your needs:
+
+
+
+- **el11**
+- **el22**
+- **tomcat7**
+- **tomcat6**
+- **jsf12**
+- **jsf22**
+
+###When to use respective plugin
+
+If the project uses Expression Language add EL plugin accordingly to your version. This is
required for using EL.
+
+* el11 or el22 (Expression Language 1.1 or Expression Language 2.2)
+
+
+</br>
+For JSF support add JSF plugin accordingly to your version of JSF. Required for JSF support.
+
+* jsf or jsf12 (JavaServerFaces 2.x or JavaServerFaces 1.2)
+
+If the project uses Tomcat 6 or Tomcat 7. This is not required but adds extra features.
+
+* tomcat6 or tomcat7
+ 
+
+###Bootstrapping OpenWebBeans
+
+Simply put the following listener in web.xml: 
+
+        <listener>
+            <listener-class>org.apache.webbeans.servlet.WebBeansConfigurationListener</listener-class>
+        </listener>
+
+This is not required if you use Tomcat and added the corresponding Tomcat plugin because
in that case it's managed by the plugin.
+
+From here you might want to look at our samples selection: [samples][3].
+
+
+  [1]: /openwebbeans/download.html
+  [3]: /openwebbeans/samples.html



Mime
View raw message