You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2014/09/21 10:32:36 UTC

svn commit: r923041 - in /websites/staging/tomee/trunk: cgi-bin/ content/ content/arquillian-available-adapters.html content/arquillian-getting-started.html content/documentation.html content/refcard/refcard.html

Author: buildbot
Date: Sun Sep 21 08:32:36 2014
New Revision: 923041

Log:
Staging update by buildbot for tomee

Modified:
    websites/staging/tomee/trunk/cgi-bin/   (props changed)
    websites/staging/tomee/trunk/content/   (props changed)
    websites/staging/tomee/trunk/content/arquillian-available-adapters.html
    websites/staging/tomee/trunk/content/arquillian-getting-started.html
    websites/staging/tomee/trunk/content/documentation.html
    websites/staging/tomee/trunk/content/refcard/refcard.html

Propchange: websites/staging/tomee/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Sep 21 08:32:36 2014
@@ -1 +1 @@
-1626028
+1626540

Propchange: websites/staging/tomee/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Sep 21 08:32:36 2014
@@ -1 +1 @@
-1626028
+1626540

Modified: websites/staging/tomee/trunk/content/arquillian-available-adapters.html
==============================================================================
--- websites/staging/tomee/trunk/content/arquillian-available-adapters.html (original)
+++ websites/staging/tomee/trunk/content/arquillian-available-adapters.html Sun Sep 21 08:32:36 2014
@@ -143,9 +143,9 @@
     </h1>
 </div>
 
-<p>Check out the <a href="arquillian-getting-started.html">Getting started</a> page if you are not familiar with Arquillian.</p>
+<p>Check out the <a href="arquillian-getting-started.html">Getting started</a> page if you are not at all familiar with Arquillian.</p>
 
-<p>All the Arquillian Adapters for TomEE support the following configuration options in the arquillian.xml:</p>
+<p>All the Arquillian Adapters for TomEE support the following configuration options in the <strong>src/test/resources/arquillian.xml</strong>:</p>
 
 <pre><code>&lt;container qualifier="tomee" default="true"&gt;
     &lt;configuration&gt;
@@ -155,7 +155,7 @@
 &lt;/container&gt;
 </code></pre>
 
-<p>The above can also be set as system properties rather than via the arquillian.xml file.</p>
+<p>The above can also be set as system properties rather than via the <strong>src/test/resources/arquillian.xml</strong> file.</p>
 
 <pre><code>&lt;build&gt;
   &lt;plugins&gt;
@@ -207,7 +207,7 @@ system using the TomEE Remote Adapter.</
 &lt;/dependency&gt;
 </code></pre>
 
-<p>As mentioned above the Embedded Adapter has the following properties which can be specified in the <code>arquillian.xml</code> file:</p>
+<p>As mentioned above the Embedded Adapter has the following properties which can be specified in the <strong>src/test/resources/arquillian.xml</strong> file:</p>
 
 <ul>
 <li><code>httpPort</code></li>
@@ -274,7 +274,7 @@ with the added benefit it is 100% match 
 &lt;/dependencies&gt;
 </code></pre>
 
-<p>The Remote Adapter has the following properties which can be specified in the <code>arquillian.xml</code> file:</p>
+<p>The Remote Adapter has the following properties which can be specified in the <strong>src/test/resources/arquillian.xml</strong> file:</p>
 
 <ul>
 <li><code>httpPort</code></li>

Modified: websites/staging/tomee/trunk/content/arquillian-getting-started.html
==============================================================================
--- websites/staging/tomee/trunk/content/arquillian-getting-started.html (original)
+++ websites/staging/tomee/trunk/content/arquillian-getting-started.html Sun Sep 21 08:32:36 2014
@@ -145,21 +145,23 @@
 
 <p>Arquillian is a testing framework on top of JUnit (or TestNG if you prefer). It makes it easier to do integration tests in a managed environment (JEE environment here after).</p>
 
-<p>In an managed environment, it's usually quite difficult to do unit tests, cause most of the time you have to mock almost all the world. It's really time consuming and does not prevent to write integration tests to reflect the production environment. Hence, unit tests become pretty useless.</p>
+<p>We provide an embedded and remote adapter, see <a href="arquillian-available-adapters.html">the available adapters</a> for more details.</p>
+
+<p>In a managed environment it is usually quite difficult to perform unit tests, due to the fact that most of the time you have to mock almost the entire environment. It is very time consuming and requires complicated integration tests that must reflect the production environment as best as possible. Unit tests lose their true value.</p>
 
 <p>JEE always got seen as an heavy technology, impossible to test and to use in development. OpenEJB always fight against that idea and proved that it's really possible.</p>
 
-<p>As David Blevins say:</p>
+<p>As David Blevins said:</p>
 
 <blockquote>
-  <p>"Don't blame EJBs (ie. Java EE) because your server isn't testable."</p>
+  <p>"Do not blame EJBs (ie. Java EE) because your server is not testable."</p>
 </blockquote>
 
-<p>With latest Java EE specifications (5 and especially 6), it becomes a reality. Arquillian typically adresses that area. It basically a framework that aims at helping managing server/container in an agnostic way. Arquillian is responsible for the lifecycle of the container (start, deploy, undeploy, stop, etc).</p>
+<p>With latest Java EE specifications (5 and especially 6), it becomes a reality. Arquillian typically addresses that area. It is basically a framework that aims at helping/managing the server/container in an agnostic way. Arquillian is responsible for the lifecycle of the container (start, deploy, undeploy, stop, etc).</p>
 
-<p>TomEE community heavily invested on that framework to prove it's really useful and can really help testing Java EE application. That's also an opportunity to get the most of TomEE (lightweight, fast, featureful, etc).
+<p>TomEE community heavily invested on that framework to prove it's really useful and can really help testing Java EE application. That's also an opportunity to get the most out of TomEE (lightweight, fast, feature-rich, etc).
 <div class="info">
-See also <a href="http://arquillian.org">Arquillian.org</a> for some great quickstart information on Arquillian itself.</div></p>
+See <a href="http://arquillian.org">Arquillian.org</a> for a great quick-start tutorial on Arquillian itself.</div></p>
 
 
 

Modified: websites/staging/tomee/trunk/content/documentation.html
==============================================================================
--- websites/staging/tomee/trunk/content/documentation.html (original)
+++ websites/staging/tomee/trunk/content/documentation.html Sun Sep 21 08:32:36 2014
@@ -161,7 +161,8 @@ You can also find us on IRC freenode.org
 <a href="tomee-and-security.html">TomEE Security</a> <br />
 <a href="deploying-in-tomee.html">Deploying in TomEE</a> <br />
 <a href="tomee-webapp.html">The 'tomee' webapp</a> <br />
-<a href="installation-drop-in-war.html">Install TomEE using the drop-in WAR</a>  </div><div class="span-one-third"></p>
+<a href="installation-drop-in-war.html">Install TomEE using the drop-in WAR</a> <br />
+<a href="refcard/refcard.html">TomEE Reference Card</a>  </div><div class="span-one-third"></p>
 
 <h3>Configuration</h3>
 

Modified: websites/staging/tomee/trunk/content/refcard/refcard.html
==============================================================================
--- websites/staging/tomee/trunk/content/refcard/refcard.html (original)
+++ websites/staging/tomee/trunk/content/refcard/refcard.html Sun Sep 21 08:32:36 2014
@@ -1343,6 +1343,13 @@ public class SimpleArquillianTest {
    &lt;property name="properties"&gt;
     # same as embedded case
    &lt;/property&gt;
+   
+   &lt;!-- Deployer config --&gt;
+   &lt;property name="deployerProperties"&gt;
+    # openejb.deployer.binaries.use=true
+    # openejb.deployer.forced.appId=[name]
+    # openejb.deployer.save-deployments=false
+   &lt;/property&gt;
   &lt;/configuration&gt;
  &lt;/container&gt;
 &lt;/arquillian&gt;</code></pre>