deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1710865 [1/3] - /deltaspike/site/trunk/content/staging/documentation/
Date Tue, 27 Oct 2015 19:04:07 GMT
Author: gpetracek
Date: Tue Oct 27 19:04:07 2015
New Revision: 1710865

URL: http://svn.apache.org/viewvc?rev=1710865&view=rev
Log:
Site checkin for project Apache DeltaSpike Documentation

Modified:
    deltaspike/site/trunk/content/staging/documentation/bean-validation.html
    deltaspike/site/trunk/content/staging/documentation/build.html
    deltaspike/site/trunk/content/staging/documentation/cdiimp.html
    deltaspike/site/trunk/content/staging/documentation/configuration.html
    deltaspike/site/trunk/content/staging/documentation/configure.html
    deltaspike/site/trunk/content/staging/documentation/container-control.html
    deltaspike/site/trunk/content/staging/documentation/core.html
    deltaspike/site/trunk/content/staging/documentation/data.html
    deltaspike/site/trunk/content/staging/documentation/index.html
    deltaspike/site/trunk/content/staging/documentation/jpa.html
    deltaspike/site/trunk/content/staging/documentation/jsf.html
    deltaspike/site/trunk/content/staging/documentation/modules.html
    deltaspike/site/trunk/content/staging/documentation/overview.html
    deltaspike/site/trunk/content/staging/documentation/partial-bean.html
    deltaspike/site/trunk/content/staging/documentation/projectstage.html
    deltaspike/site/trunk/content/staging/documentation/proxy.html
    deltaspike/site/trunk/content/staging/documentation/scheduler.html
    deltaspike/site/trunk/content/staging/documentation/security.html
    deltaspike/site/trunk/content/staging/documentation/servlet.html
    deltaspike/site/trunk/content/staging/documentation/snapshots.html
    deltaspike/site/trunk/content/staging/documentation/spi.html
    deltaspike/site/trunk/content/staging/documentation/test-control.html

Modified: deltaspike/site/trunk/content/staging/documentation/bean-validation.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/bean-validation.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/bean-validation.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/bean-validation.html Tue Oct 27 19:04:07
2015
@@ -391,7 +391,7 @@ simply need to override the factory. The
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/build.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/build.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/build.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/build.html Tue Oct 27 19:04:07 2015
@@ -278,7 +278,7 @@ table.CodeRay td.code>pre{padding:0}
 <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 included with the source
and a CDI implementation or container can be specified with which to carry out the tests.</p>
 </div>
 <div class="paragraph">
-<p>In all cases, to obtain the DeltaSpike source, <a href="https://deltaspike.apache.org/download.html">download</a>
<code>deltaspike-project-1.4.1-source-release.zip</code> and extract the contents.</p>
+<p>In all cases, to obtain the DeltaSpike source, <a href="https://deltaspike.apache.org/download.html">download</a>
<code>deltaspike-project-1.5.1-source-release.zip</code> and extract the contents.</p>
 </div>
 <div class="admonitionblock note">
 <table>
@@ -302,7 +302,7 @@ You can also obtain the DeltaSpike sourc
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay highlight"><code data-lang="shell">$ cd /path/to/deltaspike-project-1.4.1/
+<pre class="CodeRay highlight"><code data-lang="shell">$ cd /path/to/deltaspike-project-1.5.1/
 $ mvn clean install</code></pre>
 </div>
 </div>
@@ -539,7 +539,7 @@ Set <code>WLS_HOME</code> so that <code>
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/cdiimp.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/cdiimp.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/cdiimp.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/cdiimp.html Tue Oct 27 19:04:07 2015
@@ -511,7 +511,7 @@ table.CodeRay td.code>pre{padding:0}
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/configuration.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/configuration.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/configuration.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/configuration.html Tue Oct 27 19:04:07
2015
@@ -411,7 +411,7 @@ following lookup chain until we found a
 <h4 id="_getpropertyawarepropertyvalue">getPropertyAwarePropertyValue()</h4>
 <div class="paragraph">
 <p>The method
-<code>ConfigResolver#getProjectStageAwarePropertyValue(String key, String property)</code>
+<code>ConfigResolver#getPropertyAwarePropertyValue(String key, String property)</code>
 first looks up the configured value of the given property and uses this
 value to determine the final lookup path. All those lookups take the
 <a href="projectstage.html">DeltaSpike ProjectStage</a> mechanism into account.</p>
@@ -987,7 +987,7 @@ log.</p>
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/configure.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/configure.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/configure.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/configure.html Tue Oct 27 19:04:07
2015
@@ -310,7 +310,7 @@ You can also opt to use the lastest Delt
 <div class="listingblock">
 <div class="content">
 <pre class="CodeRay highlight"><code data-lang="xml"><span class="tag">&lt;properties&gt;</span>
-    <span class="tag">&lt;deltaspike.version&gt;</span>1.4.1<span
class="tag">&lt;/deltaspike.version&gt;</span>
+    <span class="tag">&lt;deltaspike.version&gt;</span>1.5.1<span
class="tag">&lt;/deltaspike.version&gt;</span>
 <span class="tag">&lt;/properties&gt;</span></code></pre>
 </div>
 </div>
@@ -483,7 +483,7 @@ The API is scoped for compile time and i
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/container-control.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/container-control.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/container-control.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/container-control.html Tue Oct 27
19:04:07 2015
@@ -642,7 +642,7 @@ tomcat.start();</code></pre>
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/core.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/core.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/core.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/core.html Tue Oct 27 19:04:07 2015
@@ -1961,7 +1961,7 @@ objects, the last object in the array wi
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/data.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/data.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/data.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/data.html Tue Oct 27 19:04:07 2015
@@ -369,9 +369,8 @@ Java SE application should be possible -
 provider as well as a CDI container to your application manually.</p>
 </div>
 <div class="paragraph">
-<p>Also note that in order to use abstract classes as repositories, this
-currently requires the presence of the
-<a href="http://www.javassist.org">javassist</a> library in your classpath.</p>
+<p>As of DeltaSpike v1.4.0, the Data module internally leverages the Proxy module,
which wraps ASM 5.  No external
+dependencies required, and now we have full support for interceptors on partial beans.</p>
 </div>
 </div>
 <div class="sect2">
@@ -2162,7 +2161,7 @@ provider when persisting / updating the
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/index.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/index.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/index.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/index.html Tue Oct 27 19:04:07 2015
@@ -316,7 +316,7 @@ table.CodeRay td.code>pre{padding:0}
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>

Modified: deltaspike/site/trunk/content/staging/documentation/jpa.html
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/staging/documentation/jpa.html?rev=1710865&r1=1710864&r2=1710865&view=diff
==============================================================================
--- deltaspike/site/trunk/content/staging/documentation/jpa.html (original)
+++ deltaspike/site/trunk/content/staging/documentation/jpa.html Tue Oct 27 19:04:07 2015
@@ -312,7 +312,7 @@ table.CodeRay td.code>pre{padding:0}
 <div class="sect2">
 <h3 id="_2_enable_the_transaction_interceptor">2. Enable the Transaction Interceptor</h3>
 <div class="paragraph">
-<p>For CDI 1.0 (or DeltaSpike v1.1.0 and earlier together with CDI 1.1+), you must
enable the transaction interceptor in the project <code>beans.xml</code> file:</p>
+<p>If you are using CDI 1.0 or CDI 1.1+ with DeltaSpike v1.1.0 and earlier, you must
enable the transaction interceptor in the project <code>beans.xml</code> file:</p>
 </div>
 <div class="listingblock">
 <div class="content">
@@ -862,6 +862,12 @@ in the beans.xml which is called
 </div>
 </div>
 <div class="paragraph">
+<p>Alternatively, you may expect that your transactions are started at a higher level,
e.g. you&#8217;re exposing a REST API
+and the endpoints themselves are either <code>@Transactional</code> or Stateless
session beans, either with container managed
+Transactions, you would use <code>org.apache.deltaspike.jpa.impl.transaction.ContainerManagedTransactionStrategy</code>.
 This
+is the strategy to use if you are leveraging <code>@PersistenceContext</code>
to inject your <code>EntityManager</code>.</p>
+</div>
+<div class="paragraph">
 <p>If you have multiple persistence units and you have to use both
 transaction types or the settings for development have to be different
 than the production settings, you can use
@@ -876,11 +882,11 @@ instead.</p>
 </td>
 <td class="content">
 In case of some versions of Weld (or OpenWebBeans in BDA mode), you have
-to configure it as global-alternative instead of an <code>&lt;alternatives&gt;</code>
in
-beans.xml. That means you have to add, for example,
+to configure it as a <a href="spi.html#GlobalAlternative">global alternative</a>
instead of an <code>alternative</code> in
+<code>beans.xml</code>. That means you have to add, for example,
 <code>globalAlternatives.org.apache.deltaspike.jpa.spi.transaction.TransactionStrategy
 =org.apache.deltaspike.jpa.impl.transaction.BeanManagedUserTransactionStrategy</code>
-to <code>/META-INF/apache-deltaspike.properties</code>
+to <code>/META-INF/apache-deltaspike.properties</code>.
 </td>
 </tr>
 </table>
@@ -948,7 +954,7 @@ to <code>/META-INF/apache-deltaspike.pro
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 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>



Mime
View raw message