You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by cm...@apache.org on 2012/08/20 14:09:25 UTC
svn commit: r1374983 - in
/incubator/deltaspike/site/trunk/content/deltaspike: documentation.mdtext
index.html modules.mdtext problems.mdtext
Author: cmoulliard
Date: Mon Aug 20 12:09:24 2012
New Revision: 1374983
URL: http://svn.apache.org/viewvc?rev=1374983&view=rev
Log:
Remove problems and add module page
Added:
incubator/deltaspike/site/trunk/content/deltaspike/modules.mdtext
- copied, changed from r1374930, incubator/deltaspike/site/trunk/content/deltaspike/problems.mdtext
Removed:
incubator/deltaspike/site/trunk/content/deltaspike/problems.mdtext
Modified:
incubator/deltaspike/site/trunk/content/deltaspike/documentation.mdtext
incubator/deltaspike/site/trunk/content/deltaspike/index.html
Modified: incubator/deltaspike/site/trunk/content/deltaspike/documentation.mdtext
URL: http://svn.apache.org/viewvc/incubator/deltaspike/site/trunk/content/deltaspike/documentation.mdtext?rev=1374983&r1=1374982&r2=1374983&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/content/deltaspike/documentation.mdtext (original)
+++ incubator/deltaspike/site/trunk/content/deltaspike/documentation.mdtext Mon Aug 20 12:09:24 2012
@@ -14,4 +14,61 @@ Notice: Licensed to the Apache Softwa
"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.
\ No newline at end of file
+ under the License.
+
+[TOC]
+
+***
+
+# Introduction
+
+DeltaSpike consists of the following modules:
+
+Required modules:
+
+ * Core
+
+**Hint**
+
+In the listings below replace the placeholders for the version with the version of your choice or use:
+
+ <properties>
+ <deltaspike.version>incubating-0.1-SNAPSHOT</deltaspike.version>
+ </properties>
+
+
+## With Java-EE6+
+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.
+
+## Without Java-EE6+
+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.
+
+## With Java-SE
+
+Several DeltaSpike features can be used with Java-SE5+ only. Therefore, you have to bootstrap the CDI container of your choise manually.
+
+ public class SimpleApp {
+ public static void main(String[] args) {
+ CdiContainer.start();
+
+ //You can use CDI here - since you can't inject a bean in this class directly use the BeanManagerProvider or the BeanProvider
+
+ CdiContainer.stop();
+ }
+ }
+
+ /**
+ * Helper class to start and stop the OpenWebBeansContainer
+ */
+ public class CdiContainer {
+ private static ContainerLifecycle lifecycle = null;
+
+ public static void start() {
+ lifecycle = WebBeansContext.currentInstance().getService(ContainerLifecycle.class);
+ lifecycle.startApplication(null);
+ }
+
+ public static void stop() {
+ lifecycle.stopApplication(null);
+ }
+ }
Modified: incubator/deltaspike/site/trunk/content/deltaspike/index.html
URL: http://svn.apache.org/viewvc/incubator/deltaspike/site/trunk/content/deltaspike/index.html?rev=1374983&r1=1374982&r2=1374983&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/content/deltaspike/index.html (original)
+++ incubator/deltaspike/site/trunk/content/deltaspike/index.html Mon Aug 20 12:09:24 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>
- <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">
<h2>Examples</h2>
- <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>
</div>
</div>
Copied: incubator/deltaspike/site/trunk/content/deltaspike/modules.mdtext (from r1374930, incubator/deltaspike/site/trunk/content/deltaspike/problems.mdtext)
URL: http://svn.apache.org/viewvc/incubator/deltaspike/site/trunk/content/deltaspike/modules.mdtext?p2=incubator/deltaspike/site/trunk/content/deltaspike/modules.mdtext&p1=incubator/deltaspike/site/trunk/content/deltaspike/problems.mdtext&r1=1374930&r2=1374983&rev=1374983&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/content/deltaspike/problems.mdtext (original)
+++ incubator/deltaspike/site/trunk/content/deltaspike/modules.mdtext Mon Aug 20 12:09:24 2012
@@ -1,4 +1,4 @@
-Title: Problems solved
+Title: Modules
Notice: 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
@@ -14,4 +14,16 @@ Notice: Licensed to the Apache Softwa
"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.
\ No newline at end of file
+ under the License.
+
+
+[TOC]
+
+***
+
+# Security
+
+# JPA
+
+
+