You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ka...@apache.org on 2015/04/20 15:42:34 UTC
svn commit: r1674846 -
/openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext
Author: karlkilden
Date: Mon Apr 20 13:42:34 2015
New Revision: 1674846
URL: http://svn.apache.org/r1674846
Log:
CMS commit to openwebbeans by karlkilden
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=1674846&r1=1674845&r2=1674846&view=diff
==============================================================================
--- openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext (original)
+++ openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext Mon Apr 20 13:42:34 2015
@@ -21,32 +21,35 @@ Notice: Licensed to the Apache Softwa
OpenWebBeans in a great match for web-apps and should work well for your favorite Servlet Containers such as Jetty or Tomcat.
To add OpenWebBeans to your Servlet Container project you need to take the following steps.
- 1. Add dependencies accordingly to instructions below.
- 2. In some cases add org.apache.webbeans.servlet.WebBeansConfigurationListener to web.xml as a listener
+ 1. Add [dependencies][1] accordingly to instructions below.
+ 2. In some cases add [org.apache.webbeans.servlet.WebBeansConfigurationListener][2] 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].
+You can add OpenWebBeans to your project manually by adding jars or with Apache Maven. How to download is explained here: [download page][3].
+The binary distributions include all the jars you need and the download page lists all the [maven dependencies][4].
+But since OpenWebBeans is modular you should read below so you know what to add.
+### Required (#required-parts)
-For JavaEE you always start with:
+For Servlet Container projects such as Tomcat and Jetty you always start with:
- - **[openwebbeans-spi][2]**
- - **[openwebbeans-impl][3]**
- - **[openwebbeans-web][4]**
+ - **[openwebbeans-spi][5]**
+ - **[openwebbeans-impl][6]**
+ - **[openwebbeans-web][7]**
-Then you add from the following plugins accordingly to your needs:
+### Plugins
+The following plugins are very useful if you need JSF, expression language (el) etc. Add accordingly to your needs.
-
-- **[openwebbeans-el11][5]**
-- **[openwebbeans-el22][5]**
-- **[openwebbeans-tomcat7][5]**
-- **[openwebbeans-tomcat6][5]**
-- **[openwebbeans-jsf12][5]**
-- **[openwebbeans-jsf22][5]**
+- **[openwebbeans-el11][8]**
+- **[openwebbeans-el22][9]**
+- **[openwebbeans-tomcat7][10]**
+- **[openwebbeans-tomcat6][11]**
+- **[openwebbeans-jsf12][12]**
+- **[openwebbeans-jsf22][13]**
###When to use respective plugin
@@ -65,7 +68,7 @@ If the project uses Tomcat 6 or Tomcat 7
* tomcat6 or tomcat7
-###Bootstrapping OpenWebBeans
+###Bootstrapping OpenWebBeans (#configuring-owb)
Simply put the following listener in web.xml:
@@ -75,12 +78,20 @@ Simply put the following listener in web
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][6].
+From here you might want to look at our samples selection: [samples][14].
- [1]: /download.html
- [2]: /download.html#required-version
- [3]: /download.html#required-version
- [4]: /download.html#plugins-version
- [5]: /download.html#plugins-version
- [6]: /samples.html
\ No newline at end of file
+ [1]: /download.html#required-parts
+ [2]: /download.html#configuring-owb
+ [3]: /download.html
+ [4]: download.html#maven-dep
+ [5]: /download.html#required-version
+ [6]: /download.html#required-version
+ [7]: /download.html#plugins-version
+ [8]: /download.html#plugins-version
+ [9]: /download.html#plugins-version
+ [10]: /download.html#plugins-version
+ [11]: /download.html#plugins-version
+ [12]: /download.html#plugins-version
+ [13]: /download.html#plugins-version
+ [14]: /samples.html
\ No newline at end of file