Return-Path: X-Original-To: apmail-openwebbeans-commits-archive@www.apache.org Delivered-To: apmail-openwebbeans-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D8E517AE1 for ; Mon, 20 Apr 2015 13:42:35 +0000 (UTC) Received: (qmail 11273 invoked by uid 500); 20 Apr 2015 13:42:35 -0000 Delivered-To: apmail-openwebbeans-commits-archive@openwebbeans.apache.org Received: (qmail 11248 invoked by uid 500); 20 Apr 2015 13:42:35 -0000 Mailing-List: contact commits-help@openwebbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwebbeans.apache.org Delivered-To: mailing list commits@openwebbeans.apache.org Received: (qmail 11237 invoked by uid 99); 20 Apr 2015 13:42:35 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2015 13:42:35 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id E81DEAC006E for ; Mon, 20 Apr 2015 13:42:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1674846 - /openwebbeans/cms-site/trunk/content/owbsetup_ee.mdtext Date: Mon, 20 Apr 2015 13:42:34 -0000 To: commits@openwebbeans.apache.org From: karlkilden@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150420134234.E81DEAC006E@hades.apache.org> 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