You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2018/12/09 02:55:03 UTC
svn commit: r1848496 [14/16] - in /tomee/site/trunk/content: community/
latest/docs/ latest/docs/admin/cluster/ latest/docs/admin/configuration/
latest/docs/advanced/client/ latest/docs/advanced/jms/
latest/docs/advanced/setup/ latest/docs/advanced/sha...
Modified: tomee/site/trunk/content/tomee-8.0/docs/application-deployment-solutions.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/application-deployment-solutions.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/application-deployment-solutions.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/application-deployment-solutions.html Sun Dec 9 02:54:59 2018
@@ -164,7 +164,7 @@ pom you have access to the following con
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">mvn tomee:deploy <path></code></pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">mvn tomee:deploy <path></code></pre>
</div>
</div>
<div class="paragraph">
@@ -172,7 +172,7 @@ pom you have access to the following con
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">mvn tomee:undeploy <path></code></pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">mvn tomee:undeploy <path></code></pre>
</div>
</div>
<div class="sect4">
Modified: tomee/site/trunk/content/tomee-8.0/docs/application-discovery-via-the-classpath.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/application-discovery-via-the-classpath.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/application-discovery-via-the-classpath.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/application-discovery-via-the-classpath.html Sun Dec 9 02:54:59 2018
@@ -111,7 +111,7 @@ ejb-jar.xml like this to your app:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><ejb-jar/></code></pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><ejb-jar/></code></pre>
</div>
</div>
<div class="paragraph">
@@ -189,7 +189,7 @@ for the properties are as follows:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"> openejb.exclude-include.order=include-exclude //Defines the processing order
+<pre class="highlight"><code class="language-properties" data-lang="properties"> openejb.exclude-include.order=include-exclude //Defines the processing order
openejb.deployments.classpath.include="" //Include nothing
openejb.deployments.classpath.exclude=".*" //Exclude everything</code></pre>
</div>
@@ -227,7 +227,7 @@ nothing):</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">Enumeration<URL> ejbJars =
+<pre class="highlight"><code class="language-properties" data-lang="properties">Enumeration<URL> ejbJars =
this.getClass().getClassLoader().getResources("META-INF/ejb-jar.xml");
while (ejbJars.hasMoreElements()) {
URL url = ejbJars.nextElement();
Modified: tomee/site/trunk/content/tomee-8.0/docs/application-resources.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/application-resources.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/application-resources.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/application-resources.html Sun Dec 9 02:54:59 2018
@@ -113,7 +113,7 @@ the following configuration.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><tomee>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><tomee>
<Resource id="MyQueue" type="javax.jms.Queue"/>
</tomee></code></pre>
</div>
@@ -145,7 +145,7 @@ defined using system properties:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">MyQueue = new://Resource?type=javax.jms.Queue</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">MyQueue = new://Resource?type=javax.jms.Queue</code></pre>
</div>
</div>
<div class="paragraph">
@@ -172,7 +172,7 @@ for the properties within the <code><
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="DB" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="DB" type="DataSource">
JdbcDriver com.mysql.jdbc.Driver
JdbcUrl jdbc:mysql://localhost/test
UserName test
@@ -292,7 +292,7 @@ the <code>class-name</code> attribute):<
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="config" class-name="org.superbiz.Configuration">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="config" class-name="org.superbiz.Configuration">
url http://localhost
username tomee
poolSize 20
@@ -341,7 +341,7 @@ you could do:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="config" class-name="org.superbiz.Configuration">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="config" class-name="org.superbiz.Configuration">
url http://localhost
username tomee
poolSize 20
@@ -371,7 +371,7 @@ file, include a <code>WEB-INF/resources.
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><resources>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><resources>
<Resource id="config" class-name="org.superbiz.Configuration">
url http://localhost
username tomee
@@ -465,7 +465,7 @@ specify the arguments as a comma separat
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="config" class-name="org.superbiz.Configuration" constructor="id, poolSize">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="config" class-name="org.superbiz.Configuration" constructor="id, poolSize">
url http://localhost
username tomee
poolSize 20
Modified: tomee/site/trunk/content/tomee-8.0/docs/arquillian-available-adapters.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/arquillian-available-adapters.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/arquillian-available-adapters.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/arquillian-available-adapters.html Sun Dec 9 02:54:59 2018
@@ -107,7 +107,7 @@ configuration options in the <strong>src
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><container qualifier="tomee" default="true">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><container qualifier="tomee" default="true">
<configuration>
<property name="httpPort">-1</property>
<property name="stopPort">-1</property>
@@ -130,7 +130,7 @@ configuration options in the <strong>src
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><build>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -200,7 +200,7 @@ dependencies to your Maven pom.xml:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><dependency>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>arquillian-tomee-embedded</artifactId>
<version>1.7.1</version> <!--Current version-->
@@ -296,7 +296,7 @@ following System property:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><properties>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><properties>
<tomee.version>1.7.1</tomee.version>
<tomee.classifier>webprofile</tomee.classifier>
</properties>
@@ -408,7 +408,7 @@ with <code>-Ptomee-webprofile-remote</co
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><profiles>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><profiles>
<profile>
<id>tomee-embedded</id>
Modified: tomee/site/trunk/content/tomee-8.0/docs/bmpentitycontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/bmpentitycontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/bmpentitycontainer-config.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/bmpentitycontainer-config.html Sun Dec 9 02:54:59 2018
@@ -103,7 +103,7 @@ body are optional.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Container id="myBmpEntityContainer" type="BMP_ENTITY">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Container id="myBmpEntityContainer" type="BMP_ENTITY">
poolSize = 10
</Container></code></pre>
</div>
@@ -117,7 +117,7 @@ embedding TomEE via the <code>javax.ejb.
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">myBmpEntityContainer = new://Container?type=BMP_ENTITY
+<pre class="highlight"><code class="language-properties" data-lang="properties">myBmpEntityContainer = new://Container?type=BMP_ENTITY
myBmpEntityContainer.poolSize = 10</code></pre>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/bouncy-castle.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/bouncy-castle.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/bouncy-castle.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/bouncy-castle.html Sun Dec 9 02:54:59 2018
@@ -139,7 +139,7 @@ directory</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">security.provider.N=org.bouncycastle.jce.provider.BouncyCastleProvider</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">security.provider.N=org.bouncycastle.jce.provider.BouncyCastleProvider</code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/tomee-8.0/docs/built-in-type-converters.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/built-in-type-converters.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/built-in-type-converters.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/built-in-type-converters.html Sun Dec 9 02:54:59 2018
@@ -264,7 +264,7 @@ public class MyBean {
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0"
+<pre class="highlight"><code class="language-xml" data-lang="xml"><ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0"
metadata-complete="false">
<enterprise-beans>
<session>
@@ -284,7 +284,7 @@ metadata-complete="false">
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">org.superbiz.foo.MyBean/myDate = 2008-04-19</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">org.superbiz.foo.MyBean/myDate = 2008-04-19</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/changing-jms-implementations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/changing-jms-implementations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/changing-jms-implementations.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/changing-jms-implementations.html Sun Dec 9 02:54:59 2018
@@ -163,7 +163,7 @@ These values can be overridden in the <c
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><?xml version="1.0" encoding="UTF-8"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0" encoding="UTF-8"?>
<ServiceJar>
<ServiceProvider
id="genericra"
@@ -245,7 +245,7 @@ file as follows:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="My Generic Adapter" type="GenericJMSRA" provider="org.superbiz:genericra">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="My Generic Adapter" type="GenericJMSRA" provider="org.superbiz:genericra">
AdapterProperty1 PropertyValue1
AdapterProperty2 PropertyValue2
...
@@ -257,7 +257,7 @@ AdapterProperty2 PropertyValue2
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">myGenericAdapter = new://Resource?type=GenericJMSRA&provider=org.superbiz:genericra
+<pre class="highlight"><code class="language-properties" data-lang="properties">myGenericAdapter = new://Resource?type=GenericJMSRA&provider=org.superbiz:genericra
myGenericAdapter.AdapterProperty1 = PropertyValue1
myGenericAdapter.AdapterProperty2 = PropertyValue2</code></pre>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/clients.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/clients.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/clients.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/clients.html Sun Dec 9 02:54:59 2018
@@ -95,8 +95,9 @@
<div class="row">
<div class="col-md-12">
- <div class="sect2">
-<h3 id="_local_client_embedded_container">Local Client (embedded container)</h3>
+ <div class="sect1">
+<h2 id="_local_client_embedded_container">Local Client (embedded container)</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
@@ -108,12 +109,16 @@ MyBean myBean = (MyBean) ctx.lookup("MyB
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_local_client_non_default_realm_name">Local Client (non-default realm name)</h3>
+</div>
+<div class="sect1">
+<h2 id="_local_client_non_default_realm_name">Local Client (non-default realm name)</h2>
+<div class="sectionbody">
</div>
-<div class="sect2">
-<h3 id="_login_configuration_file_conf_login_config">Login configuration file (conf/login.config)</h3>
+</div>
+<div class="sect1">
+<h2 id="_login_configuration_file_conf_login_config">Login configuration file (conf/login.config)</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">PropertiesLogin {
@@ -131,8 +136,10 @@ MyApp {
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_code">Code</h3>
+</div>
+<div class="sect1">
+<h2 id="_code">Code</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
@@ -145,8 +152,10 @@ MyBean myBean = (MyBean) ctx.lookup("MyB
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_remote_client_openejb_standalone">Remote Client (openejb standalone)</h3>
+</div>
+<div class="sect1">
+<h2 id="_remote_client_openejb_standalone">Remote Client (openejb standalone)</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
@@ -162,8 +171,10 @@ MyBean myBean = (MyBean) ctx.lookup("MyB
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_remote_client_with_http_openejb_standalone">Remote Client with HTTP (openejb standalone)</h3>
+</div>
+<div class="sect1">
+<h2 id="_remote_client_with_http_openejb_standalone">Remote Client with HTTP (openejb standalone)</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
@@ -179,8 +190,10 @@ MyBean myBean = (MyBean) ctx.lookup("MyB
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_remote_client_with_http_in_tomee">Remote Client with HTTP (in TomEE)</h3>
+</div>
+<div class="sect1">
+<h2 id="_remote_client_with_http_in_tomee">Remote Client with HTTP (in TomEE)</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
@@ -196,10 +209,13 @@ MyBean myBean = (MyBean) ctx.lookup("MyB
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_remote_client_using_ejb_injection_see_here_ejb_refs">Remote Client using @EJB Injection see here: ejb-refs</h3>
+</div>
+<div class="sect1">
+<h2 id="_remote_client_using_ejb_injection_see_here_ejb_refs">Remote Client using @EJB Injection see here: ejb-refs</h2>
+<div class="sectionbody">
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/cmpentitycontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/cmpentitycontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/cmpentitycontainer-config.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/cmpentitycontainer-config.html Sun Dec 9 02:54:59 2018
@@ -103,7 +103,7 @@ body are optional.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Container id="myCmpEntityContainer" type="CMP_ENTITY">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Container id="myCmpEntityContainer" type="CMP_ENTITY">
cmpEngineFactory = org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory
</Container></code></pre>
</div>
@@ -117,7 +117,7 @@ embedding TomEE via the <code>javax.ejb.
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">myCmpEntityContainer = new://Container?type=CMP_ENTITY
+<pre class="highlight"><code class="language-properties" data-lang="properties">myCmpEntityContainer = new://Container?type=CMP_ENTITY
myCmpEntityContainer.cmpEngineFactory = org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory</code></pre>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/common-datasource-configurations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/common-datasource-configurations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/common-datasource-configurations.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/common-datasource-configurations.html Sun Dec 9 02:54:59 2018
@@ -112,7 +112,7 @@ database.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="HSQLDB Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="HSQLDB Database" type="DataSource">
JdbcDriver org.hsqldb.jdbcDriver
JdbcUrl jdbc:hsqldb:file:hsqldb
UserName sa
@@ -127,7 +127,7 @@ database.</p>
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="Derby Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="Derby Database" type="DataSource">
#Embedded Derby example
JdbcDriver org.apache.derby.jdbc.EmbeddedDriver
@@ -144,7 +144,7 @@ database.</p>
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="MySQL Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="MySQL Database" type="DataSource">
# MySQL example
#
# This connector will not work until you download the driver at:
@@ -163,7 +163,7 @@ database.</p>
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="Oracle Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="Oracle Database" type="DataSource">
# Oracle example
#
# This connector will not work until you download the driver at:
@@ -182,7 +182,7 @@ database.</p>
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="OracleXA Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="OracleXA Database" type="DataSource">
# OracleXA example
#
# This connector will not work until you download the driver at:
@@ -201,7 +201,7 @@ database.</p>
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="PostgreSQL Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="PostgreSQL Database" type="DataSource">
# PostgreSQL example
#
# This connector will not work until you download the driver at:
@@ -220,7 +220,7 @@ database.</p>
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="InstantDB Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="InstantDB Database" type="DataSource">
# InstantDB example
#
JdbcDriver org.enhydra.instantdb.jdbc.idbDriver
Modified: tomee/site/trunk/content/tomee-8.0/docs/common-persistenceprovider-properties.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/common-persistenceprovider-properties.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/common-persistenceprovider-properties.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/common-persistenceprovider-properties.html Sun Dec 9 02:54:59 2018
@@ -107,7 +107,7 @@ various persistence providers out there.
<h1 id="_toplink" class="sect0">TopLink</h1>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><properties>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><properties>
<!--http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html-->
<property name="toplink.ddl-generation" value="drop-and-create-tables"/>
@@ -120,7 +120,7 @@ various persistence providers out there.
<h1 id="_openjpa" class="sect0">OpenJPA</h1>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><properties>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><properties>
<!--http://openjpa.apache.org/faq.html-->
<!-- does not create foreign keys, creates schema and deletes content of a database
(deleteTableContents - foreign keys are created twice???), use dropDB instead -->
@@ -136,7 +136,7 @@ various persistence providers out there.
<h1 id="_hibernate" class="sect0">Hibernate</h1>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><properties>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><properties>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.transaction.manager_lookup_class" value="org.apache.openejb.hibernate.TransactionManagerLookup"/>
</properties></code></pre>
Modified: tomee/site/trunk/content/tomee-8.0/docs/configuration.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/configuration.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/configuration.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/configuration.html Sun Dec 9 02:54:59 2018
@@ -150,7 +150,7 @@ OpenEJB saves deployment descriptors - e
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<openejb>
<Container id="Default CMP Container" ctype="CMP_ENTITY">
Global_TX_Database c:/my/app/conf/postgresql.cmp_global_database.xml
@@ -229,7 +229,7 @@ openejb.home are added to the classpath.
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">openejb.home = user.dir (can be set explicitly)
+<pre class="highlight"><code class="language-properties" data-lang="properties">openejb.home = user.dir (can be set explicitly)
openejb.base = openejb.home (can be set explicitly)
openejb.conf = openejb.base/conf/openejb.conf (can be set explicitly)
logging.conf = openejb.base/conf/logging.conf (can be set explicitly)
Modified: tomee/site/trunk/content/tomee-8.0/docs/configuring-datasources-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/configuring-datasources-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/configuring-datasources-in-tests.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/configuring-datasources-in-tests.html Sun Dec 9 02:54:59 2018
@@ -126,42 +126,48 @@ DataSource:</p>
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">p.put("myDataSourceOne", "new://Resource?type=DataSource&classpath=/path/to/driverVersionOne.jar");
p.put("myDataSourceOne.JdbcDriver", "org.apache.derby.jdbc.EmbeddedDriver");
-p.put("myDataSource.JdbcUrl", "jdbc:derby:myDatabaseOne;create=true");</code></pre>
+p.put("myDataSource.JdbcUrl", "jdbc:derby:myDatabaseOne;create=true");
+
+p.put("myDataSourceTwo", "new://Resource?type=DataSource&classpath=/path/to/driverVersionTwo.jar");
+p.put("myDataSourceTwo.JdbcDriver", "org.apache.derby.jdbc.EmbeddedDriver");
+p.put("myDataSource.JdbcUrl", "jdbc:derby:myDatabaseTwo;create=true");
+[source,java]</code></pre>
</div>
</div>
<div class="paragraph">
-<p>p.put("myDataSourceTwo", "new://Resource?type=DataSource&classpath=/path/to/driverVersionTwo.jar");
-p.put("myDataSourceTwo.JdbcDriver", "org.apache.derby.jdbc.EmbeddedDriver");
-p.put("myDataSource.JdbcUrl", "jdbc:derby:myDatabaseTwo;create=true");</p>
+<p>This will allow an application to communicate through legacy drivers to
+the same JDBC provider.</p>
</div>
-<div class="listingblock">
-<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">This will allow an application to communicate through legacy drivers to
-the same JDBC provider.
-
-See link:embedded-configuration.html[Embedded Configuration] for further
-details on properties and overrides.
-
-See link:containers-and-resources.html[Containers and Resources] for a
-full list of supported Resource types and their properties.
-
-== Note on <jta-data-source> and <non-jta-data-source>
-
-When configuring DataSources to be used by persistence.xml files, the
-DataSource supplied for `<jta-data-source>` is typically identical to
-the `<non-jta-data-source>`, but with the `JtaManaged` property set
+<div class="paragraph">
+<p>See <a href="embedded-configuration.html">Embedded Configuration</a> for further
+details on properties and overrides.</p>
+</div>
+<div class="paragraph">
+<p>See <a href="containers-and-resources.html">Containers and Resources</a> for a
+full list of supported Resource types and their properties.</p>
+</div>
+<div class="sect1">
+<h2 id="_note_on_jta_data_source_and_non_jta_data_source">Note on <jta-data-source> and <non-jta-data-source></h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>When configuring DataSources to be used by persistence.xml files, the
+DataSource supplied for <code><jta-data-source></code> is typically identical to
+the <code><non-jta-data-source></code>, but with the <code>JtaManaged</code> property set
differently. Keeping with our philosophy to free you up from redundant
configuration, we will happily auto-create a missing jta-data-source or
-non-jta-data-source based upon the supplied DataSource.
-
-In the example above, a new DataSource would be generated as an exact
-copy but with the name "myDataSourceUnmanaged" and its `JtaManaged` flag
-set to `false`. If the supplied DataSource was not `JtaManaged`, then
+non-jta-data-source based upon the supplied DataSource.</p>
+</div>
+<div class="paragraph">
+<p>In the example above, a new DataSource would be generated as an exact
+copy but with the name "myDataSourceUnmanaged" and its <code>JtaManaged</code> flag
+set to <code>false</code>. If the supplied DataSource was not <code>JtaManaged</code>, then
the generated DataSource would be called "myDataSourceJta" and have its
-`JtaManaged` flag set to `true`.
-
-When relying on this functionality it is not necessary to specify the
-name of the generated DataSource in the `persistence.xml` file.</code></pre>
+<code>JtaManaged</code> flag set to <code>true</code>.</p>
+</div>
+<div class="paragraph">
+<p>When relying on this functionality it is not necessary to specify the
+name of the generated DataSource in the <code>persistence.xml</code> file.</p>
+</div>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/configuring-datasources.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/configuring-datasources.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/configuring-datasources.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/configuring-datasources.html Sun Dec 9 02:54:59 2018
@@ -119,7 +119,7 @@ attributes.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myDerbyDatasource" type="javax.sql.DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatasource" type="javax.sql.DataSource">
. . . .
<Resource></code></pre>
</div>
@@ -130,7 +130,7 @@ can abbreviated to just <em>DataSource</
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myDerbyDatasource" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatasource" type="DataSource">
. . . .
<Resource></code></pre>
</div>
@@ -141,7 +141,7 @@ classpath attribute like so:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar">
. . . .
<Resource></code></pre>
</div>
@@ -151,7 +151,7 @@ classpath attribute like so:</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myDerbyDatasource" type="DataSource" classpath="mvn:org.apache.derby:derby:10.10.1.1">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatasource" type="DataSource" classpath="mvn:org.apache.derby:derby:10.10.1.1">
. . . .
<Resource></code></pre>
</div>
@@ -189,7 +189,7 @@ other business criteria. That’s al
<h3 id="_example_1">Example 1</h3>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="Default JDBC Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="Default JDBC Database" type="DataSource">
. . . . .
</Resource></code></pre>
</div>
@@ -203,7 +203,7 @@ Database</em></p>
<h3 id="_example_2">Example 2</h3>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="Derby Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="Derby Database" type="DataSource">
. . . . .
</Resource></code></pre>
</div>
@@ -248,7 +248,7 @@ example of Derby.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myDerbyDatabase" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatabase" type="DataSource">
. . . . .
</Resource></code></pre>
</div>
@@ -306,7 +306,7 @@ public class FooBean {
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><resource-ref>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><resource-ref>
<res-ref-name>myDerbyDatabase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
</resource-ref></code></pre>
@@ -317,7 +317,7 @@ public class FooBean {
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><resource-ref>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><resource-ref>
<res-ref-name>jdbc/myDerbyDatabase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
</resource-ref></code></pre>
@@ -328,7 +328,7 @@ public class FooBean {
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><resource-ref>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><resource-ref>
<res-ref-name>someOtherName</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<mapped-name>myDerbyDatabase</mapped-name>
Modified: tomee/site/trunk/content/tomee-8.0/docs/configuring-javamail.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/configuring-javamail.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/configuring-javamail.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/configuring-javamail.html Sun Dec 9 02:54:59 2018
@@ -106,7 +106,7 @@ javax.mail.Session.getDefaultInstance(Pr
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="SuperbizMail" type="javax.mail.Session">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="SuperbizMail" type="javax.mail.Session">
mail.smtp.host=mail.superbiz.org
mail.smtp.port=25
mail.transport.protocol=smtp
@@ -136,7 +136,7 @@ override of the above example mail sessi
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">java ... -DSuperbizMail.mail.smtp.host=localhost</code></pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">java ... -DSuperbizMail.mail.smtp.host=localhost</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/configuring-logging-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/configuring-logging-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/configuring-logging-in-tests.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/configuring-logging-in-tests.html Sun Dec 9 02:54:59 2018
@@ -208,7 +208,7 @@ embedded.logging.properties file contain
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">log4j.rootLogger = fatal,C
+<pre class="highlight"><code class="language-properties" data-lang="properties">log4j.rootLogger = fatal,C
log4j.category.OpenEJB = warn
log4j.category.OpenEJB.server = info
log4j.category.OpenEJB.startup = info
Modified: tomee/site/trunk/content/tomee-8.0/docs/configuring-persistenceunits-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/configuring-persistenceunits-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/configuring-persistenceunits-in-tests.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/configuring-persistenceunits-in-tests.html Sun Dec 9 02:54:59 2018
@@ -137,7 +137,7 @@ properties or the initial context proper
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><persistence>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><persistence>
<persistence-unit name="movie-unit">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>movieDatabase</jta-data-source>
Modified: tomee/site/trunk/content/tomee-8.0/docs/containers-and-resources.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/containers-and-resources.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/containers-and-resources.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/containers-and-resources.html Sun Dec 9 02:54:59 2018
@@ -97,7 +97,7 @@
<div class="col-md-12">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"> <p><a name="ContainersandResources-containers"></a></p></code></pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml"> <p><a name="ContainersandResources-containers"></a></p></code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/tomee-8.0/docs/contrib/debug/debug-intellij.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/contrib/debug/debug-intellij.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/contrib/debug/debug-intellij.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/contrib/debug/debug-intellij.html Sun Dec 9 02:54:59 2018
@@ -88,17 +88,15 @@
<div class="col-md-12">
<div class='page-header'>
- <h1>null</h1>
+ <h1>Debugging an Apache</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
- <div class="paragraph">
-<p>#Debugging an Apache
-TomEE App in Intellij IDEA</p>
-</div>
+ <div id="preamble">
+<div class="sectionbody">
<div class="paragraph">
<p>Stepping through the <a href="http://tomee.apache.org/apache-tomee.html">TomEE</a>
source code is a must-to-follow step if you want to understand how TomEE
@@ -121,9 +119,11 @@ debugging session with TomEE as a TomEE
</li>
</ul>
</div>
-<div class="paragraph">
-<p>###Download the Source Code</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_download_the_source_code">Download the Source Code</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>For beginners it is recommended not to start with the trunk, because it
is common to have some blockers or non-stable functionality which could
@@ -135,9 +135,11 @@ modification on TomEE.</p>
<p><a href="http://www.apache.org/dyn/closer.cgi/tomee/tomee-1.7.1/openejb-4.7.1-source-release.zip">Click
here to download TomEE 1.7.1 Source code</a></p>
</div>
-<div class="paragraph">
-<p>###Build the Source Code</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_build_the_source_code">Build the Source Code</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>First extract the zip file named <strong>openejb-4.7.1-source-release.zip</strong> to
any location. Lets assume it is your home folder.</p>
@@ -171,9 +173,11 @@ clean install</p>
<p>More details about building the product from the source can be found
<a href="http://tomee.apache.org/dev/source-code.html">here</a>.</p>
</div>
-<div class="paragraph">
-<p>###Deploy TomEE</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_deploy_tomee">Deploy TomEE</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>The TomEE build builds several distributions (zip & war files) to cater
the different needs of different users. Here we discuss about the tomee
@@ -216,9 +220,11 @@ folder. Lets run the TomEE.</p>
<div class="paragraph">
<p>"INFO: Server startup in xxxx ms" is the Green light!</p>
</div>
-<div class="paragraph">
-<p>###Prepare your IDE</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_prepare_your_ide">Prepare your IDE</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Lets prepare our IntelliJ IDEA for the debugging session.</p>
</div>
@@ -270,9 +276,11 @@ folder. Lets run the TomEE.</p>
<div class="paragraph">
<p>Now your IDE will load the project.</p>
</div>
-<div class="paragraph">
-<p>###First Breakpoint</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_first_breakpoint">First Breakpoint</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Next step is to put a breakpoint at the place where the code is
triggered. Lets understand how the code is triggered.</p>
@@ -291,9 +299,11 @@ ServerListener.</p>
<p>The execution of TomEE code starts in this lifecycleEvent method. So the
first breakpoint should be on the lifecycleEvent method.</p>
</div>
-<div class="paragraph">
-<p>###Run TomEE+ in debug mode</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_run_tomee_in_debug_mode">Run TomEE+ in debug mode</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>If you simply run <strong>catalina.sh jpda run</strong> in the bin folder of tomee
deployment, the server starts in the debug mode but it will quckly pass
@@ -311,7 +321,7 @@ right after the #!/bin/sh line.</p>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
-<p>#!/bin/sh JPDA_SUSPEND="y"</p>
+<p>= !/bin/sh JPDA_SUSPEND="y"</p>
</div>
<div class="paragraph">
<p>Now to time to run TomEE+ on debug mode.</p>
@@ -329,9 +339,11 @@ right after the #!/bin/sh line.</p>
<p>The terminal should hang with the message <strong>"Listening for transport
dt_socket at address: 8000"</strong></p>
</div>
-<div class="paragraph">
-<p>###Attach IntelliJ IDEA debugger</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_attach_intellij_idea_debugger">Attach IntelliJ IDEA debugger</h2>
+<div class="sectionbody">
<div class="ulist">
<ul>
<li>
@@ -366,6 +378,8 @@ the Port to 8000</p>
<p>Congratulations! You hit the break point you put at the startup of the
TomEE code. Carry on with your debugging session to learn more.</p>
</div>
+</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/custom-injection.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/custom-injection.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/custom-injection.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/custom-injection.html Sun Dec 9 02:54:59 2018
@@ -194,7 +194,7 @@ public class Stratocaster {
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">guitarStringGuages=E1=0.052\nA=0.042\nD=0.030\nG=0.017\nB=0.013\nE=0.010
+<pre class="highlight"><code class="language-properties" data-lang="properties">guitarStringGuages=E1=0.052\nA=0.042\nD=0.030\nG=0.017\nB=0.013\nE=0.010
certificateOfAuthenticity=/tmp/strat-certificate.txt
dateCreated=1962-03-01
pickups=S,S,S
Modified: tomee/site/trunk/content/tomee-8.0/docs/datasource-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/datasource-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/datasource-config.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/datasource-config.html Sun Dec 9 02:54:59 2018
@@ -105,7 +105,7 @@ body are optional.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myDataSource" type="javax.sql.DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDataSource" type="javax.sql.DataSource">
accessToUnderlyingConnectionAllowed = false
alternateUsernameAllowed = false
connectionProperties =
@@ -145,7 +145,7 @@ via the <code>javax.ejb.embeddable.EJBCo
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">myDataSource = new://Resource?type=javax.sql.DataSource
+<pre class="highlight"><code class="language-properties" data-lang="properties">myDataSource = new://Resource?type=javax.sql.DataSource
myDataSource.accessToUnderlyingConnectionAllowed = false
myDataSource.alternateUsernameAllowed = false
myDataSource.connectionProperties =
@@ -772,7 +772,7 @@ XaDataSource can be defined as a standar
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myXaDs" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myXaDs" type="DataSource">
JdbcDriver = org.foo.MyXaDataSource
myXaProperty = value
@@ -803,7 +803,7 @@ factory mecanism.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myXa" class-name="org.foo.MyXaDataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myXa" class-name="org.foo.MyXaDataSource">
myXaProperty = value
</Resource></code></pre>
</div>
@@ -813,7 +813,7 @@ factory mecanism.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="myXaDs" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myXaDs" type="DataSource">
DataSourceCreator = [dbcp|dbcp-alternative]
myPoolProperty = 10
</Resource></code></pre>
@@ -831,7 +831,7 @@ because it is reusing direct dbcp JTA ma
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"> openejb.datasource.pool = true</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties"> openejb.datasource.pool = true</code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/tomee-8.0/docs/datasource-password-encryption.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/datasource-password-encryption.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/datasource-password-encryption.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/datasource-password-encryption.html Sun Dec 9 02:54:59 2018
@@ -122,7 +122,7 @@ not activated so plain passwords are use
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="MySQL Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="MySQL Database" type="DataSource">
# MySQL example
#
# This connector will not work until you download the driver at:
@@ -148,7 +148,7 @@ interface.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><Resource id="MySQL Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="MySQL Database" type="DataSource">
# MySQL example
#
# This connector will not work until you download the driver at:
@@ -191,7 +191,7 @@ plain text value using a given algorithm
<h4 id="_synopsis">SYNOPSIS</h4>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">openejb cipher [#options]</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">openejb cipher [#options]</code></pre>
</div>
</div>
</div>
@@ -293,7 +293,7 @@ Static3DES).</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">xMH5uM1V9vQzVUv5LG7YLA==</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">xMH5uM1V9vQzVUv5LG7YLA==</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/deamon/lin-service.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/deamon/lin-service.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/deamon/lin-service.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/deamon/lin-service.html Sun Dec 9 02:54:59 2018
@@ -88,7 +88,7 @@
<div class="col-md-12">
<div class='page-header'>
- <h1>null</h1>
+ <h1>Installing</h1>
</div>
</div>
</div>
@@ -96,10 +96,6 @@
<div class="col-md-12">
<div class="paragraph">
-<p>###Installing
-TomEE as a Windows® Service</p>
-</div>
-<div class="paragraph">
<p>The different architecture exe’s are as follows (so always use the one
that matches your system):</p>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/deamon/win-service.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/deamon/win-service.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/deamon/win-service.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/deamon/win-service.html Sun Dec 9 02:54:59 2018
@@ -88,7 +88,7 @@
<div class="col-md-12">
<div class='page-header'>
- <h1>null</h1>
+ <h1>Installing</h1>
</div>
</div>
</div>
@@ -96,10 +96,6 @@
<div class="col-md-12">
<div class="paragraph">
-<p>###Installing
-TomEE as a Windows® Service</p>
-</div>
-<div class="paragraph">
<p>The different architecture exe’s are as follows (so always use the one
that matches your system):</p>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/deploy-tool.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/deploy-tool.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/deploy-tool.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/deploy-tool.html Sun Dec 9 02:54:59 2018
@@ -301,7 +301,7 @@ printed on the console</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">Application deployed successfully at {0}
+<pre class="highlight"><code class="language-properties" data-lang="properties">Application deployed successfully at {0}
App(id=C:\samples\Calculator-new\hello-addservice.jar)
EjbJar(id=hello-addservice.jar, path=C:\samples\Calculator-new\hello-addservice.jar)
Ejb(ejb-name=HelloBean, id=HelloBean)
Modified: tomee/site/trunk/content/tomee-8.0/docs/deploying-in-tomee.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/deploying-in-tomee.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/deploying-in-tomee.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/deploying-in-tomee.html Sun Dec 9 02:54:59 2018
@@ -118,9 +118,7 @@ License.
</tr>
</table>
</div>
-<div class="paragraph">
-<p>#Deploying in TomEE</p>
-</div>
+<h1 id="_deploying_in_tomee" class="sect0">Deploying in TomEE</h1>
<div class="paragraph">
<p>Deploying applications in TomEE is as simple as deploying them in
Tomcat.</p>
@@ -142,8 +140,8 @@ to the <strong>[TomEE]/apps</strong> fol
<div class="sect1">
<h2 id="_packaging">Packaging</h2>
<div class="sectionbody">
-<div class="sect3">
-<h4 id="_one_archive">One archive</h4>
+<div class="sect2">
+<h3 id="_one_archive">One archive</h3>
<div class="paragraph">
<p>The basic idea of this approach is that your Servlets and EJBs are
together in your WAR file as one application.</p>
@@ -168,8 +166,8 @@ together in your WAR file as one applica
</ul>
</div>
</div>
-<div class="sect3">
-<h4 id="_not_quite_j2ee_but_it_is_java_ee_6">Not quite J2EE (But it is Java EE 6)</h4>
+<div class="sect2">
+<h3 id="_not_quite_j2ee_but_it_is_java_ee_6">Not quite J2EE (But it is Java EE 6)</h3>
<div class="paragraph">
<p>This is very different than J2EE or Java EE 5 as there are not several
levels of separation and classloader hierarchy any more.<br>
Modified: tomee/site/trunk/content/tomee-8.0/docs/deployment-id.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/deployment-id.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/deployment-id.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/deployment-id.html Sun Dec 9 02:54:59 2018
@@ -337,7 +337,7 @@ for the bean.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">WARN : Jar C:\openejb\beans\fooEjbs.jar cannot be loaded. The Deployment ID "/my/bean/foo" is already in use. Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "FooBean".</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN : Jar C:\openejb\beans\fooEjbs.jar cannot be loaded. The Deployment ID "/my/bean/foo" is already in use. Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "FooBean".</code></pre>
</div>
</div>
<div class="paragraph">
@@ -368,7 +368,7 @@ skipped and the following warning is log
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">WARN : Jar C:\openejb\beans\disneyEjbs.jar cannot be loaded. The Deployment ID "/my/favorite/duck" is already in use. Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "DonaldDuckBean".</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN : Jar C:\openejb\beans\disneyEjbs.jar cannot be loaded. The Deployment ID "/my/favorite/duck" is already in use. Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "DonaldDuckBean".</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/deployments.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/deployments.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/deployments.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/deployments.html Sun Dec 9 02:54:59 2018
@@ -105,7 +105,7 @@ with a 'jar' attribute pointing to the j
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><openejb>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><openejb>
...
<Deployments jar="c:\my\app\superEjbs.jar" />
<Deployments jar="c:\someplace\purchasing.jar" />
@@ -132,7 +132,7 @@ attribute pointing to the directory cont
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><openejb>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><openejb>
...
<Deployments dir="c:\my\app\beans\" />
@@ -188,7 +188,7 @@ set to 'C:' as shown below.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><openejb>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><openejb>
...
<Deployments dir="c:\myapp\acmeEjbs" />
@@ -217,7 +217,7 @@ following (1.x and higher only):</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">INFO : Loaded EJBs from
+<pre class="highlight"><code class="language-properties" data-lang="properties">INFO : Loaded EJBs from
/usr/local/openejb-1.0-beta1/beans/openejb-itests-beans.jar
INFO : Loaded EJBs from
/usr/local/openejb-1.0-beta1/beans/openejb-webadmin-clienttools.jar</code></pre>
@@ -229,7 +229,7 @@ following.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">WARN : Jar not loaded. /usr/local/openejb-1.0-beta1/beans/helloworld.jar.
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN : Jar not loaded. /usr/local/openejb-1.0-beta1/beans/helloworld.jar.
Jar failed validation. Use the validation tool for more details</code></pre>
</div>
</div>
@@ -241,7 +241,7 @@ beans listed below are from our test sui
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">DEBUG: Deployments : 19
+<pre class="highlight"><code class="language-properties" data-lang="properties">DEBUG: Deployments : 19
DEBUG: Type Deployment ID
DEBUG: CMP_ENTITY client/tests/entity/cmp/RMI-over-IIOP/EJBHome
DEBUG: STATEFUL client/tests/stateful/EncBean
Modified: tomee/site/trunk/content/tomee-8.0/docs/details-on-openejb-jar.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/details-on-openejb-jar.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/details-on-openejb-jar.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/details-on-openejb-jar.html Sun Dec 9 02:54:59 2018
@@ -137,7 +137,7 @@ simple.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<ejb-deployment ejb-name="Hello"
deployment-id="Hello"
@@ -161,7 +161,7 @@ your jar.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<ejb-deployment ejb-name="Hello"
@@ -191,7 +191,7 @@ you had an ejb-jar.xml like the followin
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<ejb-jar>
<enterprise-beans>
<session>
@@ -231,7 +231,7 @@ file as such.</p>
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java"><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<ejb-deployment ejb-name="MyExampleBean"
Modified: tomee/site/trunk/content/tomee-8.0/docs/developer/ide/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/ide/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/developer/ide/index.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/developer/ide/index.html Sun Dec 9 02:54:59 2018
@@ -121,24 +121,30 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_eclipse">Eclipse</h3>
+<div class="sect1">
+<h2 id="_eclipse">Eclipse</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Be the first to write this part!</p>
</div>
</div>
-<div class="sect2">
-<h3 id="_idea">Idea</h3>
+</div>
+<div class="sect1">
+<h2 id="_idea">Idea</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Be the first to write this part!</p>
</div>
</div>
-<div class="sect2">
-<h3 id="_netbeans">Netbeans</h3>
+</div>
+<div class="sect1">
+<h2 id="_netbeans">Netbeans</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Be the first to write this part!</p>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/developer/json/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/json/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/developer/json/index.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/developer/json/index.html Sun Dec 9 02:54:59 2018
@@ -143,7 +143,7 @@ getting started but here are the basics
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">{
+<pre class="highlight"><code class="language-json" data-lang="json">{
"id": 1234,
"name": "Johnzon doc"
}</code></pre>
Modified: tomee/site/trunk/content/tomee-8.0/docs/developer/testing/applicationcomposer/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/testing/applicationcomposer/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/developer/testing/applicationcomposer/index.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/developer/testing/applicationcomposer/index.html Sun Dec 9 02:54:59 2018
@@ -108,8 +108,9 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_dependencies">Dependencies</h3>
+<div class="sect1">
+<h2 id="_dependencies">Dependencies</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>To start using ApplicationComposer you need to add some dependencies.</p>
</div>
@@ -150,10 +151,12 @@
</div>
</div>
</div>
+</div>
+<div class="sect1">
+<h2 id="_applicationcomposer_components">ApplicationComposer Components</h2>
+<div class="sectionbody">
<div class="sect2">
-<h3 id="_applicationcomposer_components">ApplicationComposer Components</h3>
-<div class="sect3">
-<h4 id="__module">@Module</h4>
+<h3 id="__module">@Module</h3>
<div class="paragraph">
<p>An ApplicationComposer needs at minimum a module (the application you need to deploy).</p>
</div>
@@ -216,8 +219,8 @@ public WebApp app() {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="__configuration">@Configuration</h4>
+<div class="sect2">
+<h3 id="__configuration">@Configuration</h3>
<div class="paragraph">
<p>Often you need to customize a bit the container or at least create some resources like test databases. To do so you can create a method returning Properties which will be the container properties.</p>
</div>
@@ -256,8 +259,8 @@ public class MyAppComposer() {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="__component">@Component</h4>
+<div class="sect2">
+<h3 id="__component">@Component</h3>
<div class="paragraph">
<p>Sometimes you need to customize a container component. The most common use case is the security service to mock a little bit authorization if you don’t care in your test.</p>
</div>
@@ -276,8 +279,8 @@ public SecurityService mockSecurity() {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="__descriptors">@Descriptors</h4>
+<div class="sect2">
+<h3 id="__descriptors">@Descriptors</h3>
<div class="paragraph">
<p>You can reuse existing file descriptors using @Descriptors. The name is the file name and the path either a classpath path or a file path:</p>
</div>
@@ -294,8 +297,8 @@ public class MyTest {
<p>Note: this can be put in a @Module method as well.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_services">Services</h4>
+<div class="sect2">
+<h3 id="_services">Services</h3>
<div class="paragraph">
<p>If you want to test a JAXRS or JAXWS service you need to activate these services.</p>
</div>
@@ -312,8 +315,8 @@ public class MyTest {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_random_port">Random port</h4>
+<div class="sect2">
+<h3 id="_random_port">Random port</h3>
<div class="paragraph">
<p>Services like JAXRS and JAXWS relies on HTTP. Often it is nice to have a random port to be able to deploy multiple tests/projects on the same CI platform at the same time.</p>
</div>
@@ -333,20 +336,20 @@ public class MyTest {
<p>Note: you can generate this way multiple ports. The value is the name of the service it will apply on (being said http is an alias for httpejbd which is our embedded http layer).</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_nice_logs">Nice logs</h4>
+<div class="sect2">
+<h3 id="_nice_logs">Nice logs</h3>
<div class="paragraph">
<p>@SimpleLog annotation allows you to have one liner logs</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__jaxrsprovider">@JaxrsProvider</h4>
+<div class="sect2">
+<h3 id="__jaxrsprovider">@JaxrsProvider</h3>
<div class="paragraph">
<p>@JaxrsProvider allows you to specify on a @Module method the list of JAXRS provider you want to use.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_dependencies_without_hacky_code">Dependencies without hacky code</h4>
+<div class="sect2">
+<h3 id="_dependencies_without_hacky_code">Dependencies without hacky code</h3>
<div class="paragraph">
<p>@Jars allows you to add dependencies (scanned) to your application automatically (like CDI libraries):</p>
</div>
@@ -361,20 +364,20 @@ public WebApp app() {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="__default">@Default</h4>
+<div class="sect2">
+<h3 id="__default">@Default</h3>
<div class="paragraph">
<p>@Default (openejb one not CDI one) automatically adds in the application target/classes as binaries and src/main/webapp as resources for maven projects.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__cdiextensions">@CdiExtensions</h4>
+<div class="sect2">
+<h3 id="__cdiextensions">@CdiExtensions</h3>
<div class="paragraph">
<p>This annotation allows you to control which extensions are activated during the test.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__appresource">@AppResource</h4>
+<div class="sect2">
+<h3 id="__appresource">@AppResource</h3>
<div class="paragraph">
<p>This annotation allows injection of few particular test resources like:</p>
</div>
@@ -385,23 +388,25 @@ the test ApplicationComposers (underlyin
ContextProvider: allow to mock JAXRS contexts</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__mockinjector">@MockInjector</h4>
+<div class="sect2">
+<h3 id="__mockinjector">@MockInjector</h3>
<div class="paragraph">
<p>Allows to mock EJB injections. It decorates a dedicated method returning an instance (or Class) implementing FallbackPropertyInjector.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__webresource">@WebResource</h4>
+<div class="sect2">
+<h3 id="__webresource">@WebResource</h3>
<div class="paragraph">
<p>Allow for web application to add folders containing web resources.</p>
</div>
</div>
</div>
+</div>
+<div class="sect1">
+<h2 id="_how_to_run_it">How to run it?</h2>
+<div class="sectionbody">
<div class="sect2">
-<h3 id="_how_to_run_it">How to run it?</h3>
-<div class="sect3">
-<h4 id="_junit">JUnit</h4>
+<h3 id="_junit">JUnit</h3>
<div class="paragraph">
<p>If you use JUnit you have mainly 2 solutions to run you "model" using the ApplicationComposer:</p>
</div>
@@ -424,8 +429,8 @@ public class MyTest { @Rule // or @Class
<p>Finally just write <code>@Test</code> method using test class injections as if the test class was a managed bean!</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_testng">TestNG</h4>
+<div class="sect2">
+<h3 id="_testng">TestNG</h3>
<div class="paragraph">
<p>TestNG integration is quite simple today and mainly ApplicationComposerListener class you can configure as a listener to get ApplicationComposer features.</p>
</div>
@@ -433,8 +438,8 @@ public class MyTest { @Rule // or @Class
<p>Finally just write TestNG @Test method using test class injections as if the test class was a managed bean!</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_standalone">Standalone</h4>
+<div class="sect2">
+<h3 id="_standalone">Standalone</h3>
<div class="paragraph">
<p>Since TomEE 7.x you can also use ApplicationComposers to directly run you ApplicationComposer model as a standalone application:</p>
</div>
@@ -454,8 +459,10 @@ public class MyTest { @Rule // or @Class
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_junit_sample">JUnit Sample</h3>
+</div>
+<div class="sect1">
+<h2 id="_junit_sample">JUnit Sample</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">@Classes(cdi = true, value = { MyService.class, MyOtherService.class })
@@ -476,8 +483,10 @@ public class MyTest {
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_start_and_deploy_once">Start and Deploy once</h3>
+</div>
+<div class="sect1">
+<h2 id="_start_and_deploy_once">Start and Deploy once</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>When having a huge suite of test it can be long to start/deploy/undeploy/shutdown he container/application for each method.</p>
</div>
@@ -524,8 +533,8 @@ using tomee-embedded.
</tr>
</table>
</div>
-<div class="sect3">
-<h4 id="_configure_what_to_deploy">Configure what to deploy</h4>
+<div class="sect2">
+<h3 id="_configure_what_to_deploy">Configure what to deploy</h3>
<div class="paragraph">
<p>As all tests will reuse the same application the model (the class declaring the application with <code>@Classes</code>, <code>@Module</code> etc…​) needs to be extracted from the test class itself.</p>
</div>
@@ -548,8 +557,8 @@ in <code>surefire</code> plugin you decl
and the associated <code>@Category</code>.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_available_injections">Available injections</h4>
+<div class="sect2">
+<h3 id="_available_injections">Available injections</h3>
<div class="ulist">
<ul>
<li>
@@ -569,12 +578,15 @@ and just expose them or wrap them in you
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_going_further">Going further</h3>
+</div>
+<div class="sect1">
+<h2 id="_going_further">Going further</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>If you want to learn more about ApplicationComposer see <a href="../../../advanced/applicationcomposer/index.html">ApplicationComposer Advanced</a> page.</p>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/developer/testing/arquillian/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/testing/arquillian/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/developer/testing/arquillian/index.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/developer/testing/arquillian/index.html Sun Dec 9 02:54:59 2018
@@ -124,8 +124,9 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_embedded_or_remote">Embedded or Remote?</h3>
+<div class="sect1">
+<h2 id="_embedded_or_remote">Embedded or Remote?</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Big advantage of embedded adapters is to be able to debug as usual. However it has few drawbacks which can make you
rething this choice:</p>
@@ -173,10 +174,12 @@ all configurations have defaults
</table>
</div>
</div>
+</div>
+<div class="sect1">
+<h2 id="_openejb_embedded">OpenEJB Embedded</h2>
+<div class="sectionbody">
<div class="sect2">
-<h3 id="_openejb_embedded">OpenEJB Embedded</h3>
-<div class="sect3">
-<h4 id="_coordinates">Coordinates</h4>
+<h3 id="_coordinates">Coordinates</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml"><dependency>
@@ -187,8 +190,8 @@ all configurations have defaults
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_arquillian_xml">arquillian.xml</h4>
+<div class="sect2">
+<h3 id="_arquillian_xml">arquillian.xml</h3>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
@@ -243,10 +246,12 @@ all configurations have defaults
</div>
</div>
</div>
+</div>
+<div class="sect1">
+<h2 id="_tomee_embedded">TomEE Embedded</h2>
+<div class="sectionbody">
<div class="sect2">
-<h3 id="_tomee_embedded">TomEE Embedded</h3>
-<div class="sect3">
-<h4 id="_coordinates_2">Coordinates</h4>
+<h3 id="_coordinates_2">Coordinates</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml"><dependency>
@@ -257,8 +262,8 @@ all configurations have defaults
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_configuration">Configuration</h4>
+<div class="sect2">
+<h3 id="_configuration">Configuration</h3>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
@@ -451,8 +456,10 @@ all configurations have defaults
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_tomee_remote">TomEE Remote</h3>
+</div>
+<div class="sect1">
+<h2 id="_tomee_remote">TomEE Remote</h2>
+<div class="sectionbody">
<div class="admonitionblock important">
<table>
<tr>
@@ -470,7 +477,7 @@ if a server is already started on host:p
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>tomee.remote.support=true
+<pre class="highlight"><code class="language-properties" data-lang="properties">tomee.remote.support=true
openejb.system.apps=true
# you can customize it depending the security level you need on the instance
@@ -501,8 +508,8 @@ tomee.serialization.class.blacklist = or
</arquillian></code></pre>
</div>
</div>
-<div class="sect3">
-<h4 id="_coordinates_3">Coordinates</h4>
+<div class="sect2">
+<h3 id="_coordinates_3">Coordinates</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml"><dependency>
@@ -513,8 +520,8 @@ tomee.serialization.class.blacklist = or
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_configuration_2">Configuration</h4>
+<div class="sect2">
+<h3 id="_configuration_2">Configuration</h3>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
@@ -765,8 +772,10 @@ tomee.serialization.class.blacklist = or
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_multiple_instances">Multiple instances</h3>
+</div>
+<div class="sect1">
+<h2 id="_multiple_instances">Multiple instances</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>With arquillian you can create cluster or isolated instances. Here is a sample <code>arquillian.xml</code>:</p>
</div>
@@ -836,6 +845,7 @@ public class MultipleTomEETest {
</div>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/developer/testing/other/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/testing/other/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/developer/testing/other/index.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/developer/testing/other/index.html Sun Dec 9 02:54:59 2018
@@ -101,8 +101,9 @@
<div class="row">
<div class="col-md-12">
- <div class="sect2">
-<h3 id="_ejbcontainer">EJBContainer</h3>
+ <div class="sect1">
+<h2 id="_ejbcontainer">EJBContainer</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>The <code>EJBContainer</code> API is a JavaEE API enriched by some OpenEJB features to make the testing easier.</p>
</div>
@@ -110,8 +111,8 @@
<p>It starts a container (embedded for case we are interested in) scanning the classpath. This operation can be
slow and if you go with this solution maybe think to start it only once for all tests.</p>
</div>
-<div class="sect3">
-<h4 id="_sample">Sample</h4>
+<div class="sect2">
+<h3 id="_sample">Sample</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">import org.junit.After;
@@ -173,13 +174,15 @@ public class ATest {
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_openejb_junit">OpenEJB JUnit</h3>
+</div>
+<div class="sect1">
+<h2 id="_openejb_junit">OpenEJB JUnit</h2>
+<div class="sectionbody">
<div class="paragraph">
<p><code>openejb-junit</code> is another artifact providing some facilities for testing.</p>
</div>
-<div class="sect3">
-<h4 id="_ejbcontainer_rule">EJBContainer Rule</h4>
+<div class="sect2">
+<h3 id="_ejbcontainer_rule">EJBContainer Rule</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">@Properties({
@@ -220,8 +223,8 @@ there is the equivalent runner: <code>@R
</table>
</div>
</div>
-<div class="sect3">
-<h4 id="_injectrule_injections_for_ejbcontainerrule">InjectRule: injections for EJBContainerRule</h4>
+<div class="sect2">
+<h3 id="_injectrule_injections_for_ejbcontainerrule">InjectRule: injections for EJBContainerRule</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">@Properties({
@@ -259,6 +262,7 @@ an alternative in <code>openejb-core</co
</div>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/developer/tools/gradle-plugins.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/tools/gradle-plugins.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/developer/tools/gradle-plugins.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/developer/tools/gradle-plugins.html Sun Dec 9 02:54:59 2018
@@ -128,7 +128,7 @@ apply plugin: 'org.apache.tomee.tomee-em
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>gradle tomee-embedded -i</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">gradle tomee-embedded -i</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/applicationcomposer.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/applicationcomposer.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/applicationcomposer.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/applicationcomposer.html Sun Dec 9 02:54:59 2018
@@ -131,11 +131,12 @@ the dependencies are retrieved with <cod
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_run_goal_configuration">Run goal configuration</h3>
+<div class="sect1">
+<h2 id="_run_goal_configuration">Run goal configuration</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>mvn process-classes applicationcomposer:run -DskipTests</code></pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">mvn process-classes applicationcomposer:run -DskipTests</code></pre>
</div>
</div>
<table class="tableblock frame-all grid-all spread table table-bordered">
@@ -175,11 +176,13 @@ the dependencies are retrieved with <cod
</tbody>
</table>
</div>
-<div class="sect2">
-<h3 id="_zip_goal_configuration">Zip goal configuration</h3>
+</div>
+<div class="sect1">
+<h2 id="_zip_goal_configuration">Zip goal configuration</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>mvn process-classes applicationcomposer:zip -DskipTests</code></pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">mvn process-classes applicationcomposer:zip -DskipTests</code></pre>
</div>
</div>
<table class="tableblock frame-all grid-all spread table table-bordered">
@@ -229,6 +232,7 @@ the dependencies are retrieved with <cod
</tbody>
</table>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/embedded.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/embedded.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/embedded.html (original)
+++ tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/embedded.html Sun Dec 9 02:54:59 2018
@@ -108,8 +108,9 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_configuration">Configuration</h3>
+<div class="sect1">
+<h2 id="_configuration">Configuration</h2>
+<div class="sectionbody">
<table class="tableblock frame-all grid-all spread table table-bordered">
<colgroup>
<col style="width: 33.3333%;">
@@ -322,6 +323,7 @@
</tbody>
</table>
</div>
+</div>
</div>
</div>