Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://openwebbeans.apache.org/owbsetup_ee.mdtext
Karl Kildén
Index: trunk/content/owbsetup_ee.mdtext
===================================================================
--- trunk/content/owbsetup_ee.mdtext (revision 1528692)
+++ trunk/content/owbsetup_ee.mdtext (working copy)
@@ -16,12 +16,68 @@
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