Author: buildbot
Date: Thu Oct 23 12:56:54 2014
New Revision: 926541
Log:
Staging update by buildbot for deltaspike
Added:
websites/staging/deltaspike/trunk/content/documentation/addons.html
websites/staging/deltaspike/trunk/content/documentation/articles.html
websites/staging/deltaspike/trunk/content/documentation/cdiimp.html
websites/staging/deltaspike/trunk/content/documentation/configure.html
websites/staging/deltaspike/trunk/content/documentation/examples.html
websites/staging/deltaspike/trunk/content/documentation/external.html
websites/staging/deltaspike/trunk/content/documentation/overview.html
websites/staging/deltaspike/trunk/content/documentation/snapshots.html
Modified:
websites/staging/deltaspike/trunk/content/ (props changed)
websites/staging/deltaspike/trunk/content/documentation/build.html
websites/staging/deltaspike/trunk/content/documentation/index.html
Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Oct 23 12:56:54 2014
@@ -1 +1 @@
-1633799
+1633800
Added: websites/staging/deltaspike/trunk/content/documentation/addons.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/addons.html (added)
+++ websites/staging/deltaspike/trunk/content/documentation/addons.html Thu Oct
23 12:56:54 2014
@@ -0,0 +1,278 @@
+<!DOCTYPE html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="deltaspike-generate-pages">
+<meta name="author" content="chm">
+
+<title>Add-ons</title>
+
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership. The ASF licenses
this file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at .
http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law
or agreed to in writing, software distributed under the License is distributed
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing
permissions and limitations under the License. -->
+
+<!-- Styles -->
+
+<link href="https://deltaspike.apache.org/resources/css/bootstrap.css"
rel="stylesheet">
+<link
href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css"
rel="stylesheet">
+
+<style type="text/css">
+/* Stylesheet for CodeRay to match GitHub theme | MIT License |
http://foundation.zurb.com */
+/*pre.CodeRay {background-color:#f7f7f8;}*/
+.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
+.CodeRay
span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
+.CodeRay .line-numbers strong{font-weight: normal}
+table.CodeRay{border-collapse:separate;border-spacing:0;margin-bottom:0;border:0;background:none}
+table.CodeRay td{vertical-align: top}
+table.CodeRay td.line-numbers{text-align:right}
+table.CodeRay td.line-numbers>pre{padding:0;color:rgba(0,0,0,.3)}
+table.CodeRay td.code{padding:0 0 0 .5em}
+table.CodeRay td.code>pre{padding:0}
+.CodeRay .debug{color:#fff !important;background:#000080 !important}
+.CodeRay .annotation{color:#007}
+.CodeRay .attribute-name{color:#000080}
+.CodeRay .attribute-value{color:#700}
+.CodeRay .binary{color:#509}
+.CodeRay .comment{color:#998;font-style:italic}
+.CodeRay .char{color:#04d}
+.CodeRay .char .content{color:#04d}
+.CodeRay .char .delimiter{color:#039}
+.CodeRay .class{color:#458;font-weight:bold}
+.CodeRay .complex{color:#a08}
+.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
+.CodeRay .color{color:#099}
+.CodeRay .class-variable{color:#369}
+.CodeRay .decorator{color:#b0b}
+.CodeRay .definition{color:#099}
+.CodeRay .delimiter{color:#000}
+.CodeRay .doc{color:#970}
+.CodeRay .doctype{color:#34b}
+.CodeRay .doc-string{color:#d42}
+.CodeRay .escape{color:#666}
+.CodeRay .entity{color:#800}
+.CodeRay .error{color:#808}
+.CodeRay .exception{color:inherit}
+.CodeRay .filename{color:#099}
+.CodeRay .function{color:#900;font-weight:bold}
+.CodeRay .global-variable{color:#008080}
+.CodeRay .hex{color:#058}
+.CodeRay .integer,.CodeRay .float{color:#099}
+.CodeRay .include{color:#555}
+.CodeRay .inline{color:#00}
+.CodeRay .inline .inline{background:#ccc}
+.CodeRay .inline .inline .inline{background:#bbb}
+.CodeRay .inline .inline-delimiter{color:#d14}
+.CodeRay .inline-delimiter{color:#d14}
+.CodeRay .important{color:#555;font-weight:bold}
+.CodeRay .interpreted{color:#b2b}
+.CodeRay .instance-variable{color:#008080}
+.CodeRay .label{color:#970}
+.CodeRay .local-variable{color:#963}
+.CodeRay .octal{color:#40e}
+.CodeRay .predefined{color:#369}
+.CodeRay .preprocessor{color:#579}
+.CodeRay .pseudo-class{color:#555}
+.CodeRay .directive{font-weight:bold}
+.CodeRay .type{font-weight:bold}
+.CodeRay .predefined-type{color:inherit}
+.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
+.CodeRay .key{color:#808}
+.CodeRay .key .delimiter{color:#606}
+.CodeRay .key .char{color:#80f}
+.CodeRay .value{color:#088}
+.CodeRay .regexp .delimiter{color:#808}
+.CodeRay .regexp .content{color:#808}
+.CodeRay .regexp .modifier{color:#808}
+.CodeRay .regexp .char{color:#d14}
+.CodeRay .regexp .function{color:#404;font-weight:bold}
+.CodeRay .string{color:#d20}
+.CodeRay .string .string .string{background:#ffd0d0}
+.CodeRay .string .content{color:#d14}
+.CodeRay .string .char{color:#d14}
+.CodeRay .string .delimiter{color:#d14}
+.CodeRay .shell{color:#d14}
+.CodeRay .shell .delimiter{color:#d14}
+.CodeRay .symbol{color:#990073}
+.CodeRay .symbol .content{color:#a60}
+.CodeRay .symbol .delimiter{color:#630}
+.CodeRay .tag{color:#008080}
+.CodeRay .tag-special{color:#d70}
+.CodeRay .variable{color:#036}
+.CodeRay .insert{background:#afa}
+.CodeRay .delete{background:#faa}
+.CodeRay .change{color:#aaf;background:#007}
+.CodeRay .head{color:#f8f;background:#505}
+.CodeRay .insert .insert{color:#080}
+.CodeRay .delete .delete{color:#800}
+.CodeRay .change .change{color:#66f}
+.CodeRay .head .head{color:#f4f}
+body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+}
+</style>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type =
'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+</head>
+
+<body>
+
+ <div class="navbar navbar-fixed-top">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span
class="icon-bar"></span> <span
+ class="icon-bar"></span> <span
class="icon-bar"></span>
+ </a> <a class="brand logocolor"
+
href="http://deltaspike.apache.org/index.html">Apache
+ DeltaSpike</a>
+ <div class="nav-collapse">
+ <ul class="nav">
+ <li class="active"><a
+
href="http://deltaspike.apache.org/index.html">Home</a></li>
+ <li><a
href="http://deltaspike.apache.org/documentation">Documentation</a></li>
+ <li><a
href="http://deltaspike.apache.org/source.html">Source</a></li>
+ <li><a
href="http://deltaspike.apache.org/download.html">Download</a></li>
+ <li><a
href="http://deltaspike.apache.org/community.html">Community</a></li>
+ <!-- <li><a
href="./support.html">Support</a></li> -->
+ <li><a
href="http://deltaspike.apache.org/news.html">News</a></li>
+ <li><a
+
href="http://deltaspike.apache.org/migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form"
action="http://www.google.com/search"
+ method="get" class="navbar-search
pull-right">
+ <input value="deltaspike.apache.org"
name="sitesearch"
+ type="hidden"> <input
class="search-query" name="q"
+ id="query" type="text">
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div class="row">
+ <div class="span12">
+ <div class="page-title">
+ <h1>Add-ons</h1>
+ </div>
+
+ <div id="toc" class="toc">
+ <ul class="sectlevel1">
+<li><a href="#_monitoring">Monitoring</a></li>
+<li><a href="#_spring_bridge">Spring Bridge</a></li>
+<li><a href="#_disruptor">Disruptor</a></li>
+</ul>
+ <hr>
+
+ <div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
+<p>Add-ons extend the functionality of DeltaSpike and several have been
developed external to the DeltaSpike project. Brief information is given here
about each of the add-ons, with details of where they can be obtained from.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_monitoring">Monitoring</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p><strong>Replace this text!</strong> Write 2-3 sentences in plain language
making sure you answer every question:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>What is the purpose of the add-on (e.g., A two-way cdi-spring bridge that
allows spring-beans to be injected into cdi-beans and vice versa provided the
concepts, for example qualifiers, are compatible.)?</p>
+</li>
+<li>
+<p>When would the user use this add-on?</p>
+</li>
+<li>
+<p>Where can the user get the add-on from (<a
href="https://github.com/os890/ds-monitoring-addon"
class="bare">https://github.com/os890/ds-monitoring-addon</a> )?</p>
+</li>
+<li>
+<p>Any special instructions for using the add-on correctly?</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_spring_bridge">Spring Bridge</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p><code>ds-spring-bridge-addon</code> is a two-way cdi-spring bridge that
allows spring-beans to be injected into cdi-beans and vice versa provided the
concepts, for example qualifiers, are compatible. You can obtain this add-on
from <a href="https://github.com/os890/ds-spring-bridge-addon"
class="bare">https://github.com/os890/ds-spring-bridge-addon</a>.</p>
+</div>
+<div class="paragraph">
+<p><strong>Replace this text!</strong> Write 2-3 sentences in plain language
making sure you answer every question:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>What is the purpose of the add-on (e.g., A two-way cdi-spring bridge that
allows spring-beans to be injected into cdi-beans and vice versa provided the
concepts, for example qualifiers, are compatible.)?</p>
+</li>
+<li>
+<p>When would the user use this add-on?</p>
+</li>
+<li>
+<p>Where can the user get the add-on from (<a
href="https://github.com/os890/ds-spring-bridge-addon"
class="bare">https://github.com/os890/ds-spring-bridge-addon</a> )?</p>
+</li>
+<li>
+<p>Any special instructions for using the add-on correctly?</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_disruptor">Disruptor</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>This add-on creates a disruptor process for every observer method. It
currently works with Apache TomEE and JBoss AS 7.</p>
+</div>
+<div class="paragraph">
+<p><strong>Replace this text!</strong> Write 2-3 sentences in plain language
making sure you answer every question:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>What is the purpose of the add-on (e.g., A two-way cdi-spring bridge that
allows spring-beans to be injected into cdi-beans and vice versa provided the
concepts, for example qualifiers, are compatible.)?</p>
+</li>
+<li>
+<p>When would the user use this add-on?</p>
+</li>
+<li>
+<p>Where can the user get the add-on from (<a
href="https://github.com/os890/ds-disruptor-addon"
class="bare">https://github.com/os890/ds-disruptor-addon</a> )?</p>
+</li>
+<li>
+<p>Any special instructions for using the add-on correctly?</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+ </div>
+
+ <hr>
+
+ <footer>
+ <p>Copyright © 2011-2014 The Apache Software
Foundation, Licensed under the Apache License, Version 2.0.</p>
+ <p>Apache and the Apache feather logo are
trademarks of The Apache Software Foundation.</p>
+ </footer>
+
+ </div>
+ <!-- /.container -->
+
+</body>
+</html>
\ No newline at end of file
Added: websites/staging/deltaspike/trunk/content/documentation/articles.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/articles.html
(added)
+++ websites/staging/deltaspike/trunk/content/documentation/articles.html Thu
Oct 23 12:56:54 2014
@@ -0,0 +1,259 @@
+<!DOCTYPE html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="deltaspike-generate-pages">
+<meta name="author" content="chm">
+
+<title>Articles and Blogs</title>
+
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership. The ASF licenses
this file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at .
http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law
or agreed to in writing, software distributed under the License is distributed
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing
permissions and limitations under the License. -->
+
+<!-- Styles -->
+
+<link href="https://deltaspike.apache.org/resources/css/bootstrap.css"
rel="stylesheet">
+<link
href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css"
rel="stylesheet">
+
+<style type="text/css">
+/* Stylesheet for CodeRay to match GitHub theme | MIT License |
http://foundation.zurb.com */
+/*pre.CodeRay {background-color:#f7f7f8;}*/
+.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
+.CodeRay
span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
+.CodeRay .line-numbers strong{font-weight: normal}
+table.CodeRay{border-collapse:separate;border-spacing:0;margin-bottom:0;border:0;background:none}
+table.CodeRay td{vertical-align: top}
+table.CodeRay td.line-numbers{text-align:right}
+table.CodeRay td.line-numbers>pre{padding:0;color:rgba(0,0,0,.3)}
+table.CodeRay td.code{padding:0 0 0 .5em}
+table.CodeRay td.code>pre{padding:0}
+.CodeRay .debug{color:#fff !important;background:#000080 !important}
+.CodeRay .annotation{color:#007}
+.CodeRay .attribute-name{color:#000080}
+.CodeRay .attribute-value{color:#700}
+.CodeRay .binary{color:#509}
+.CodeRay .comment{color:#998;font-style:italic}
+.CodeRay .char{color:#04d}
+.CodeRay .char .content{color:#04d}
+.CodeRay .char .delimiter{color:#039}
+.CodeRay .class{color:#458;font-weight:bold}
+.CodeRay .complex{color:#a08}
+.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
+.CodeRay .color{color:#099}
+.CodeRay .class-variable{color:#369}
+.CodeRay .decorator{color:#b0b}
+.CodeRay .definition{color:#099}
+.CodeRay .delimiter{color:#000}
+.CodeRay .doc{color:#970}
+.CodeRay .doctype{color:#34b}
+.CodeRay .doc-string{color:#d42}
+.CodeRay .escape{color:#666}
+.CodeRay .entity{color:#800}
+.CodeRay .error{color:#808}
+.CodeRay .exception{color:inherit}
+.CodeRay .filename{color:#099}
+.CodeRay .function{color:#900;font-weight:bold}
+.CodeRay .global-variable{color:#008080}
+.CodeRay .hex{color:#058}
+.CodeRay .integer,.CodeRay .float{color:#099}
+.CodeRay .include{color:#555}
+.CodeRay .inline{color:#00}
+.CodeRay .inline .inline{background:#ccc}
+.CodeRay .inline .inline .inline{background:#bbb}
+.CodeRay .inline .inline-delimiter{color:#d14}
+.CodeRay .inline-delimiter{color:#d14}
+.CodeRay .important{color:#555;font-weight:bold}
+.CodeRay .interpreted{color:#b2b}
+.CodeRay .instance-variable{color:#008080}
+.CodeRay .label{color:#970}
+.CodeRay .local-variable{color:#963}
+.CodeRay .octal{color:#40e}
+.CodeRay .predefined{color:#369}
+.CodeRay .preprocessor{color:#579}
+.CodeRay .pseudo-class{color:#555}
+.CodeRay .directive{font-weight:bold}
+.CodeRay .type{font-weight:bold}
+.CodeRay .predefined-type{color:inherit}
+.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
+.CodeRay .key{color:#808}
+.CodeRay .key .delimiter{color:#606}
+.CodeRay .key .char{color:#80f}
+.CodeRay .value{color:#088}
+.CodeRay .regexp .delimiter{color:#808}
+.CodeRay .regexp .content{color:#808}
+.CodeRay .regexp .modifier{color:#808}
+.CodeRay .regexp .char{color:#d14}
+.CodeRay .regexp .function{color:#404;font-weight:bold}
+.CodeRay .string{color:#d20}
+.CodeRay .string .string .string{background:#ffd0d0}
+.CodeRay .string .content{color:#d14}
+.CodeRay .string .char{color:#d14}
+.CodeRay .string .delimiter{color:#d14}
+.CodeRay .shell{color:#d14}
+.CodeRay .shell .delimiter{color:#d14}
+.CodeRay .symbol{color:#990073}
+.CodeRay .symbol .content{color:#a60}
+.CodeRay .symbol .delimiter{color:#630}
+.CodeRay .tag{color:#008080}
+.CodeRay .tag-special{color:#d70}
+.CodeRay .variable{color:#036}
+.CodeRay .insert{background:#afa}
+.CodeRay .delete{background:#faa}
+.CodeRay .change{color:#aaf;background:#007}
+.CodeRay .head{color:#f8f;background:#505}
+.CodeRay .insert .insert{color:#080}
+.CodeRay .delete .delete{color:#800}
+.CodeRay .change .change{color:#66f}
+.CodeRay .head .head{color:#f4f}
+body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+}
+</style>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type =
'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+</head>
+
+<body>
+
+ <div class="navbar navbar-fixed-top">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span
class="icon-bar"></span> <span
+ class="icon-bar"></span> <span
class="icon-bar"></span>
+ </a> <a class="brand logocolor"
+
href="http://deltaspike.apache.org/index.html">Apache
+ DeltaSpike</a>
+ <div class="nav-collapse">
+ <ul class="nav">
+ <li class="active"><a
+
href="http://deltaspike.apache.org/index.html">Home</a></li>
+ <li><a
href="http://deltaspike.apache.org/documentation">Documentation</a></li>
+ <li><a
href="http://deltaspike.apache.org/source.html">Source</a></li>
+ <li><a
href="http://deltaspike.apache.org/download.html">Download</a></li>
+ <li><a
href="http://deltaspike.apache.org/community.html">Community</a></li>
+ <!-- <li><a
href="./support.html">Support</a></li> -->
+ <li><a
href="http://deltaspike.apache.org/news.html">News</a></li>
+ <li><a
+
href="http://deltaspike.apache.org/migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form"
action="http://www.google.com/search"
+ method="get" class="navbar-search
pull-right">
+ <input value="deltaspike.apache.org"
name="sitesearch"
+ type="hidden"> <input
class="search-query" name="q"
+ id="query" type="text">
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div class="row">
+ <div class="span12">
+ <div class="page-title">
+ <h1>Articles and Blogs</h1>
+ </div>
+
+ <div id="toc" class="toc">
+ <ul class="sectlevel1">
+<li><a href="#_ongoing">Ongoing</a></li>
+<li><a href="#_one_offs">One-offs</a></li>
+</ul>
+ <hr>
+
+ <div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
+<p>You can find lots of content related to DeltaSpike with a quick internet
search. But here is a list of some useful articles and blogs to get you
started.</p>
+</div>
+<div class="paragraph">
+<p>If you know of useful DeltaSpike articles or blogs that are not listed, <a
href="https://deltaspike.apache.org/community.html">let us know</a>.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_ongoing">Ongoing</h2>
+<div class="sectionbody">
+<div class="ulist">
+<ul>
+<li>
+<p><a href="https://twitter.com/DeltaSpikeTeam">@DeltaSpikeTeam on
Twitter</a></p>
+</li>
+<li>
+<p><a href="https://twitter.com/hashtag/deltaspike">#deltaspike on
Twitter</a></p>
+</li>
+<li>
+<p><a href="http://os890.blogspot.com.au/search/label/deltaspike">os890
DeltaSpike posts</a></p>
+</li>
+<li>
+<p><a href="http://rafabene.com/?s=deltaspike&submit=Search">Rafael
Benevides DeltaSpike posts</a></p>
+</li>
+<li>
+<p><a href="http://rmannibucau.wordpress.com/?s=deltaspike">RManiiBucau
DeltaSpike posts</a></p>
+</li>
+<li>
+<p><a href="https://struberg.wordpress.com/?s=deltaspike">Struberg DeltaSpike
posts</a></p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_one_offs">One-offs</h2>
+<div class="sectionbody">
+<div class="ulist">
+<ul>
+<li>
+<p><a
href="https://blogs.oracle.com/theaquarium/entry/introducing_deltaspike_1_0">The
Aquarium: Introducing DeltaSpike 1.0</a></p>
+</li>
+<li>
+<p><a
href="http://blog.arungupta.me/2014/06/deltaspike-1-0-extend-javaee-techtip32/">DeltaSpike
1.0 â Extend #JavaEE beyond #JavaEE</a></p>
+</li>
+<li>
+<p><a
href="http://www.tearsofaunicorn.com/articles/2014/06/10/configuring-deltaspike-through-environment-variables.html">Configuring
Apache Deltaspike through environment variables</a></p>
+</li>
+<li>
+<p><a
href="http://blog.ctp.com/2013/11/27/bye-bye-cdi-query-hello-deltaspike-data/">Bye
Bye CDI Query, Hello DeltaSpike Data</a></p>
+</li>
+<li>
+<p><a
href="http://rmannibucau.wordpress.com/2013/11/20/deltaspike-data-repositories-with-dtos/">DeltaSpike
Data: repositories with DTOs!</a></p>
+</li>
+<li>
+<p><a
href="http://jaxenter.com/introducing-apache-deltaspike-42925.html">Closing the
Gaps: Introducing Apache Deltaspike</a></p>
+</li>
+<li>
+<p><a
href="http://jsfcorner.blogspot.com.au/2013/01/deltaspike-jsf-message-system.html">DeltaSpike
JSF message system</a></p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+ </div>
+
+ <hr>
+
+ <footer>
+ <p>Copyright © 2011-2014 The Apache Software
Foundation, Licensed under the Apache License, Version 2.0.</p>
+ <p>Apache and the Apache feather logo are
trademarks of The Apache Software Foundation.</p>
+ </footer>
+
+ </div>
+ <!-- /.container -->
+
+</body>
+</html>
\ No newline at end of file
Modified: websites/staging/deltaspike/trunk/content/documentation/build.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/build.html
(original)
+++ websites/staging/deltaspike/trunk/content/documentation/build.html Thu Oct
23 12:56:54 2014
@@ -7,7 +7,7 @@
<meta name="description" content="deltaspike-generate-pages">
<meta name="author" content="chm">
-<title>Building DeltaSpike from source</title>
+<title>Build and Test DeltaSpike from Source</title>
<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership. The ASF licenses
this file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at .
http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law
or agreed to in writing, software distributed under the License is distributed
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing
permissions and limitations under the License. -->
@@ -166,205 +166,207 @@ body {
<div class="row">
<div class="span12">
<div class="page-title">
- <h1>Building DeltaSpike from source</h1>
+ <h1>Build and Test DeltaSpike from Source</h1>
</div>
<div id="toc" class="toc">
<ul class="sectlevel1">
-<li><a href="#_introduction">Introduction</a>
-<ul class="sectlevel2">
-<li><a href="#_full_build">Full build</a></li>
-<li><a href="#_build_with_test">Build with test</a></li>
-<li><a href="#_integration_tests">Integration Tests</a>
-<ul class="sectlevel3">
-<li><a href="#_tomee">TomEE</a></li>
-<li><a href="#_jboss_as7">JBoss AS7</a></li>
-<li><a href="#_wildfly_8">WildFly 8</a></li>
-<li><a href="#_glassfish_3_1">GlassFish 3.1</a></li>
-<li><a href="#_glassfish_4">GlassFish 4</a></li>
-<li><a href="#_weblogic_12c">WebLogic 12c</a></li>
-</ul>
-</li>
-<li><a href="#_jenkins_builds">Jenkins Builds</a></li>
-<li><a href="#_sonar">Sonar</a></li>
-</ul>
-</li>
+<li><a href="#_build_without_cdi_implementation_tests">Build without CDI
Implementation Tests</a></li>
+<li><a href="#_build_and_test_with_a_cdi_implementation">Build and Test with a
CDI Implementation</a></li>
+<li><a href="#_build_and_test_with_cdi_containers">Build and Test with CDI
Containers</a></li>
+<li><a href="#_next">Next</a></li>
</ul>
<hr>
- <div class="sect1">
-<h2 id="_introduction">Introduction</h2>
+ <div id="preamble">
<div class="sectionbody">
<div class="paragraph">
-<p>Deltaspike uses <a href="http://maven.apache.org/">maven</a> build tool to
automate the compilation, testing and packaging of the project</p>
-</div>
-<div class="sect2">
-<h3 id="_full_build">Full build</h3>
-<div class="listingblock">
-<div class="content">
-<pre>mvn clean install</pre>
-</div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_build_with_test">Build with test</h3>
-<div class="listingblock">
-<div class="content">
-<pre>mvn clean install -POWB //execute the unit tests with OpenWebBeans
-or
-mvn clean install -PWeld //execute the unit tests with Weld</pre>
-</div>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_integration_tests">Integration Tests</h3>
-<div class="paragraph">
-<p>With the unpack Maven-Plugin all Arquillian-Tests get copied to the
-integration-test module. Together with the special integration-tests
-they get executed via a remote container. Currently we have
-configurations for the following containers.</p>
-</div>
-<div class="sect3">
-<h4 id="_tomee">TomEE</h4>
-<div class="paragraph">
-<p><strong>Executing the Arquillian tests with Apache TomEE</strong></p>
+<p>The DeltaSpike source (modules and examples) is provided for inspection,
contribution and testing purposes. The source must be built with Maven, which
has been used to automate the compilation, testing and packaging processes.
Arquillian tests are automatically conducted when DeltaSpike is built and CDI
implementations or containers with which to carry out the tests can be
specified.</p>
</div>
-<div class="listingblock">
-<div class="content">
-<pre>mvn clean install -Ptomee-build-managed</pre>
-</div>
-</div>
-</div>
-<div class="sect3">
-<h4 id="_jboss_as7">JBoss AS7</h4>
-<div class="sect4">
-<h5 id="_without_existing_as7">Without existing AS7</h5>
-<div class="paragraph">
-<p><strong>Executing the Arquillian tests with JBoss AS7 (without AS7
installation)</strong></p>
-</div>
-<div class="listingblock">
-<div class="content">
-<pre>mvn clean install -Pjbossas-build-managed-7</pre>
-</div>
-</div>
-</div>
-<div class="sect4">
-<h5 id="_with_existing_as7">With existing AS7</h5>
<div class="paragraph">
-<p>Set JBoss_HOME</p>
+<p>In all cases, to obtain the DeltaSpike source, <a
href="https://deltaspike.apache.org/download.html">download
<code>deltaspike-project-<version>-source-release.zip</code></a> and
extract the contents.</p>
</div>
<div class="paragraph">
-<p><strong>Executing the Arquillian tests with JBoss AS7 (AS7 installation
-required)</strong></p>
+<p><strong>Note:</strong> You can also obtain the DeltaSpike source from the
project Git repository. The repository is subject to change and it can be used
for contributing but should not be used in production environments. For more
information, see <a href="source.html">Get Source and compile it</a>.</p>
</div>
-<div class="listingblock">
-<div class="content">
-<pre>mvn clean install -Pjbossas-managed-7</pre>
</div>
</div>
-</div>
-</div>
-<div class="sect3">
-<h4 id="_wildfly_8">WildFly 8</h4>
-<div class="sect4">
-<h5 id="_without_existing_wf8">Without existing WF8</h5>
+<div class="sect1">
+<h2 id="_build_without_cdi_implementation_tests">Build without CDI
Implementation Tests</h2>
+<div class="sectionbody">
<div class="paragraph">
-<p><strong>Executing the Arquillian tests with JBoss-WF8 (without WF8
installation)</strong></p>
+<p>DeltaSpike can be built without executing tests against a CDI
implementation, with the following commands:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre>mvn clean install -Pwildfly-build-managed</pre>
+<pre class="CodeRay highlight"><code data-lang="shell">$ cd
/path/to/deltaspike-project-<version>/
+$ mvn clean install</code></pre>
</div>
</div>
</div>
-<div class="sect4">
-<h5 id="_with_existing_wf8">With existing WF8</h5>
-<div class="paragraph">
-<p>Set WILDFLY_HOME</p>
</div>
+<div class="sect1">
+<h2 id="_build_and_test_with_a_cdi_implementation">Build and Test with a CDI
Implementation</h2>
+<div class="sectionbody">
<div class="paragraph">
-<p><strong>Executing the Arquillian tests with JBoss-WF8 (WF8 installation
-required)</strong></p>
-</div>
-<div class="listingblock">
-<div class="content">
-<pre>mvn clean install -Pwildfly-managed</pre>
-</div>
+<p>Tests can be executed with both the JBoss Weld and Apache OpenWebBeans CDI
implementations.</p>
</div>
+<table class="tableblock frame-all grid-all spread">
+<caption class="title">Table 1. Build Tests</caption>
+<colgroup>
+<col style="width: 33%;">
+<col style="width: 66%;">
+</colgroup>
+<thead>
+<tr>
+<th class="tableblock halign-left valign-top">Container</th>
+<th class="tableblock halign-left valign-top">Command to Execute Arquillian
Tests</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">JBoss
Weld</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">$ mvn clean install
-PWeld</code></pre>
+</div>
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Apache
OpenWebBeans</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">$ mvn clean install
-POWB</code></pre>
+</div>
+</div></div></td>
+</tr>
+</tbody>
+</table>
</div>
</div>
-<div class="sect3">
-<h4 id="_glassfish_3_1">GlassFish 3.1</h4>
-<div class="sect4">
-<h5 id="_without_existing_gf3">Without existing GF3</h5>
+<div class="sect1">
+<h2 id="_build_and_test_with_cdi_containers">Build and Test with CDI
Containers</h2>
+<div class="sectionbody">
<div class="paragraph">
-<p><strong>Executing the Arquillian tests with GF3 (without GF3
installation)</strong></p>
-</div>
-<div class="listingblock">
-<div class="content">
-<pre>mvn clean install -Pglassfish-build-managed-3</pre>
+<p>Tests can be executed with JBoss Weld and Apache OpenWebBeans through Java
EE 6+ application servers and containers. Configurations are currently provided
as details in the table here.</p>
</div>
-</div>
-</div>
-<div class="sect4">
-<h5 id="_with_existing_gf3">With existing GF3</h5>
-<div class="paragraph">
+<table class="tableblock frame-all grid-all spread">
+<caption class="title">Table 2. Integration Tests</caption>
+<colgroup>
+<col style="width: 40%;">
+<col style="width: 60%;">
+</colgroup>
+<thead>
+<tr>
+<th class="tableblock halign-left valign-top">Container</th>
+<th class="tableblock halign-left valign-top">Command to Execute Arquillian
Tests</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Apache
TomEE</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">$ mvn clean install
-Ptomee-build-managed</code></pre>
+</div>
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">JBoss AS7
(without AS7 installation)</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">$ mvn clean install
-Pjbossas-build-managed-7</code></pre>
+</div>
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">JBoss AS7
(AS7 installation required)</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>Set <code>JBoss_HOME</code></p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">$ mvn clean install
-Pjbossas-managed-7</code></pre>
+</div>
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">JBoss
WildFly 8 (without WildFly 8 installation)</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">mvn clean install
-Pwildfly-build-managed</code></pre>
+</div>
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">JBoss
WildFly 8 (WildFly 8 installation required)</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>Set <code>WILDFLY_HOME</code></p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">$ mvn clean install
-Pwildfly-managed</code></pre>
+</div>
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Oracle
GlassFish 3 (without GlassFish 3 installation)</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">mvn clean install
-Pglassfish-build-managed-3</code></pre>
+</div>
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Oracle
GlassFish 3.1 (GlassFish 3.1 installation required)</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
<p>Install GlassFish (default setup without admin-password) and start
-GlassFish with asadmin start-domain <strong>and</strong> asadmin
start-database</p>
-</div>
-<div class="paragraph">
-<p><strong>Executing the Arquillian tests with Oracle Glassfish
3.1+</strong></p>
+GlassFish with <code>asadmin start-domain</code> and <code>asadmin
start-database</code>.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre>mvn clean install -Pglassfish-remote-3.1</pre>
-</div>
-</div>
-</div>
-</div>
-<div class="sect3">
-<h4 id="_glassfish_4">GlassFish 4</h4>
-<div class="sect4">
-<h5 id="_without_existing_gf4">Without existing GF4</h5>
-<div class="paragraph">
-<p><strong>Executing the Arquillian tests with GF4 (without GF4
installation)</strong></p>
+<pre class="CodeRay highlight"><code data-lang="shell">$ mvn clean install
-Pglassfish-remote-3.1</code></pre>
</div>
-<div class="listingblock">
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Oracle
GlassFish 4 (without Oracle GlassFish 4 installation)</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="listingblock">
<div class="content">
-<pre>mvn clean install -Pglassfish-build-managed-4</pre>
-</div>
-</div>
-</div>
+<pre class="CodeRay highlight"><code data-lang="shell">mvn clean install
-Pglassfish-build-managed-4</code></pre>
</div>
-<div class="sect3">
-<h4 id="_weblogic_12c">WebLogic 12c</h4>
-<div class="paragraph">
-<p>Install WebLogic 12c. Start Confiuration Wizard to create a new basic
+</div></div></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Oracle
WebLogic 12c</p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>Install WebLogic 12c. Start Configuration Wizard to create a new basic
WebLogic Domain. Default options and domain name = base_domain,
administrator user name = weblogic1, administrator password = weblogic1.
-Set WLS_HOME so that %WLS_HOME%.jar exists. Start the domain.</p>
-</div>
-<div class="paragraph">
-<p><strong>Executing the Arquillian tests with Oracle WebLogic 12c</strong></p>
+Set <code>WLS_HOME</code> so that <code>%WLS_HOME%.jar</code> exists. Start
the domain.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre>mvn clean install -Pwls-remote-12c</pre>
-</div>
+<pre class="CodeRay highlight"><code data-lang="shell">$ mvn clean install
-Pwls-remote-12c</code></pre>
</div>
+</div></div></td>
+</tr>
+</tbody>
+</table>
</div>
</div>
-<div class="sect2">
-<h3 id="_jenkins_builds">Jenkins Builds</h3>
-<div class="paragraph">
-<p><a href="https://builds.apache.org/view/A-D/view/DeltaSpike/"
class="bare">https://builds.apache.org/view/A-D/view/DeltaSpike/</a></p>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_sonar">Sonar</h3>
-<div class="paragraph">
-<p><a
href="https://analysis.apache.org/dashboard/index/org.apache.deltaspike:deltaspike-project"
class="bare">https://analysis.apache.org/dashboard/index/org.apache.deltaspike:deltaspike-project</a></p>
-</div>
+<div class="sect1">
+<h2 id="_next">Next</h2>
+<div class="sectionbody">
+<div class="ulist">
+<ul>
+<li>
+<p>For analysis of the DeltaSpike source, see <a
href="https://analysis.apache.org/dashboard/index/org.apache.deltaspike:deltaspike-project"
class="bare">https://analysis.apache.org/dashboard/index/org.apache.deltaspike:deltaspike-project</a></p>
+</li>
+<li>
+<p>For information about DeltaSpike automated Jenkins builds, see <a
href="https://builds.apache.org/view/A-D/view/DeltaSpike/"
class="bare">https://builds.apache.org/view/A-D/view/DeltaSpike/</a></p>
+</li>
+</ul>
</div>
</div>
</div>
Added: websites/staging/deltaspike/trunk/content/documentation/cdiimp.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/cdiimp.html (added)
+++ websites/staging/deltaspike/trunk/content/documentation/cdiimp.html Thu Oct
23 12:56:54 2014
@@ -0,0 +1,476 @@
+<!DOCTYPE html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="deltaspike-generate-pages">
+<meta name="author" content="chm">
+
+<title>Enable CDI For Your Java Environment</title>
+
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership. The ASF licenses
this file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at .
http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law
or agreed to in writing, software distributed under the License is distributed
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing
permissions and limitations under the License. -->
+
+<!-- Styles -->
+
+<link href="https://deltaspike.apache.org/resources/css/bootstrap.css"
rel="stylesheet">
+<link
href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css"
rel="stylesheet">
+
+<style type="text/css">
+/* Stylesheet for CodeRay to match GitHub theme | MIT License |
http://foundation.zurb.com */
+/*pre.CodeRay {background-color:#f7f7f8;}*/
+.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
+.CodeRay
span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
+.CodeRay .line-numbers strong{font-weight: normal}
+table.CodeRay{border-collapse:separate;border-spacing:0;margin-bottom:0;border:0;background:none}
+table.CodeRay td{vertical-align: top}
+table.CodeRay td.line-numbers{text-align:right}
+table.CodeRay td.line-numbers>pre{padding:0;color:rgba(0,0,0,.3)}
+table.CodeRay td.code{padding:0 0 0 .5em}
+table.CodeRay td.code>pre{padding:0}
+.CodeRay .debug{color:#fff !important;background:#000080 !important}
+.CodeRay .annotation{color:#007}
+.CodeRay .attribute-name{color:#000080}
+.CodeRay .attribute-value{color:#700}
+.CodeRay .binary{color:#509}
+.CodeRay .comment{color:#998;font-style:italic}
+.CodeRay .char{color:#04d}
+.CodeRay .char .content{color:#04d}
+.CodeRay .char .delimiter{color:#039}
+.CodeRay .class{color:#458;font-weight:bold}
+.CodeRay .complex{color:#a08}
+.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
+.CodeRay .color{color:#099}
+.CodeRay .class-variable{color:#369}
+.CodeRay .decorator{color:#b0b}
+.CodeRay .definition{color:#099}
+.CodeRay .delimiter{color:#000}
+.CodeRay .doc{color:#970}
+.CodeRay .doctype{color:#34b}
+.CodeRay .doc-string{color:#d42}
+.CodeRay .escape{color:#666}
+.CodeRay .entity{color:#800}
+.CodeRay .error{color:#808}
+.CodeRay .exception{color:inherit}
+.CodeRay .filename{color:#099}
+.CodeRay .function{color:#900;font-weight:bold}
+.CodeRay .global-variable{color:#008080}
+.CodeRay .hex{color:#058}
+.CodeRay .integer,.CodeRay .float{color:#099}
+.CodeRay .include{color:#555}
+.CodeRay .inline{color:#00}
+.CodeRay .inline .inline{background:#ccc}
+.CodeRay .inline .inline .inline{background:#bbb}
+.CodeRay .inline .inline-delimiter{color:#d14}
+.CodeRay .inline-delimiter{color:#d14}
+.CodeRay .important{color:#555;font-weight:bold}
+.CodeRay .interpreted{color:#b2b}
+.CodeRay .instance-variable{color:#008080}
+.CodeRay .label{color:#970}
+.CodeRay .local-variable{color:#963}
+.CodeRay .octal{color:#40e}
+.CodeRay .predefined{color:#369}
+.CodeRay .preprocessor{color:#579}
+.CodeRay .pseudo-class{color:#555}
+.CodeRay .directive{font-weight:bold}
+.CodeRay .type{font-weight:bold}
+.CodeRay .predefined-type{color:inherit}
+.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
+.CodeRay .key{color:#808}
+.CodeRay .key .delimiter{color:#606}
+.CodeRay .key .char{color:#80f}
+.CodeRay .value{color:#088}
+.CodeRay .regexp .delimiter{color:#808}
+.CodeRay .regexp .content{color:#808}
+.CodeRay .regexp .modifier{color:#808}
+.CodeRay .regexp .char{color:#d14}
+.CodeRay .regexp .function{color:#404;font-weight:bold}
+.CodeRay .string{color:#d20}
+.CodeRay .string .string .string{background:#ffd0d0}
+.CodeRay .string .content{color:#d14}
+.CodeRay .string .char{color:#d14}
+.CodeRay .string .delimiter{color:#d14}
+.CodeRay .shell{color:#d14}
+.CodeRay .shell .delimiter{color:#d14}
+.CodeRay .symbol{color:#990073}
+.CodeRay .symbol .content{color:#a60}
+.CodeRay .symbol .delimiter{color:#630}
+.CodeRay .tag{color:#008080}
+.CodeRay .tag-special{color:#d70}
+.CodeRay .variable{color:#036}
+.CodeRay .insert{background:#afa}
+.CodeRay .delete{background:#faa}
+.CodeRay .change{color:#aaf;background:#007}
+.CodeRay .head{color:#f8f;background:#505}
+.CodeRay .insert .insert{color:#080}
+.CodeRay .delete .delete{color:#800}
+.CodeRay .change .change{color:#66f}
+.CodeRay .head .head{color:#f4f}
+body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+}
+</style>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type =
'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+</head>
+
+<body>
+
+ <div class="navbar navbar-fixed-top">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span
class="icon-bar"></span> <span
+ class="icon-bar"></span> <span
class="icon-bar"></span>
+ </a> <a class="brand logocolor"
+
href="http://deltaspike.apache.org/index.html">Apache
+ DeltaSpike</a>
+ <div class="nav-collapse">
+ <ul class="nav">
+ <li class="active"><a
+
href="http://deltaspike.apache.org/index.html">Home</a></li>
+ <li><a
href="http://deltaspike.apache.org/documentation">Documentation</a></li>
+ <li><a
href="http://deltaspike.apache.org/source.html">Source</a></li>
+ <li><a
href="http://deltaspike.apache.org/download.html">Download</a></li>
+ <li><a
href="http://deltaspike.apache.org/community.html">Community</a></li>
+ <!-- <li><a
href="./support.html">Support</a></li> -->
+ <li><a
href="http://deltaspike.apache.org/news.html">News</a></li>
+ <li><a
+
href="http://deltaspike.apache.org/migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form"
action="http://www.google.com/search"
+ method="get" class="navbar-search
pull-right">
+ <input value="deltaspike.apache.org"
name="sitesearch"
+ type="hidden"> <input
class="search-query" name="q"
+ id="query" type="text">
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div class="row">
+ <div class="span12">
+ <div class="page-title">
+ <h1>Enable CDI For Your Java Environment</h1>
+ </div>
+
+ <div id="toc" class="toc">
+ <ul class="sectlevel1">
+<li><a href="#_java_ee6_containers">Java EE6+ Containers</a></li>
+<li><a href="#_java_ee5_and_servlet_containers">Java EE5 and Servlet
Containers</a></li>
+<li><a href="#_java_se6">Java SE6+</a>
+<ul class="sectlevel2">
+<li><a href="#_declare_dependencies_for_maven_based_projects">Declare
Dependencies for Maven-based Projects</a>
+<ul class="sectlevel3">
+<li><a href="#_option_a_for_jboss_weld">Option A: For JBoss Weld</a></li>
+<li><a href="#_option_b_for_apache_openwebbeans">Option B: For Apache
OpenWebBeans</a></li>
+</ul>
+</li>
+<li><a href="#_declare_dependencies_for_maven_independent_projects">Declare
Dependencies for Maven-independent Projects</a></li>
+<li><a href="#_start_the_cdi_container_from_your_project">Start the CDI
Container from Your Project</a></li>
+</ul>
+</li>
+<li><a href="#_next">Next</a></li>
+</ul>
+ <hr>
+
+ <div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
+<p>DeltaSpike requires a CDI implementation to be available in the Java
environment that your projects are deployed to. The implementation provides the
CDI essentials, managing dependency injection and contextual lifecycles. <a
href="http://weld.cdi-spec.org/">JBoss Weld</a> and <a
href="http://openwebbeans.apache.org/">Apache OpenWebBeans (OWB)</a> are two
widely used CDI implementations. Dependent on the Java environment you choose,
some setup may be necessary as detailed here.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_java_ee6_containers">Java EE6+ Containers</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>CDI is part of Java EE6 and later so CDI implementations are included as
standard in Java EE6+ compliant environments. There is no additional CDI
configuration needed besides including the CDI-obligatory
<code>beans.xml</code> file in your project.</p>
+</div>
+<div class="paragraph">
+<p>JBoss Weld is integrated in Java EE application servers including WildFly,
JBoss Enterprise Application Platform, GlassFish, and Oracle WebLogic.</p>
+</div>
+<div class="paragraph">
+<p>Apache OpenWebBeans (OWB) is integrated in Java EE containers including
Apache TomEE, Apache Geronimo, IBM WebSphere Application Server, and SiwPas.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_java_ee5_and_servlet_containers">Java EE5 and Servlet Containers</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>CDI implementations are not distributed with Java EE5 application servers
or Servlet-only environments such as Apache TomCat and Eclipse Jetty. You can
use CDI in these environments by embedding a standalone CDI implementation.
Both JBoss Weld and Apache OpenWebBeans can be used for this task; for more
information, see the corresponding CDI implementation documentation.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_java_se6">Java SE6+</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>CDI is not part of Java SE but it can still be used. JBoss Weld and Apache
OpenWebBeans implementations can be used to act as dependency injection bean
managers but the respective containers must be booted manually.</p>
+</div>
+<div class="paragraph">
+<p>DeltaSpike provides a dedicated Container Control module to enable
applications deployed in Java SE environments to boot a CDI container. The
Container Control module consists of the API component and components specific
to the JBoss Weld, Apache OpenWebBeans and Apache OpenEJB CDI containers. The
DeltaSpike module provides a layer of abstraction from the specific CDI
containers, enabling you to write container-independent code in your
project.</p>
+</div>
+<div class="paragraph">
+<p>Instructions are provided here for adding the required resources to both
Maven-based and Maven-independent projects and subsequently booting the CDI
container from your project source code.</p>
+</div>
+<div class="sect2">
+<h3 id="_declare_dependencies_for_maven_based_projects">Declare Dependencies
for Maven-based Projects</h3>
+<div class="paragraph">
+<p>For Maven-based projects, the Container Control module is available in
Maven Central together with the other DeltaSpike modules. You must configure
your project to use the DeltaSpike Container Control API and one of the CDI
container-specific modules.</p>
+</div>
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Open the project <code>pom.xml</code> file for editing</p>
+</li>
+<li>
+<p>Add the DeltaSpike Container Control API to the list of dependencies</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.deltaspike.cdictrl<span
class="tag"></groupId></span>
+ <span class="tag"><artifactId></span>deltaspike-cdictrl-api<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${deltaspike.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>compile<span
class="tag"></scope></span>
+<span class="tag"></dependency></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Add CDI container dependencies for one of the container options listed
here</p>
+</li>
+</ol>
+</div>
+<div class="sect3">
+<h4 id="_option_a_for_jboss_weld">Option A: For JBoss Weld</h4>
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Open the project <code>pom.xml</code> file for editing</p>
+</li>
+<li>
+<p>Add the JBoss Weld version to the list of properties, replacing the version
as desired</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><properties></span>
+ <span class="tag"><weld.version></span>1.1.9.Final<span
class="tag"></weld.version></span>
+<span class="tag"></properties></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Add the JBoss Weld dependency to the list of dependencies</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.jboss.weld.se<span
class="tag"></groupId></span>
+ <span class="tag"><artifactId></span>weld-se<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${weld.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>runtime<span
class="tag"></scope></span>
+<span class="tag"></dependency></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Add the DeltaSpike Weld-specific Container Control module to the list of
dependencies</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.deltaspike.cdictrl<span
class="tag"></groupId></span>
+ <span class="tag"><artifactId></span>deltaspike-cdictrl-weld<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${deltaspike.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>runtime<span
class="tag"></scope></span>
+<span class="tag"></dependency></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Save the <code>pom.xml</code> file changes</p>
+</li>
+<li>
+<p>Download all required dependencies</p>
+<div class="listingblock">
+<div class="content">
+<pre>mvn clean install</pre>
+</div>
+</div>
+</li>
+</ol>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_option_b_for_apache_openwebbeans">Option B: For Apache
OpenWebBeans</h4>
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Open the project <code>pom.xml</code> file for editing</p>
+</li>
+<li>
+<p>Add the Apache OpenWebBeans version to the list of properties, replacing
the version as desired</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><properties></span>
+ <span class="tag"><owb.version></span>1.2.0<span
class="tag"></owb.version></span>
+<span class="tag"></properties></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Add the Apache OpenWebBeans dependencies to the list of dependencies</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.openwebbeans<span
class="tag"></groupId></span>
+ <span class="tag"><artifactId></span>openwebbeans-impl<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${owb.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>runtime<span
class="tag"></scope></span>
+<span class="tag"></dependency></span>
+
+<span class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.openwebbeans<span
class="tag"></groupId></span>
+ <span class="tag"><artifactId></span>openwebbeans-spi<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${owb.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>compile<span
class="tag"></scope></span>
+<span class="tag"></dependency></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Add the DeltaSpike Apache OpenWebBeans-specific Container Control module to
the list of dependencies</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.deltaspike.cdictrl<span
class="tag"></groupId></span>
+ <span class="tag"><artifactId></span>deltaspike-cdictrl-owb<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${deltaspike.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>runtime<span
class="tag"></scope></span>
+<span class="tag"></dependency></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Save the <code>pom.xml</code> file changes</p>
+</li>
+<li>
+<p>Download all required dependencies</p>
+<div class="listingblock">
+<div class="content">
+<pre>mvn clean install</pre>
+</div>
+</div>
+</li>
+</ol>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_declare_dependencies_for_maven_independent_projects">Declare
Dependencies for Maven-independent Projects</h3>
+<div class="paragraph">
+<p>For Maven-independent projects, the Container Control module is distributed
together with the other DeltaSpike modules in
<code>distribution-fill-<version>.zip</code>. You must add two of the
files from the <code>cdictrl</code> directory to your project, namely
<code>deltaspike-cdictrl-api.jar</code> and the .jar file that corresponds to
the CDI container you have chosen. Add these files to the project
<code>WEB-INF/lib</code> or <code>EAR/lib</code> directory for .war and .ear
projects respectively.</p>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_start_the_cdi_container_from_your_project">Start the CDI Container
from Your Project</h3>
+<div class="paragraph">
+<p>To start a CDI container in your application, you must instantiate a
<code>CdiContainer</code> object and call the <code>#boot</code> method. When
<code>#boot</code> is called, the <code>CdiContainer</code> scans CDI-enabled
+archives for beans and CDI extensions. An example is given in the code snippet
here. Before the application exits, <code>#shutdown</code> must be called to
correctly destroy all beans.</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span
class="keyword">import</span> <span
class="include">org.apache.deltaspike.cdise.api.CdiContainer</span>;
+<span class="keyword">import</span> <span
class="include">org.apache.deltaspike.cdise.api.CdiContainerLoader</span>;
+
+<span class="directive">public</span> <span class="type">class</span> <span
class="class">MainApp</span> {
+ <span class="directive">public</span> <span
class="directive">static</span> <span class="type">void</span> main(<span
class="predefined-type">String</span><span class="type">[]</span> args) {
+
+ CdiContainer cdiContainer = CdiContainerLoader.getCdiContainer();
+ cdiContainer.boot();
+
+ <span class="comment">// You can use CDI here</span>
+
+ cdiContainer.shutdown();
+ }
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Starting the container does not automatically start all CDI Contexts.
Contexts must be started independently using the provided
<code>ContextControl</code> class. An example of starting the Context for
<code>@ApplicationScoped</code> beans is added to the code snippet here.</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span
class="keyword">import</span> <span
class="include">org.apache.deltaspike.cdise.api.CdiContainer</span>;
+<span class="keyword">import</span> <span
class="include">org.apache.deltaspike.cdise.api.CdiContainerLoader</span>;
+<span class="keyword">import</span> <span
class="include">org.apache.deltaspike.cdise.api.ContextControl</span>;
+<span class="keyword">import</span> <span
class="include">javax.enterprise.context.ApplicationScoped</span>;
+
+<span class="directive">public</span> <span class="type">class</span> <span
class="class">MainApp</span> {
+ <span class="directive">public</span> <span
class="directive">static</span> <span class="type">void</span> main(<span
class="predefined-type">String</span><span class="type">[]</span> args) {
+
+ CdiContainer cdiContainer = CdiContainerLoader.getCdiContainer();
+ cdiContainer.boot();
+
+ <span class="comment">// Starting the application-context allows to
use @ApplicationScoped beans</span>
+ ContextControl contextControl = cdiContainer.getContextControl();
+ contextControl.startContext(ApplicationScoped.class);
+
+ <span class="comment">// You can use CDI here</span>
+
+ cdiContainer.shutdown();
+ }
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>To resolve project beans, you can use the DeltaSpike
<code>BeanProvider</code> class. Whether <code>EchoService</code> is a concrete
implementation or just an interface depends on the application. In the case
that it is an interface, the corresponding implementation is resolved. The
resolved bean is a standard CDI bean and it can be used for all CDI concepts,
such as @Inject, in the class without further uses of
<code>BeanProvider</code>. An example of resolving the bean without qualifiers
is given in the code snippet here.</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java">EchoService echoService
= BeanProvider.getContextualReference(EchoService.class, <span
class="predefined-constant">false</span>);</code></pre>
+</div>
+</div>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_next">Next</h2>
+<div class="sectionbody">
+<div class="ulist">
+<ul>
+<li>
+<p>For more information about the Container Control module, see <a
href="container-control.html">Container Control Module</a>.</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+ </div>
+
+ <hr>
+
+ <footer>
+ <p>Copyright © 2011-2014 The Apache Software
Foundation, Licensed under the Apache License, Version 2.0.</p>
+ <p>Apache and the Apache feather logo are
trademarks of The Apache Software Foundation.</p>
+ </footer>
+
+ </div>
+ <!-- /.container -->
+
+</body>
+</html>
\ No newline at end of file
Added: websites/staging/deltaspike/trunk/content/documentation/configure.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/configure.html
(added)
+++ websites/staging/deltaspike/trunk/content/documentation/configure.html Thu
Oct 23 12:56:54 2014
@@ -0,0 +1,353 @@
+<!DOCTYPE html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="deltaspike-generate-pages">
+<meta name="author" content="chm">
+
+<title>Configure DeltaSpike in Your Projects</title>
+
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership. The ASF licenses
this file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at .
http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law
or agreed to in writing, software distributed under the License is distributed
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing
permissions and limitations under the License. -->
+
+<!-- Styles -->
+
+<link href="https://deltaspike.apache.org/resources/css/bootstrap.css"
rel="stylesheet">
+<link
href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css"
rel="stylesheet">
+
+<style type="text/css">
+/* Stylesheet for CodeRay to match GitHub theme | MIT License |
http://foundation.zurb.com */
+/*pre.CodeRay {background-color:#f7f7f8;}*/
+.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
+.CodeRay
span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
+.CodeRay .line-numbers strong{font-weight: normal}
+table.CodeRay{border-collapse:separate;border-spacing:0;margin-bottom:0;border:0;background:none}
+table.CodeRay td{vertical-align: top}
+table.CodeRay td.line-numbers{text-align:right}
+table.CodeRay td.line-numbers>pre{padding:0;color:rgba(0,0,0,.3)}
+table.CodeRay td.code{padding:0 0 0 .5em}
+table.CodeRay td.code>pre{padding:0}
+.CodeRay .debug{color:#fff !important;background:#000080 !important}
+.CodeRay .annotation{color:#007}
+.CodeRay .attribute-name{color:#000080}
+.CodeRay .attribute-value{color:#700}
+.CodeRay .binary{color:#509}
+.CodeRay .comment{color:#998;font-style:italic}
+.CodeRay .char{color:#04d}
+.CodeRay .char .content{color:#04d}
+.CodeRay .char .delimiter{color:#039}
+.CodeRay .class{color:#458;font-weight:bold}
+.CodeRay .complex{color:#a08}
+.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
+.CodeRay .color{color:#099}
+.CodeRay .class-variable{color:#369}
+.CodeRay .decorator{color:#b0b}
+.CodeRay .definition{color:#099}
+.CodeRay .delimiter{color:#000}
+.CodeRay .doc{color:#970}
+.CodeRay .doctype{color:#34b}
+.CodeRay .doc-string{color:#d42}
+.CodeRay .escape{color:#666}
+.CodeRay .entity{color:#800}
+.CodeRay .error{color:#808}
+.CodeRay .exception{color:inherit}
+.CodeRay .filename{color:#099}
+.CodeRay .function{color:#900;font-weight:bold}
+.CodeRay .global-variable{color:#008080}
+.CodeRay .hex{color:#058}
+.CodeRay .integer,.CodeRay .float{color:#099}
+.CodeRay .include{color:#555}
+.CodeRay .inline{color:#00}
+.CodeRay .inline .inline{background:#ccc}
+.CodeRay .inline .inline .inline{background:#bbb}
+.CodeRay .inline .inline-delimiter{color:#d14}
+.CodeRay .inline-delimiter{color:#d14}
+.CodeRay .important{color:#555;font-weight:bold}
+.CodeRay .interpreted{color:#b2b}
+.CodeRay .instance-variable{color:#008080}
+.CodeRay .label{color:#970}
+.CodeRay .local-variable{color:#963}
+.CodeRay .octal{color:#40e}
+.CodeRay .predefined{color:#369}
+.CodeRay .preprocessor{color:#579}
+.CodeRay .pseudo-class{color:#555}
+.CodeRay .directive{font-weight:bold}
+.CodeRay .type{font-weight:bold}
+.CodeRay .predefined-type{color:inherit}
+.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
+.CodeRay .key{color:#808}
+.CodeRay .key .delimiter{color:#606}
+.CodeRay .key .char{color:#80f}
+.CodeRay .value{color:#088}
+.CodeRay .regexp .delimiter{color:#808}
+.CodeRay .regexp .content{color:#808}
+.CodeRay .regexp .modifier{color:#808}
+.CodeRay .regexp .char{color:#d14}
+.CodeRay .regexp .function{color:#404;font-weight:bold}
+.CodeRay .string{color:#d20}
+.CodeRay .string .string .string{background:#ffd0d0}
+.CodeRay .string .content{color:#d14}
+.CodeRay .string .char{color:#d14}
+.CodeRay .string .delimiter{color:#d14}
+.CodeRay .shell{color:#d14}
+.CodeRay .shell .delimiter{color:#d14}
+.CodeRay .symbol{color:#990073}
+.CodeRay .symbol .content{color:#a60}
+.CodeRay .symbol .delimiter{color:#630}
+.CodeRay .tag{color:#008080}
+.CodeRay .tag-special{color:#d70}
+.CodeRay .variable{color:#036}
+.CodeRay .insert{background:#afa}
+.CodeRay .delete{background:#faa}
+.CodeRay .change{color:#aaf;background:#007}
+.CodeRay .head{color:#f8f;background:#505}
+.CodeRay .insert .insert{color:#080}
+.CodeRay .delete .delete{color:#800}
+.CodeRay .change .change{color:#66f}
+.CodeRay .head .head{color:#f4f}
+body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+}
+</style>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-36103647-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type =
'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+</head>
+
+<body>
+
+ <div class="navbar navbar-fixed-top">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse"
+ data-target=".nav-collapse"> <span
class="icon-bar"></span> <span
+ class="icon-bar"></span> <span
class="icon-bar"></span>
+ </a> <a class="brand logocolor"
+
href="http://deltaspike.apache.org/index.html">Apache
+ DeltaSpike</a>
+ <div class="nav-collapse">
+ <ul class="nav">
+ <li class="active"><a
+
href="http://deltaspike.apache.org/index.html">Home</a></li>
+ <li><a
href="http://deltaspike.apache.org/documentation">Documentation</a></li>
+ <li><a
href="http://deltaspike.apache.org/source.html">Source</a></li>
+ <li><a
href="http://deltaspike.apache.org/download.html">Download</a></li>
+ <li><a
href="http://deltaspike.apache.org/community.html">Community</a></li>
+ <!-- <li><a
href="./support.html">Support</a></li> -->
+ <li><a
href="http://deltaspike.apache.org/news.html">News</a></li>
+ <li><a
+
href="http://deltaspike.apache.org/migration-guide.html">Migration</a></li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ <form id="search-form"
action="http://www.google.com/search"
+ method="get" class="navbar-search
pull-right">
+ <input value="deltaspike.apache.org"
name="sitesearch"
+ type="hidden"> <input
class="search-query" name="q"
+ id="query" type="text">
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div class="row">
+ <div class="span12">
+ <div class="page-title">
+ <h1>Configure DeltaSpike in Your Projects</h1>
+ </div>
+
+ <div id="toc" class="toc">
+ <ul class="sectlevel1">
+<li><a href="#_configure_deltaspike_in_maven_based_projects">Configure
DeltaSpike in Maven-based Projects</a></li>
+<li><a href="#_configure_deltaspike_in_maven_independent_projects">Configure
DeltaSpike in Maven-independent Projects</a></li>
+<li><a href="#_next">Next</a></li>
+</ul>
+ <hr>
+
+ <div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
+<p>DeltaSpike is available for use in Maven-based and Maven-independent
projects. Instructions are given here for obtaining released final versions of
DeltaSpike for both approaches.</p>
+</div>
+<div class="paragraph">
+<p><strong>Note:</strong> You can also opt to use the lastest DeltaSpike
snapshots; for more information, see <a href="snapshots.html">Test
Snapshots</a>.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_configure_deltaspike_in_maven_based_projects">Configure DeltaSpike in
Maven-based Projects</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>DeltaSpike released versions are available from the Maven Central
repository for use in Maven-based projects. This means that you do not need to
modify your Maven configuration <code>settings.xml</code> file; when building
projects, Maven automatically searches the online Maven Central repository for
project dependencies and downloads sources to your local Maven repository.</p>
+</div>
+<div class="paragraph">
+<p>To begin use the DeltaSpike releases from Maven Central, you simply need to
configure the project <code>pom.xml</code> file for each project with
information about the release version and modules you want to use. At a
minimum, you must add the DeltaSpike Core module, which provides the DeltaSpike
API and utility classes.</p>
+</div>
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Open the project <code>pom.xml</code> file for editing</p>
+</li>
+<li>
+<p>Add the DeltaSpike version to the list of properties</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><properties></span>
+ <span class="tag"><deltaspike.version></span>1.0.2<span
class="tag"></deltaspike.version></span>
+<span class="tag"></properties></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Add the DeltaSpike Core module to the list of dependencies</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.deltaspike.core<span
class="tag"></groupId></span>
+ <span class="tag"><artifactId></span>deltaspike-core-api<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${deltaspike.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>compile<span
class="tag"></scope></span>
+<span class="tag"></dependency></span>
+
+<span class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.deltaspike.core<span
class="tag"></groupId></span>
+ <span class="tag"><artifactId></span>deltaspike-core-impl<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${deltaspike.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>runtime<span
class="tag"></scope></span>
+<span class="tag"></dependency></span></code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Save the <code>pom.xml</code> file changes</p>
+</li>
+</ol>
+</div>
+<div class="paragraph">
+<p>For instructions on adding the optional DeltaSpike modules, see the
relevant module page:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="bean-validation.html">Bean Validation</a></p>
+</li>
+<li>
+<p><a href="container-control.html">Container Control</a></p>
+</li>
+<li>
+<p><a href="data.html">Data</a></p>
+</li>
+<li>
+<p><a href="jpa.html">JPA</a></p>
+</li>
+<li>
+<p><a href="jsf.html">JSF</a></p>
+</li>
+<li>
+<p><a href="partial-bean.html">Partial-Bean</a></p>
+</li>
+<li>
+<p><a href="scheduler.html">Scheduler</a></p>
+</li>
+<li>
+<p><a href="security.html">Security</a></p>
+</li>
+<li>
+<p><a href="servlet.html">Servlet</a></p>
+</li>
+<li>
+<p><a href="test-control.html">Test-Control</a></p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_configure_deltaspike_in_maven_independent_projects">Configure
DeltaSpike in Maven-independent Projects</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>Deltaspike is provided as a set of downloadable .jar files for projects not
utilizing the Maven build system. Alternatively, you can build the DeltaSpike
.jar files from source; for instructions, see <a href="build.html">Build
DeltaSpike from Source</a>. In both cases, you must add the DeltaSpike .jar
files directly to your projects.</p>
+</div>
+<div class="paragraph">
+<p>To use DeltaSpike without Maven from the downloadable .jar files, complete
the following steps:</p>
+</div>
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Download the latest <code>distribution-full-<version>.zip</code> from
<a href="https://deltaspike.apache.org/download.html"
class="bare">https://deltaspike.apache.org/download.html</a></p>
+</li>
+<li>
+<p>Extract the archive contents</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="shell">$ unzip
distribution-full-<version>.zip</code></pre>
+</div>
+</div>
+</li>
+<li>
+<p>Add the source to your project</p>
+<div class="olist loweralpha">
+<ol class="loweralpha" type="a">
+<li>
+<p>For .war projects, copy the .jar files to <code>WEB-INF/lib</code>
directory</p>
+</li>
+<li>
+<p>For .ear projects, copy the .jar files to <code>EAR/lib directory</code>
and add the following to <code>META-INF/application.xml</code>:</p>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><library-directory></span>lib<span
class="tag"></library-directory></span></code></pre>
+</div>
+</div>
+</li>
+</ol>
+</div>
+</li>
+</ol>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_next">Next</h2>
+<div class="sectionbody">
+<div class="ulist">
+<ul>
+<li>
+<p>To check whether your Java envrionment needs any additional CDI-specific
configuration, see <a href="cdiimp.html">Enable CDI For Your Java
Environment</a>.</p>
+</li>
+<li>
+<p>To see ready-to-deploy example DeltaSpike applications, see <a
href="examples.html">See DeltaSpike in Action</a>.</p>
+</li>
+<li>
+<p>To understand how the various DeltaSpike modules can enhance and extend
your applications, see the individual module pages.</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+ </div>
+
+ <hr>
+
+ <footer>
+ <p>Copyright © 2011-2014 The Apache Software
Foundation, Licensed under the Apache License, Version 2.0.</p>
+ <p>Apache and the Apache feather logo are
trademarks of The Apache Software Foundation.</p>
+ </footer>
+
+ </div>
+ <!-- /.container -->
+
+</body>
+</html>
\ No newline at end of file