deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r829461 - in /websites/staging/deltaspike/trunk/content: ./ deltaspike/documentation.html deltaspike/index.html deltaspike/modules.html deltaspike/problems.html
Date Mon, 20 Aug 2012 12:09:32 GMT
Author: buildbot
Date: Mon Aug 20 12:09:31 2012
New Revision: 829461

Staging update by buildbot for deltaspike

    websites/staging/deltaspike/trunk/content/   (props changed)

Propchange: websites/staging/deltaspike/trunk/content/
--- cms:source-revision (original)
+++ cms:source-revision Mon Aug 20 12:09:31 2012
@@ -1 +1 @@

Modified: websites/staging/deltaspike/trunk/content/deltaspike/documentation.html
--- websites/staging/deltaspike/trunk/content/deltaspike/documentation.html (original)
+++ websites/staging/deltaspike/trunk/content/deltaspike/documentation.html Mon Aug 20 12:09:31
@@ -55,7 +55,63 @@
               <div class="page-title">
-              <p></p>
+              <p><div class="toc">
+<li><a href="#introduction">Introduction</a><ul>
+<li><a href="#with-java-ee6">With Java-EE6+</a></li>
+<li><a href="#without-java-ee6">Without Java-EE6+</a></li>
+<li><a href="#with-java-se">With Java-SE</a></li>
+<hr />
+<h1 id="introduction">Introduction</h1>
+<p>DeltaSpike consists of the following modules:</p>
+<p>Required modules:</p>
+<p>In the listings below replace the placeholders for the version with the version
of your choice or use:</p>
+<div class="codehilite"><pre><span class="nt">&lt;properties&gt;</span>
+    <span class="nt">&lt;deltaspike.version&gt;</span>incubating-0.1-SNAPSHOT<span
+<span class="nt">&lt;/properties&gt;</span>
+<h2 id="with-java-ee6">With Java-EE6+</h2>
+<p>If you are using DeltaSpike in a Java-EE6 environment, you don't need to configure
a CDI implementation explicitly because it's shipped with the container.</p>
+<h2 id="without-java-ee6">Without Java-EE6+</h2>
+<p>Java-EE5 application servers as well as pure servlet containers like Apache Tomcat
don't provide a CDI implementation out-of-the-box. So don't forget to setup the CDI implementation
of your choice.</p>
+<h2 id="with-java-se">With Java-SE</h2>
+<p>Several DeltaSpike features can be used with Java-SE5+ only. Therefore, you have
to bootstrap the CDI container of your choise manually.</p>
+<div class="codehilite"><pre><span class="n">public</span> <span
class="n">class</span> <span class="n">SimpleApp</span> <span class="p">{</span>
+    <span class="n">public</span> <span class="n">static</span> <span
class="n">void</span> <span class="n">main</span><span class="p">(</span><span
class="n">String</span><span class="o">[]</span> <span class="n">args</span><span
class="p">)</span> <span class="p">{</span>
+        <span class="n">CdiContainer</span><span class="o">.</span><span
class="n">start</span><span class="p">();</span>
+        <span class="sr">//</span><span class="n">You</span> <span
class="n">can</span> <span class="k">use</span> <span class="n">CDI</span>
<span class="n">here</span> <span class="o">-</span> <span class="n">since</span>
<span class="n">you</span> <span class="n">can</span><span class="err">&#39;</span><span
class="n">t</span> <span class="n">inject</span> <span class="n">a</span>
<span class="n">bean</span> <span class="n">in</span> <span class="n">this</span>
<span class="n">class</span> <span class="n">directly</span> <span
class="k">use</span> <span class="n">the</span> <span class="n">BeanManagerProvider</span>
<span class="ow">or</span> <span class="n">the</span> <span class="n">BeanProvider</span>
+        <span class="n">CdiContainer</span><span class="o">.</span><span
class="n">stop</span><span class="p">();</span>
+    <span class="p">}</span>
+<span class="p">}</span>
+<span class="o">/**</span>
+ <span class="o">*</span> <span class="n">Helper</span> <span
class="n">class</span> <span class="n">to</span> <span class="n">start</span>
<span class="ow">and</span> <span class="n">stop</span> <span class="n">the</span>
<span class="n">OpenWebBeansContainer</span>
+ <span class="o">*/</span>
+<span class="n">public</span> <span class="n">class</span> <span
class="n">CdiContainer</span> <span class="p">{</span>
+    <span class="n">private</span> <span class="n">static</span>
<span class="n">ContainerLifecycle</span> <span class="n">lifecycle</span>
<span class="o">=</span> <span class="n">null</span><span class="p">;</span>
+    <span class="n">public</span> <span class="n">static</span> <span
class="n">void</span> <span class="n">start</span><span class="p">()</span>
<span class="p">{</span>
+        <span class="n">lifecycle</span> <span class="o">=</span>
<span class="n">WebBeansContext</span><span class="o">.</span><span
class="n">currentInstance</span><span class="p">()</span><span class="o">.</span><span
class="n">getService</span><span class="p">(</span><span class="n">ContainerLifecycle</span><span
class="o">.</span><span class="n">class</span><span class="p">);</span>
+        <span class="n">lifecycle</span><span class="o">.</span><span
class="n">startApplication</span><span class="p">(</span><span class="n">null</span><span
+    <span class="p">}</span>
+    <span class="n">public</span> <span class="n">static</span> <span
class="n">void</span> <span class="n">stop</span><span class="p">()</span>
<span class="p">{</span>
+        <span class="n">lifecycle</span><span class="o">.</span><span
class="n">stopApplication</span><span class="p">(</span><span class="n">null</span><span
+    <span class="p">}</span>
+<span class="p">}</span>

Modified: websites/staging/deltaspike/trunk/content/deltaspike/index.html
--- websites/staging/deltaspike/trunk/content/deltaspike/index.html (original)
+++ websites/staging/deltaspike/trunk/content/deltaspike/index.html Mon Aug 20 12:09:31 2012
@@ -57,19 +57,14 @@
         <!-- Example row of columns -->
         <div class="row">
-            <div class="span4">
-                <h2>Problems solved</h2>
-                <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus,
tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet
risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
-                <p><a class="btn" href="problems.html#">View details »</a></p>
+            <div class="span6">
+                <h2>Modules</h2>
+                <p>CDI extensions created by the Apache DeltaSpike community are packaged
as modules. They offer additional functionality not provided out of the box by the CDI spec
(Security, JPA, ...) </p>
+                <p><a class="btn" href="modules.html#">View details »</a></p>
-            <div class="span4">
-                <h2>Documentation</h2>
-                <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus,
tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet
risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
-                <p><a class="btn" href="getting-started.html#">View details »</a></p>
-            </div>
-            <div class="span4">
+            <div class="span6">
-                <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas
eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus
commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
+                <p>See the following examples which are part of the project to discover
how to use DeltaSpike project.</p>
                 <p><a class="btn" href="examples.html#">View details »</a></p>

Added: websites/staging/deltaspike/trunk/content/deltaspike/modules.html
--- websites/staging/deltaspike/trunk/content/deltaspike/modules.html (added)
+++ websites/staging/deltaspike/trunk/content/deltaspike/modules.html Mon Aug 20 12:09:31
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html lang="en">
+	<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>Apache DeltaSpike - Modules</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 &quot;License&quot;); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at .
. Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an &quot;AS IS&quot; 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. -->
+    <!-- Le styles -->
+    <link href="resources/css/bootstrap.css" rel="stylesheet">
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+        padding-bottom: 40px;
+      }
+    </style>
+    <link href=""
+    <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" href="index.html"><img src="resources/images/deltaspike-logo-medium.png"/></a>
+                <div class="nav-collapse">
+                    <ul class="nav">
+                        <li class="active"><a href="index.html">Home</a></li>
+                        <li><a href="documentation.html">Documentation</a></li>
+                        <li><a href="download.html">Download</a></li>
+                        <li><a href="community.html">Community</a></li>
+                        <li><a href="support.html">Support</a></li>
+                    </ul>
+                </div><!--/.nav-collapse -->
+            </div>
+        </div>
+    </div>
+    <div class="container">
+      <div class="row">
+          <div class="span12">
+              <div class="page-title">
+                <h1>Modules</h1>
+              </div>
+              <p><div class="toc">
+<li><a href="#security">Security</a></li>
+<li><a href="#jpa">JPA</a></li>
+<hr />
+<h1 id="security">Security</h1>
+<h1 id="jpa">JPA</h1></p>
+          </div>
+      </div>
+      <hr>
+      <footer>
+        <p>Copyright © 20011-2012 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
+      </footer>
+    </div> <!-- /container -->
+    <!-- Javascript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="/resources/js/jquery.js"></script>
+    <script src="/resources/js/bootstrap-transition.js"></script>
+    <script src="/resources/js/bootstrap-alert.js"></script>
+    <script src="/resources/js/bootstrap-modal.js"></script>
+    <script src="/resources/js/bootstrap-dropdown.js"></script>
+    <script src="/resources/js/bootstrap-scrollspy.js"></script>
+    <script src="/resources/js/bootstrap-tab.js"></script>
+    <script src="/resources/js/bootstrap-tooltip.js"></script>
+    <script src="/resources/js/bootstrap-popover.js"></script>
+    <script src="/resources/js/bootstrap-button.js"></script>
+    <script src="/resources/js/bootstrap-collapse.js"></script>
+    <script src="/resources/js/bootstrap-carousel.js"></script>
+    <script src="/resources/js/bootstrap-typeahead.js"></script>
\ No newline at end of file

View raw message