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 [4/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/shad...

Modified: tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/index.html (original)
+++ tomee/site/trunk/content/latest/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&#8217;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&#8230;&#8203;) 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/latest/docs/developer/testing/arquillian/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/testing/arquillian/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/testing/arquillian/index.html (original)
+++ tomee/site/trunk/content/latest/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">&lt;dependency&gt;
@@ -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">&lt;dependency&gt;
@@ -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
 &lt;/arquillian&gt;</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">&lt;dependency&gt;
@@ -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/latest/docs/developer/testing/other/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/testing/other/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/testing/other/index.html (original)
+++ tomee/site/trunk/content/latest/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/latest/docs/developer/tools/gradle-plugins.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/tools/gradle-plugins.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/tools/gradle-plugins.html (original)
+++ tomee/site/trunk/content/latest/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/latest/docs/developer/tools/maven/applicationcomposer.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/tools/maven/applicationcomposer.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/tools/maven/applicationcomposer.html (original)
+++ tomee/site/trunk/content/latest/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/latest/docs/developer/tools/maven/embedded.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/tools/maven/embedded.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/tools/maven/embedded.html (original)
+++ tomee/site/trunk/content/latest/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>

Modified: tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html (original)
+++ tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html Sun Dec  9 02:54:59 2018
@@ -145,8 +145,9 @@
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_run">Run</h3>
+<div class="sect1">
+<h2 id="_run">Run</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>The most commonly used goal, it allows to start a tomee with applications. Here is its configuration:</p>
 </div>
@@ -475,8 +476,8 @@
 <p>Synchronization are blocks defining a source and target folder and both are synchronized. It typically copy
 <code>src/main/webapp</code> resources in <code>target/apache-tomee/webapps/myapp/</code>.</p>
 </div>
-<div class="sect3">
-<h4 id="_customizers">Customizers</h4>
+<div class="sect2">
+<h3 id="_customizers">Customizers</h3>
 <div class="paragraph">
 <p>Customizers are java classes loadable by the plugin and with a main or implementing <code>Runnable</code> and taking optionally
 as constructor parameter a <code>File</code> representing <code>tomee.base</code> or no arguments.</p>
@@ -498,8 +499,8 @@ as constructor parameter a <code>File</c
 </ul>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_dependencies_libs">Dependencies (libs)</h4>
+<div class="sect2">
+<h3 id="_dependencies_libs">Dependencies (libs)</h3>
 <div class="paragraph">
 <p>The format can be:</p>
 </div>
@@ -512,7 +513,7 @@ as constructor parameter a <code>File</c
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="highlight"><code>groupId:artifactId:version</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">groupId:artifactId:version</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -524,7 +525,7 @@ as constructor parameter a <code>File</c
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="highlight"><code>unzip:groupId:artifactId:version</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">unzip:groupId:artifactId:version</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -536,12 +537,12 @@ as constructor parameter a <code>File</c
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="highlight"><code>remove:prefix</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">remove:prefix</code></pre>
 </div>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_example">Example</h4>
+<div class="sect2">
+<h3 id="_example">Example</h3>
 <div class="listingblock">
 <div class="content">
 <pre class="highlight"><code class="language-xml" data-lang="xml">&lt;plugin&gt;
@@ -575,8 +576,10 @@ as constructor parameter a <code>File</c
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_build">Build</h3>
+</div>
+<div class="sect1">
+<h2 id="_build">Build</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Excepted synchronization, build plugin inherit from <code>run</code> Mojo its configuration. It just adds the following:</p>
 </div>
@@ -617,12 +620,15 @@ as constructor parameter a <code>File</c
 </tbody>
 </table>
 </div>
-<div class="sect2">
-<h3 id="_tomcat_like_goals">Tomcat like goals</h3>
+</div>
+<div class="sect1">
+<h2 id="_tomcat_like_goals">Tomcat like goals</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p><code>configtest</code>, <code>start</code> and <code>stop</code> just execute these commands on the server (like on <code>catalina.sh</code>).</p>
 </div>
 </div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/docs.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/docs.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/docs.html (original)
+++ tomee/site/trunk/content/latest/docs/docs.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="_administration">Administration</h3>
+                <div class="sect1">
+<h2 id="_administration">Administration</h2>
+<div class="sectionbody">
 <div class="ulist">
 <ul>
 <li>
@@ -117,8 +118,10 @@
 </ul>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_developers">Developers</h3>
+</div>
+<div class="sect1">
+<h2 id="_developers">Developers</h2>
+<div class="sectionbody">
 <div class="ulist">
 <ul>
 <li>
@@ -145,8 +148,10 @@
 </ul>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_advanced">Advanced</h3>
+</div>
+<div class="sect1">
+<h2 id="_advanced">Advanced</h2>
+<div class="sectionbody">
 <div class="ulist">
 <ul>
 <li>
@@ -167,6 +172,7 @@
 </ul>
 </div>
 </div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/documentation.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/documentation.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/documentation.html (original)
+++ tomee/site/trunk/content/latest/docs/documentation.html Sun Dec  9 02:54:59 2018
@@ -95,7 +95,9 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div class="paragraph">
+                <div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
 <p>See also the <a href="examples-trunk/index.html">examples page</a> for
 downloadable, executable and code-focused view of Java EE and TomEE. You
 can also find us on IRC freenode.org #openejb and #tomee</p>
@@ -112,15 +114,19 @@ Intellij</a><br>
 Eclipse (m2e-Webby)</a><br>
 <a href="tomee-and-netbeans.html">Get started with Netbeans</a></p>
 </div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_general_informations_link_comparison_html_comparison_openejb_tomee">General Informations link:comparison.html[Comparison: OpenEJB, TomEE,</h2>
+<div class="sectionbody">
 <div class="paragraph">
-<p><mark><mark>General Informations <a href="comparison.html">Comparison: OpenEJB, TomEE,
-TomEE+</a><br>
+<p>TomEE+]<br>
 <a href="tomee-directory-structure.html">TomEE Directory structure</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="refcard/refcard.html">TomEE Reference Card</a><br>
 <a href="application-composer/index.html">ApplicationComposer</a><br>
-} \{span-one-third </mark>#Configuration <a href="system-properties.html">System
+} \{span-one-third <mark>#Configuration <a href="system-properties.html">System
 Properties</a><br>
 <a href="deployments.html">Deployments</a><br>
 <a href="Configuring-in-tomee.html">Configuring Resources</a><br>
@@ -136,7 +142,7 @@ Container</a><br>
 <a href="jndi-names.html">JNDI Names</a><br>
 <a href="changing-jms-implementations.html">Changing JMS implementations</a><br>
 <a href="tomee-and-hibernate.html">Changing JPA to Hibernate</a><br>
-} \{span-one-third #</mark>#Testing Techniques
+} \{span-one-third </mark>#Testing Techniques
 <a href="application-discovery-via-the-classpath.html">Application discovery
 via the classpath</a><br>
 <a href="embedded-configuration.html">Embedded Configuration</a><br>
@@ -165,14 +171,18 @@ inner-class</a><br>
 <a href="failover-logging.html">Logging Events</a><br>
 } \{span-one-third</p>
 </div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_openejb_standalone_server">OpenEJB Standalone Server</h2>
+<div class="sectionbody">
 <div class="paragraph">
-<p><mark>#OpenEJB Standalone Server
-<a href="understanding-the-directory-layout.html">Understanding the Directory
+<p><a href="understanding-the-directory-layout.html">Understanding the Directory
 Layout</a><br>
 <a href="startup.html">Startup</a><br>
 <a href="deploy-tool.html">Deploy Tool</a><br>
 <a href="properties-tool.html">Properties Tool</a><br>
-} \{span-one-third </mark>#Spring <a href="spring-and-openejb-3.0.html">Spring and
+} \{span-one-third ###Spring <a href="spring-and-openejb-3.0.html">Spring and
 OpenEJB 3.0</a><br>
 <a href="spring.html">Spring and OpenEJB 3.1 and later</a><br>
 <a href="spring-ejb-and-jpa.html">Spring, EJB and JPA example</a><br>
@@ -199,6 +209,8 @@ WAR</a><br>
 <a href="tip-jersey-client.html">Jersey Client</a><br>
 } }</p>
 </div>
+</div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/dynamic-datasource.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/dynamic-datasource.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/dynamic-datasource.html (original)
+++ tomee/site/trunk/content/latest/docs/dynamic-datasource.html Sun Dec  9 02:54:59 2018
@@ -116,9 +116,9 @@ functionnal reasons (filtering, aggregat
 <p>The interface Router (<em>org.apache.openejb.resource.jdbc.Router</em>) have
 only one method to get the datasource to use:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Router.getDataSource()</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">Router.getDataSource()</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -176,9 +176,9 @@ to set to choose the real database to us
 <div class="paragraph">
 <p>So in your code you want something like:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class RoutedEJBBean {
+<pre class="highlight"><code class="language-java" data-lang="java">public class RoutedEJBBean {
     @PersistenceContext(unitName = "router")
     private EntityManager em;
 
@@ -191,7 +191,7 @@ to set to choose the real database to us
         router.setDataSource(clientDatasource);
         em.persist(new Person(id, name));
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -204,9 +204,9 @@ to set to choose the real database to us
 <p>The router will simply manage a map to store proxied datasources and a
 field to store the datasource used in the current thread (ThreadLocal).</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class DeterminedRouter implements Router {
+<pre class="highlight"><code class="language-java" data-lang="java">public class DeterminedRouter implements Router {
     private String dataSourceNames; // used to store configuration (openejb.xml)
     private String defaultDataSourceName; // defautl data source name
     private Map&lt;String, DataSource&gt; dataSources = null; // proxied data sources
@@ -282,7 +282,7 @@ field to store the datasource used in th
     public void setDefaultDataSourceName(String name) {
         this.defaultDataSourceName = name;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -297,15 +297,15 @@ META-INF/. For example META-INF/org.rout
 <div class="paragraph">
 <p>This file will contain something like:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;ServiceJar&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;ServiceJar&gt;
   &lt;ServiceProvider id="DeterminedRouter" service="Resource"
            type="org.apache.openejb.resource.jdbc.Router" class-name="implementation class"&gt;
     Param defaultValue
     ParamWithNoDefaultValue
   &lt;/ServiceProvider&gt;
-&lt;/ServiceJar&gt;</pre>
+&lt;/ServiceJar&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -317,9 +317,9 @@ META-INF/. For example META-INF/org.rout
 <p>In the openejb.xml file, you have to declare your dynamic database and
 in our example it needs the proxied datasources too:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="router" type="&lt;your implementation&gt;" provider="&lt;your provider&gt;"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="router" type="&lt;your implementation&gt;" provider="&lt;your provider&gt;"&gt;
   Param value
 &lt;/Resource&gt;
 
@@ -348,7 +348,7 @@ in our example it needs the proxied data
   UserName sa
   Password
   JtaManaged true
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/ejb-failover.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/ejb-failover.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/ejb-failover.html (original)
+++ tomee/site/trunk/content/latest/docs/ejb-failover.html Sun Dec  9 02:54:59 2018
@@ -181,9 +181,9 @@ will broadcast all it&#8217;s services w
 well it will ignore any services it sees broadcast if they do not share
 the same group name.</p>
 </div>
-<div class="paragraph">
-<p>#Details</p>
 </div>
+</div>
+<h1 id="_details" class="sect0">Details</h1>
 <div class="paragraph">
 <p>Multicast</p>
 </div>
@@ -223,8 +223,6 @@ the same group name.</p>
 </li>
 </ul>
 </div>
-</div>
-</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/ejb-local-ref.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/ejb-local-ref.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/ejb-local-ref.html (original)
+++ tomee/site/trunk/content/latest/docs/ejb-local-ref.html Sun Dec  9 02:54:59 2018
@@ -99,9 +99,9 @@
 <div class="paragraph">
 <p>Usable by EJB, Interceptor, Servlet, Filter, or Listener</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package org.superbiz.refs;
+<pre class="highlight"><code class="language-java" data-lang="java">package org.superbiz.refs;
 
 import javax.ejb.EJB;
 import javax.ejb.Stateless;
@@ -122,16 +122,16 @@ public class MyEjbLocalRefBean implement
         FooLocal fooLocal = (FooLocal) context.lookup("java:comp/env/myFooEjb");
         BarLocal barLocal = (BarLocal) context.lookup("java:comp/env/org.superbiz.refs.MyEjbLocalRefBean/myBarEjb");
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <h1 id="_via_xml" class="sect0">Via xml</h1>
 <div class="paragraph">
 <p>The above @EJB annotation usage is 100% equivalent to the following xml.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;ejb-local-ref&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;ejb-local-ref&gt;
   &lt;ejb-ref-name&gt;myFooEjb&lt;/ejb-ref-name&gt;
   &lt;local&gt;org.superbiz.refs.FooLocal&lt;/local&gt;
 &lt;/ejb-local-ref&gt;
@@ -143,7 +143,7 @@ public class MyEjbLocalRefBean implement
     &lt;injection-target-class&gt;org.superbiz.refs.MyEjbLocalRefBean&lt;/injection-target-class&gt;
     &lt;injection-target-name&gt;myBarEjb&lt;/injection-target-name&gt;
   &lt;/injection-target&gt;
-&lt;/ejb-local-ref&gt;</pre>
+&lt;/ejb-local-ref&gt;</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/ejb-over-ssl.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/ejb-over-ssl.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/ejb-over-ssl.html (original)
+++ tomee/site/trunk/content/latest/docs/ejb-over-ssl.html Sun Dec  9 02:54:59 2018
@@ -130,9 +130,9 @@ from a remote client can happen two diff
 an EJB client can invoke over <code>https</code> using the following
 <code>InitialContext</code> setup:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
 p.put("java.naming.provider.url", "https://127.0.0.1:8443/tomee/ejb");
 // user and pass optional
@@ -141,7 +141,7 @@ p.put("java.naming.security.credentials"
 
 InitialContext ctx = new InitialContext(p);
 
-MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</pre>
+MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -172,25 +172,25 @@ and setup in OpenEJB Standalone by defau
 <div class="paragraph">
 <p>Its configuration <code>conf/ejbds.properties</code> looks like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>server      = org.apache.openejb.server.ejbd.EjbServer
+<pre class="highlight"><code class="language-properties" data-lang="properties">server      = org.apache.openejb.server.ejbd.EjbServer
 bind        = 127.0.0.1
 port        = 4203
 disabled    = false
 threads     = 200
 backlog     = 200
 secure      = true
-discovery   = ejb:ejbds://{bind}:{port}</pre>
+discovery   = ejb:ejbds://{bind}:{port}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>To access this service from a remote client, the <code>InitialContext</code> would
 be setup like the following:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
 p.put("java.naming.provider.url", "ejbd://localhost:4201");
 // user and pass optional
@@ -199,7 +199,7 @@ p.put("java.naming.security.credentials"
 
 InitialContext ctx = new InitialContext(p);
 
-MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</pre>
+MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</code></pre>
 </div>
 </div>
 <div class="sect2">
@@ -230,9 +230,9 @@ listing</a>.</p>
 <div class="paragraph">
 <p>On the server:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>server      = org.apache.openejb.server.ejbd.EjbServer
+<pre class="highlight"><code class="language-properties" data-lang="properties">server      = org.apache.openejb.server.ejbd.EjbServer
 bind        = 127.0.0.1
 port        = 4203
 disabled    = false
@@ -240,15 +240,15 @@ threads     = 200
 backlog     = 200
 secure      = true
 enabledCipherSuites = TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA
-discovery   = ejb:ejbds://{bind}:{port}</pre>
+discovery   = ejb:ejbds://{bind}:{port}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>On the client, you must supply a property:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-Dopenejb.client.enabledCipherSuites=TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">-Dopenejb.client.enabledCipherSuites=TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/ejb-ref.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/ejb-ref.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/ejb-ref.html (original)
+++ tomee/site/trunk/content/latest/docs/ejb-ref.html Sun Dec  9 02:54:59 2018
@@ -98,12 +98,12 @@
                 <div id="preamble">
 <div class="sectionbody">
 <div class="paragraph">
-<p>#
+<p>=
 Via annotation</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package org.superbiz.refs;
+<pre class="highlight"><code class="language-java" data-lang="java">package org.superbiz.refs;
 
 import javax.ejb.EJB;
 import javax.ejb.Stateless;
@@ -124,7 +124,7 @@ public class MyEjbRemoteRefBean implemen
         FooRemote fooRemote = (FooRemote) context.lookup("java:comp/env/myFooEjb");
         BarRemote barRemote = (BarRemote) context.lookup("java:comp/env/org.superbiz.refs.MyEjbRemoteRefBean/myBarEjb");
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -133,9 +133,9 @@ public class MyEjbRemoteRefBean implemen
 <div class="paragraph">
 <p>The above @EJB annotation usage is 100% equivalent to the following xml.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;ejb-ref&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;ejb-ref&gt;
     &lt;ejb-ref-name&gt;myFooEjb&lt;/ejb-ref-name&gt;
     &lt;remote&gt;org.superbiz.refs.FooRemote&lt;/remote&gt;
 &lt;/ejb-ref&gt;
@@ -147,7 +147,7 @@ public class MyEjbRemoteRefBean implemen
       &lt;injection-target-class&gt;org.superbiz.refs.MyEjbRemoteRefBean&lt;/injection-target-class&gt;
       &lt;injection-target-name&gt;myBarEjb&lt;/injection-target-name&gt;
     &lt;/injection-target&gt;
-&lt;/ejb-ref&gt;</pre>
+&lt;/ejb-ref&gt;</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/ejb-refs.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/ejb-refs.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/ejb-refs.html (original)
+++ tomee/site/trunk/content/latest/docs/ejb-refs.html Sun Dec  9 02:54:59 2018
@@ -110,24 +110,24 @@ the ejb-jar.xml of the referring bean.</
 <div class="paragraph">
 <p>So in ejb app A colorsApp.jar you have this bean:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package com.foo.colors;
+<pre class="highlight"><code class="language-java" data-lang="java">package com.foo.colors;
 
 import javax.ejb.Stateless;
 
 @Stateless
 public class OrangeBean implements OrangeRemote {
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Then in ejb app B shapesApp.jar you have this bean with a reference to
 OrangeRemote:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package com.foo.shapes;
+<pre class="highlight"><code class="language-java" data-lang="java">package com.foo.shapes;
 
 import javax.ejb.Stateless;
 import com.foo.colors.OrangeRemote;
@@ -135,16 +135,16 @@ import com.foo.colors.OrangeRemote;
 @Stateless
 public class SquareBean implements SquareRemote {
     @EJB OrangeRemote orangeRemote;
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>To hook this reference up you need to override this ref and add more
 info in the ejb-jar.xml of shapesApp.jar as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;ejb-jar&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;ejb-jar&gt;
   &lt;enterprise-beans&gt;
 
     &lt;session&gt;
@@ -156,7 +156,7 @@ info in the ejb-jar.xml of shapesApp.jar
     &lt;/session&gt;
 
   &lt;/enterprise-beans&gt;
-&lt;/ejb-jar&gt;</pre>
+&lt;/ejb-jar&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -171,23 +171,23 @@ possible, however more information must
 <div class="paragraph">
 <p>In ejb app A colorsApp.jar you have this bean:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package com.foo.colors;
+<pre class="highlight"><code class="language-java" data-lang="java">package com.foo.colors;
 
 import javax.ejb.Stateless;
 
 @Stateless
 public class OrangeBean implements OrangeRemote {
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Then in ejb app B shapesApp.jar&#8201;&#8212;&#8201;note there is no @EJB annotation:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package com.foo.shapes;
+<pre class="highlight"><code class="language-java" data-lang="java">package com.foo.shapes;
 
 import javax.ejb.Stateless;
 import com.foo.colors.OrangeRemote;
@@ -195,7 +195,7 @@ import com.foo.colors.OrangeRemote;
 @Stateless
 public class SquareBean implements SquareRemote {
     OrangeRemote orangeRemote;
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -203,9 +203,9 @@ public class SquareBean implements Squar
 just xml. The following would be added to the ejb-jar.xml of
 shapesApp.jar:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;ejb-jar&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;ejb-jar&gt;
   &lt;enterprise-beans&gt;
 
     &lt;session&gt;
@@ -223,7 +223,7 @@ shapesApp.jar:</p>
     &lt;/session&gt;
 
   &lt;/enterprise-beans&gt;
-&lt;/ejb-jar&gt;</pre>
+&lt;/ejb-jar&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -246,9 +246,9 @@ to satisfy the lookup to the other serve
 <div class="paragraph">
 <p>In this example we are calling our InitialContext <code>shoe</code> for fun.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 &lt;openejb&gt;
 
   &lt;JndiProvider id="shoe" type="javax.naming.InitialContext"&gt;
@@ -256,16 +256,16 @@ to satisfy the lookup to the other serve
     java.naming.factory.initial = org.apache.openejb.client.RemoteInitialContextFactory
   &lt;/JndiProvider&gt;
 
-&lt;/openejb&gt;</pre>
+&lt;/openejb&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Declaring the <code>@EJB</code> reference is then done using a <code>mappedName</code> that
 references the named <code>InitialContext</code></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class BlueBean implements BlueRemote {
+<pre class="highlight"><code class="language-java" data-lang="java">public class BlueBean implements BlueRemote {
 
     @EJB(mappedName = "jndi:ext://shoe/OrangeBeanRemote")
     private OrangeRemote orangeRemote;
@@ -274,7 +274,7 @@ references the named <code>InitialContex
         Assert.assertNotNull("orangeRemote is null", orangeRemote);
         assertEquals("olleh", orangeRemote.echo("hello"));
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -297,12 +297,12 @@ supports.</p>
 <p>If say, there are two servers that have the <code>OrangeBeanRemote</code> bean, you
 could expand the <code>&lt;JndiProvider&gt;</code> delcaration like so:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>  &lt;JndiProvider id="shoe" type="javax.naming.InitialContext"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">  &lt;JndiProvider id="shoe" type="javax.naming.InitialContext"&gt;
     java.naming.provider.url = failover:ejbd://192.168.1.20:4201,ejbd://192.168.1.30:4201
     java.naming.factory.initial = org.apache.openejb.client.RemoteInitialContextFactory
-  &lt;/JndiProvider&gt;</pre>
+  &lt;/JndiProvider&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/ejb-request-logging.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/ejb-request-logging.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/ejb-request-logging.html (original)
+++ tomee/site/trunk/content/latest/docs/ejb-request-logging.html Sun Dec  9 02:54:59 2018
@@ -135,11 +135,11 @@ time is going in a request.</p>
 <code>FINEST</code> level in category <code>OpenEJB.client</code>. The code is similar to the
 following:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>final long time = System.nanoTime() - start;
+<pre class="highlight"><code class="language-java" data-lang="java">final long time = System.nanoTime() - start;
 final String message = String.format("Invocation %sns - %s - Request(%s) - Response(%s)", time, conn.getURI(), req, res);
-logger.log(Level.FINEST, message);</pre>
+logger.log(Level.FINEST, message);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -156,9 +156,9 @@ performance reasons, so it must be set a
 in category`"OpenEJB.server.remote.ejb`. The code for that is similar to
 this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>logger.fine("EJB REQUEST: " + req + " -- RESPONSE: " + res);</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">logger.fine("EJB REQUEST: " + req + " -- RESPONSE: " + res);</code></pre>
 </div>
 </div>
 </div>
@@ -218,9 +218,9 @@ security.</p>
 <p>This information is available in JMX. A sample JMX ObjectName for a
 <code>CounterBean</code> will look like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>openejb.management:J2EEServer=openejb,J2EEApplication=null,EJBModule=StatsModule,StatelessSessionBean=CounterBean,j2eeType=Invocations,name=CounterBean</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">openejb.management:J2EEServer=openejb,J2EEApplication=null,EJBModule=StatsModule,StatelessSessionBean=CounterBean,j2eeType=Invocations,name=CounterBean</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/ejbd-transport.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/ejbd-transport.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/ejbd-transport.html (original)
+++ tomee/site/trunk/content/latest/docs/ejbd-transport.html Sun Dec  9 02:54:59 2018
@@ -114,9 +114,9 @@ you don&#8217;t want them to be started.
 <p>In TomEE the transport is the Tomcat one. It uses a servlet brought by
 TomEE webapp. Here is the servlet as defined in TomEE webapp:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;servlet&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;servlet&gt;
     &lt;servlet-name&gt;ServerServlet&lt;/servlet-name&gt;
     &lt;servlet-class&gt;org.apache.openejb.server.httpd.ServerServlet&lt;/servlet-class&gt;
 &lt;/servlet&gt;
@@ -124,7 +124,7 @@ TomEE webapp. Here is the servlet as def
 &lt;servlet-mapping&gt;
     &lt;servlet-name&gt;ServerServlet&lt;/servlet-name&gt;
     &lt;url-pattern&gt;/ejb/*&lt;/url-pattern&gt;
-&lt;/servlet-mapping&gt;</pre>
+&lt;/servlet-mapping&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -240,9 +240,9 @@ default for <code>tomee.serialization.cl
 <p>If an EJB request fails because a class is not whitelisted you will find
 this log entry:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>WARN - "null OEJP/4.7" FAIL "Security error - foo.Bar is not whitelisted as deserializable, prevented before loading it." - Debug for StackTrace</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN - "null OEJP/4.7" FAIL "Security error - foo.Bar is not whitelisted as deserializable, prevented before loading it." - Debug for StackTrace</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -254,20 +254,20 @@ on server side as well as on client side
 <p>If you only want to support serialization of the classes <code>foo.Bar</code> and
 <code>foo.Baz</code> you can configure the properties like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>tomee.serialization.class.whitelist = foo.Bar,foo.Baz
-tomee.serialization.class.blacklist = -</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">tomee.serialization.class.whitelist = foo.Bar,foo.Baz
+tomee.serialization.class.blacklist = -</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>If you trust all classes in the package <code>foo</code> define the properties like
 this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>tomee.serialization.class.whitelist = foo.
-tomee.serialization.class.blacklist = -</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">tomee.serialization.class.whitelist = foo.
+tomee.serialization.class.blacklist = -</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -278,10 +278,10 @@ classes in the package <code>foo2</code>
 <p>If you trust all classes in the package <code>foo</code> except the class <code>foo.Bar</code>
 you have to configure the properties like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>tomee.serialization.class.whitelist = foo.
-tomee.serialization.class.blacklist = foo.Bar</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">tomee.serialization.class.whitelist = foo.
+tomee.serialization.class.blacklist = foo.Bar</code></pre>
 </div>
 </div>
 <div class="sect2">
@@ -295,10 +295,10 @@ applications runs on TomEE 1.7.3 but doe
 aforementioned log message, you can define the configuration so that the
 serialization will work in the same way as it did with TomEE 1.7.3:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>tomee.serialization.class.whitelist =
-tomee.serialization.class.blacklist = org.codehaus.groovy.runtime.,org.apache.commons.collections.functors.,org.apache.xalan,java.lang.Process</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">tomee.serialization.class.whitelist =
+tomee.serialization.class.blacklist = org.codehaus.groovy.runtime.,org.apache.commons.collections.functors.,org.apache.xalan,java.lang.Process</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -340,10 +340,10 @@ that the respective URL is not accessibl
 objects over Ejbd. If you want to revert to this behavior you can simply
 deactivate the blacklist with this configuration:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>tomee.serialization.class.whitelist =
-tomee.serialization.class.blacklist = -</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">tomee.serialization.class.whitelist =
+tomee.serialization.class.blacklist = -</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/embedded-and-remotable.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/embedded-and-remotable.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/embedded-and-remotable.html (original)
+++ tomee/site/trunk/content/latest/docs/embedded-and-remotable.html Sun Dec  9 02:54:59 2018
@@ -273,15 +273,15 @@ directory of the openejb:download.html[e
 <div class="paragraph">
 <p>Which should create output like the following.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-------------------------------------------------------
+<pre class="highlight"><code class="language-java" data-lang="java">-------------------------------------------------------
  T E S T S
 -------------------------------------------------------
 Running org.superbiz.telephone.TelephoneTest
 Apache OpenEJB 3.0    build: 20080408-04:13
 http://tomee.apache.org/
-INFO - openejb.home =</pre>
+INFO - openejb.home =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -317,11 +317,11 @@ admin thread 127.0.0.1 4200<br>
 ------- Ready! Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
 elapsed: 0.89 sec</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Results :
+<pre class="highlight"><code class="language-properties" data-lang="properties">Results :
 
-Tests run: 2, Failures: 0, Errors: 0, Skipped: 0</pre>
+Tests run: 2, Failures: 0, Errors: 0, Skipped: 0</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/embedded-configuration.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/embedded-configuration.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/embedded-configuration.html (original)
+++ tomee/site/trunk/content/latest/docs/embedded-configuration.html Sun Dec  9 02:54:59 2018
@@ -224,7 +224,7 @@ META-INF, but at the root of any of the
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="highlight"><code># set the initial context factory
+<pre class="highlight"><code class="language-properties" data-lang="properties"># set the initial context factory
 java.naming.factory.initial = org.apache.openejb.client.LocalInitialContextFactory
 
 # change some logging
@@ -252,7 +252,7 @@ Properties can still be used to override
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="highlight"><code>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 
 p.put("openejb.validation.output.level ", " medium");
 

Modified: tomee/site/trunk/content/latest/docs/failover-logging.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/failover-logging.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/failover-logging.html (original)
+++ tomee/site/trunk/content/latest/docs/failover-logging.html Sun Dec  9 02:54:59 2018
@@ -99,59 +99,59 @@
 <p>Setting the following logging category to "debug" will open up some new
 logging information.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>log4j.category.OpenEJB.server.discovery = debug</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">log4j.category.OpenEJB.server.discovery = debug</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Or more specifically as:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>log4j.category.OpenEJB.server.discovery.multipoint = debug
-log4j.category.OpenEJB.server.discovery.multicast = debug</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">log4j.category.OpenEJB.server.discovery.multipoint = debug
+log4j.category.OpenEJB.server.discovery.multicast = debug</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>The nature of the debug output is to display all configuration
 information at startup:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>DEBUG - Using default 'heart_rate=500'
+<pre class="highlight"><code class="language-properties" data-lang="properties">DEBUG - Using default 'heart_rate=500'
 DEBUG - Using default 'max_missed_heartbeats=10'
 DEBUG - Using default 'max_reconnect_delay=30000'
 DEBUG - Using default 'reconnect_delay=5000'
 DEBUG - Using default 'exponential_backoff=0'
 DEBUG - Using default 'max_reconnect_attempts=10'
-INFO - Created Tracker{group='default', groupPrefix='default:', heartRate=500, maxMissedHeartbeats=10, reconnectDelay=5000, maxReconnectDelay=30000, maxReconnectAttempts=10, exponentialBackoff=0, useExponentialBackOff=false, registeredServices=0, discoveredServices=0}</pre>
+INFO - Created Tracker{group='default', groupPrefix='default:', heartRate=500, maxMissedHeartbeats=10, reconnectDelay=5000, maxReconnectDelay=30000, maxReconnectAttempts=10, exponentialBackoff=0, useExponentialBackOff=false, registeredServices=0, discoveredServices=0}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Changing the configuration should reflect in the logging as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>INFO - Using 'heart_rate=200'
+<pre class="highlight"><code class="language-properties" data-lang="properties">INFO - Using 'heart_rate=200'
 INFO - Using 'max_missed_heartbeats=2'
 DEBUG - Using default 'max_reconnect_delay=30000'
 DEBUG - Using default 'reconnect_delay=5000'
 DEBUG - Using default 'exponential_backoff=0'
 DEBUG - Using default 'max_reconnect_attempts=10'
-INFO - Created Tracker{group='default', groupPrefix='default:', heartRate=200, maxMissedHeartbeats=2, reconnectDelay=5000, maxReconnectDelay=30000, maxReconnectAttempts=10, exponentialBackoff=0, useExponentialBackOff=false, registeredServices=0, discoveredServices=0}</pre>
+INFO - Created Tracker{group='default', groupPrefix='default:', heartRate=200, maxMissedHeartbeats=2, reconnectDelay=5000, maxReconnectDelay=30000, maxReconnectAttempts=10, exponentialBackoff=0, useExponentialBackOff=false, registeredServices=0, discoveredServices=0}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>As well as any events at runtime:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>DEBUG - Expired Service{uri=green://localhost:0, broadcastString='default:green://localhost:0&amp;#39;} Timeout{lastSeen=-5005, threshold=5000}
+<pre class="highlight"><code class="language-properties" data-lang="properties">DEBUG - Expired Service{uri=green://localhost:0, broadcastString='default:green://localhost:0&amp;#39;} Timeout{lastSeen=-5005, threshold=5000}
 
 DEBUG - Added Service{uri=green://localhost:0}
 
-DEBUG - Removed Service{uri=green://localhost:0}</pre>
+DEBUG - Removed Service{uri=green://localhost:0}</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/faq.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/faq.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/faq.html (original)
+++ tomee/site/trunk/content/latest/docs/faq.html Sun Dec  9 02:54:59 2018
@@ -98,7 +98,7 @@
                 <div id="preamble">
 <div class="sectionbody">
 <div class="paragraph">
-<p>##
+<p>==
  General</p>
 </div>
 <div class="literalblock">
@@ -184,19 +184,19 @@ classpath. For maven, something that win
 "target/classes/" or "target/test-classes/" will work just fine. Then in
 your test case do this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   protected void setUp() throws Exception {
+<pre class="highlight"><code class="language-java" data-lang="java">   protected void setUp() throws Exception {
        Properties properties = new Properties();
-       properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,</pre>
+       properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>"org.apache.openejb.client.LocalInitialContextFactory");</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>       URL config =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">       URL config =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -204,10 +204,10 @@ your test case do this:</p>
 properties.setProperty("openejb.configuration",
 config.toExternalForm());</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>       initialContext = new InitialContext(properties);
-   }</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">       initialContext = new InitialContext(properties);
+   }</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/functional-testing-with-openejb,-jetty-and-selenium.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/functional-testing-with-openejb%2C-jetty-and-selenium.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/functional-testing-with-openejb,-jetty-and-selenium.html (original)
+++ tomee/site/trunk/content/latest/docs/functional-testing-with-openejb,-jetty-and-selenium.html Sun Dec  9 02:54:59 2018
@@ -113,15 +113,16 @@ some sample code demonstrating this, ava
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_creating_an_embedded_server">Creating an embedded server</h3>
+<div class="sect1">
+<h2 id="_creating_an_embedded_server">Creating an embedded server</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>I created a class to start my embedded OpenEJB and Jetty instances and
 configure them to see the EJB and WAR modules of my application:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class EmbeddedServer {
+<pre class="highlight"><code class="language-java" data-lang="java">public class EmbeddedServer {
     private static EmbeddedServer instance = new EmbeddedServer();
     private Server server;
 
@@ -219,7 +220,7 @@ configure them to see the EJB and WAR mo
     }
     return webApp;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -232,16 +233,18 @@ convenience, so you can run this straigh
 using tools like the Selenium Firefox plugin.</p>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_supporting_ejb_dependency_injection">Supporting @EJB Dependency injection</h3>
+</div>
+<div class="sect1">
+<h2 id="_supporting_ejb_dependency_injection">Supporting @EJB Dependency injection</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>In the last code sample, we also set up a custom ServletHandler in Jetty
 - this is to perform dependency injection. The custom ServletHandler
 looks like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class EmbeddedServerServletHandler extends ServletHandler {
+<pre class="highlight"><code class="language-java" data-lang="java">public class EmbeddedServerServletHandler extends ServletHandler {
     private InitialContext initialContext;
 
     public EmbeddedServerServletHandler(InitialContext initialContext) {
@@ -250,24 +253,24 @@ looks like this:</p>
 
     public Servlet customizeServlet(Servlet servlet) throws Exception {
     Class&lt;? extends Servlet&gt; servletClass = servlet.getClass();
-        Field[]</pre>
+        Field[]</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>declaredFields = servletClass.getDeclaredFields();</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    for (Field declaredField : declaredFields) {
-            Annotation[]</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">    for (Field declaredField : declaredFields) {
+            Annotation[]</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>annotations = declaredField.getAnnotations();</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>        for (Annotation annotation : annotations) {
+<pre class="highlight"><code class="language-java" data-lang="java">        for (Annotation annotation : annotations) {
         if (EJB.class.equals(annotation.annotationType())) {
             // inject into this field
             Class&lt;?&gt; fieldType = declaredField.getType();
@@ -291,7 +294,7 @@ looks like this:</p>
     private EnterpriseBeanInfo getBeanFor(Class&lt;?&gt; fieldType) {
     return new EJBHelper().getBeanInfo(fieldType);
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -299,15 +302,17 @@ looks like this:</p>
 reflection to set the field.</p>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_writing_a_functional_test">Writing a Functional test</h3>
+</div>
+<div class="sect1">
+<h2 id="_writing_a_functional_test">Writing a Functional test</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>We can now write a functional test. I use a base abstract class to make
 sure the Embedded server is running, and start Selenium:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public abstract class FunctionalTestCase extends TestCase {
+<pre class="highlight"><code class="language-java" data-lang="java">public abstract class FunctionalTestCase extends TestCase {
     protected DefaultSelenium selenium;
 
     protected void setUp() throws Exception {
@@ -320,15 +325,15 @@ sure the Embedded server is running, and
     protected void tearDown() throws Exception {
     selenium.stop();
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>and I can then I write a test like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class AddPersonTest extends FunctionalTestCase {
+<pre class="highlight"><code class="language-java" data-lang="java">public class AddPersonTest extends FunctionalTestCase {
     public void testShouldAddAPerson() throws Exception {
     selenium.open("/People");
     selenium.type("firstname", "Jonathan");
@@ -342,12 +347,14 @@ sure the Embedded server is running, and
         assertEquals("Jonathan Gallimore", selenium.getText("//div[@id='people']/ul/li[1]"));
 
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_sample_code">Sample code</h3>
+</div>
+<div class="sect1">
+<h2 id="_sample_code">Sample code</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>I&#8217;ve made a sample project which demonstrates this, source is available
 <a href="http://people.apache.org/~jgallimore/PersonApp.zip">here</a> . You&#8217;ll need
@@ -357,6 +364,7 @@ to have a Selenium server running, which
 selenium:start-server'.</p>
 </div>
 </div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/generating-ejb-3-annotations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/generating-ejb-3-annotations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/generating-ejb-3-annotations.html (original)
+++ tomee/site/trunk/content/latest/docs/generating-ejb-3-annotations.html Sun Dec  9 02:54:59 2018
@@ -108,9 +108,9 @@ of your project. If you are using Maven,
 your POM (you will need to update your Eclipse project using mvn
 eclipse:eclipse afterwards)</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>  &lt;dependencies&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">  &lt;dependencies&gt;
     ...
     &lt;dependency&gt;
       &lt;groupId&gt;org.apache.openejb&lt;/groupId&gt;
@@ -118,7 +118,7 @@ eclipse:eclipse afterwards)</p>
       &lt;version&gt;5.0-1&lt;/version&gt;
       &lt;scope&gt;provided&lt;/scope&gt;
     &lt;/dependency&gt;
-  &lt;/dependencies&gt;</pre>
+  &lt;/dependencies&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -146,9 +146,9 @@ Select or deselect the other options as
 <div class="paragraph">
 <p>Options:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>* Alter SessionBean interfaces - This option makes your session beans</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">* Alter SessionBean interfaces - This option makes your session beans</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/getting-started.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/getting-started.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/getting-started.html (original)
+++ tomee/site/trunk/content/latest/docs/getting-started.html Sun Dec  9 02:54:59 2018
@@ -95,11 +95,11 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div id="preamble">
+                <div class="sect1">
+<h2 id="_the_following_instructions_are_written_using_eclipse_3_2_we">The following instructions are written using Eclipse 3.2. We</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>##The following instructions are written using Eclipse 3.2. We
-will refer to the install location of OpenEJB as OPENEJB_HOME</p>
+<p>will refer to the install location of OpenEJB as OPENEJB_HOME</p>
 </div>
 <div class="paragraph">
 <p>Here are some basic steps you need to perform to get started with
@@ -107,19 +107,22 @@ OpenEJB 1. Download and install OpenEJB
 environment 1. Write an EJB 1. Write an EJB client 1. Start the server
 1. Deploy the EJB 1. Run the client 1. Stop the server</p>
 </div>
-<div class="paragraph">
-<p>##1. Download and Install OpenEJB</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_1_download_and_install_openejb">1. Download and Install OpenEJB</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Follow
 these http://cwiki.apache.org/confluence/display/OPENEJB/Quickstart[instructions]</p>
 </div>
-<div class="paragraph">
-<p>##2. Setup your development environment</p>
 </div>
-<div class="paragraph">
-<p>###Eclipse</p>
 </div>
+<div class="sect1">
+<h2 id="_2_setup_your_development_environment">2. Setup your development environment</h2>
+<div class="sectionbody">
+<div class="sect2">
+<h3 id="_eclipse">Eclipse</h3>
 <div class="ulist">
 <ul>
 <li>
@@ -140,23 +143,26 @@ write a test client</p>
 </li>
 </ul>
 </div>
-<div class="paragraph">
-<p>##3. Start the Server</p>
 </div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_3_start_the_server">3. Start the Server</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Open the command prompt and run the following command:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>d:\openejb-3.0.0-SNAPSHOT\bin\openejb start</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">d:\openejb-3.0.0-SNAPSHOT\bin\openejb start</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>You will get the following message on the console:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>D:\openejb-3.0.0-SNAPSHOT&gt;bin\openejb start
+<pre class="highlight"><code class="language-java" data-lang="java">D:\openejb-3.0.0-SNAPSHOT&gt;bin\openejb start
 Apache OpenEJB 3.0.0-SNAPSHOT    build: 20070830-07:53
 http://tomee.apache.org/
 OpenEJB ready.
@@ -170,34 +176,36 @@ OpenEJB ready.
       hsql             0.0.0.0         9001
       telnet           0.0.0.0         4202
     -------
-    Ready!</pre>
+    Ready!</code></pre>
+</div>
 </div>
 </div>
-<div class="paragraph">
-<p>##4. Write an EJB</p>
 </div>
+<div class="sect1">
+<h2 id="_4_write_an_ejb">4. Write an EJB</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>In the EJB project create a new interface named Greeting</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package com.myejbs;
+<pre class="highlight"><code class="language-java" data-lang="java">package com.myejbs;
 
 import javax.ejb.Remote;
 
 @Remote
 public interface Greeting {
   public String greet();
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Now create a new class named GreetingBean which implements the above
 interface (shown below)</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package com.myejbs;
+<pre class="highlight"><code class="language-java" data-lang="java">package com.myejbs;
 
 import javax.ejb.Stateless;
 
@@ -208,7 +216,7 @@ public class GreetingBean implements Gre
         return "My First Remote Stateless Session Bean";
     }
 
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -233,9 +241,9 @@ in the OPENEJB_HOME/apps directory.</p>
 <div class="paragraph">
 <p>This should give you the following output:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>D:\openejb-3.0.0-SNAPSHOT&gt;bin\openejb deploy apps\greeting.jar
+<pre class="highlight"><code class="language-java" data-lang="java">D:\openejb-3.0.0-SNAPSHOT&gt;bin\openejb deploy apps\greeting.jar
 
 Application deployed successfully at \{0\}
 
@@ -245,7 +253,7 @@ App(id=D:\openejb-3.0.0-SNAPSHOT\apps\gr
 
     Ejb(ejb-name=GreetingBean, id=GreetingBean)
 
-        Jndi(name=GreetingBeanRemote)</pre>
+        Jndi(name=GreetingBeanRemote)</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -253,15 +261,17 @@ App(id=D:\openejb-3.0.0-SNAPSHOT\apps\gr
 information. Keep this handy as this is the JNDI name of the bean which
 the client will use for lookup\{</em>}{color}</p>
 </div>
-<div class="paragraph">
-<p>##6. Write the Client</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_6_write_the_client">6. Write the Client</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>In the EJBClient project, create a class named Client (shown below)</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package com.myclient;
+<pre class="highlight"><code class="language-java" data-lang="java">package com.myclient;
 
 import com.myejbs.Greeting;
 
@@ -283,32 +293,36 @@ public class Client {
             e.printStackTrace();
         }
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
-<div class="paragraph">
-<p>##7. Run the Client</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_7_run_the_client">7. Run the Client</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Open Client.java in eclipse and run it as a java application. You should
 see the following message in the console view:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>My First Remote Stateless Session Bean</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">My First Remote Stateless Session Bean</code></pre>
 </div>
 </div>
-<div class="paragraph">
-<p>##8. Stop the server</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_8_stop_the_server">8. Stop the server</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>There are two ways to stop the server: 1. You can press Ctrl+c on the
 command prompt to stop the server 1. On the command prompt type in the
 following command:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>D:\openejb-3.0.0-SNAPSHOT&gt;bin\openejb stop</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">D:\openejb-3.0.0-SNAPSHOT&gt;bin\openejb stop</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/hello-world.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/hello-world.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/hello-world.html (original)
+++ tomee/site/trunk/content/latest/docs/hello-world.html Sun Dec  9 02:54:59 2018
@@ -185,17 +185,17 @@ file under this directory - <em>logs</em
 <div class="paragraph">
 <p>create a directory named projects</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~$ mkdir projects</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~$ mkdir projects</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Go to the projects directory</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~$ cd projects</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~$ cd projects</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -204,9 +204,9 @@ install Java (version 5 or higher). Also
 the java and javac commands from any directory </mark># Set OPENEJB_HOME We
 will setup this variable to refer to the openejb install location.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/projects$ export</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/projects$ export</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -222,14 +222,14 @@ will setup this variable to refer to the
 <p>projects directory <mark>#</mark> Create the Remote Interface Using your favorite
 editor, create a file named Hello.java (shown below)</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package org.acme;
+<pre class="highlight"><code class="language-java" data-lang="java">package org.acme;
 import javax.ejb.Remote;
 @Remote
 public interface Hello{
     public String sayHello();
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="sect2">
@@ -237,16 +237,16 @@ public interface Hello{
 <div class="paragraph">
 <p>below)</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package org.acme;
+<pre class="highlight"><code class="language-java" data-lang="java">package org.acme;
 import javax.ejb.Stateless;
 @Stateless
 public class HelloBean implements Hello{
     public String sayHello(){
         return "Hello World!!!!";
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -258,9 +258,9 @@ our classpath to compile our source code
 in the $OPENEJB_HOME/lib/javaee-5.0-1.jar. Lets compile our source (make
 sure you are in the projects directory)</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/projects$ javac -cp $OPENEJB_HOME/lib/javaee-5.0-1.jar -d</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/projects$ javac -cp $OPENEJB_HOME/lib/javaee-5.0-1.jar -d</code></pre>
 </div>
 </div>
 <div class="olist arabic">
@@ -277,9 +277,9 @@ directory. All class files should be und
 Package the EJB To package the EJB into a JAR, run the following command
 while you are in the projects directory</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/projects$ jar cvf hello.jar org</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/projects$ jar cvf hello.jar org</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -287,14 +287,14 @@ while you are in the projects directory<
 (including the org directory itself) into a jar file named hello.jar.
 Below is the output from running the above command:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/projects$ jar cvf hello.jar org
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/projects$ jar cvf hello.jar org
 added manifest
 adding: org/(in = 0) (out= 0)(stored 0%)
 adding: org/acme/(in = 0) (out= 0)(stored 0%)
 adding: org/acme/Hello.class(in = 203) (out= 168)(deflated 17%)
-adding: org/acme/HelloBean.class(in = 383) (out= 275)(deflated 28%)</pre>
+adding: org/acme/HelloBean.class(in = 383) (out= 275)(deflated 28%)</code></pre>
 </div>
 </div>
 </div>
@@ -309,15 +309,15 @@ value returned from the method. While yo
 create a new file named HelloClient.java . Add the following to this
 file:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package org.acme;
+<pre class="highlight"><code class="language-java" data-lang="java">package org.acme;
 import java.util.Properties;
 import javax.naming.InitialContext;
 import javax.naming.Context;
 import javax.rmi.PortableRemoteObject;
 public class HelloClient{
-        public static void main(String[]</pre>
+        public static void main(String[]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -332,9 +332,9 @@ result = h.sayHello(); System.out.printl
 </div>
 <div class="sect2">
 <h3 id="_compile_helloclient_java_run_the_following_command">Compile HelloClient.java Run the following command:</h3>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/projects$ javac  -d . HelloClient.java</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/projects$ javac  -d . HelloClient.java</code></pre>
 </div>
 </div>
 </div>
@@ -346,22 +346,22 @@ result = h.sayHello(); System.out.printl
 <div class="paragraph">
 <p>OPENEJB_HOME) and run the following command:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/install/openejb-3.0$ bin/openejb start</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/install/openejb-3.0$ bin/openejb start</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Once the Server starts, you will see an output similar to the below in
 your console:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/install/openejb-3.0$ bin/openejb start
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/install/openejb-3.0$ bin/openejb start
 Apache OpenEJB 3.0    build: 20070926-12:34
 http://tomee.apache.org/
 OpenEJB ready.
-[OPENEJB:init]</pre>
+[OPENEJB:init]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -380,22 +380,22 @@ directories. ## Deploy the EJB We will n
 deploy the EJB in hello.jar. While you are in the projects directory,
 run the following command:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/projects$ $OPENEJB_HOME/bin/openejb deploy hello.jar</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/projects$ $OPENEJB_HOME/bin/openejb deploy hello.jar</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>The above command should give you the following output:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/projects$ $OPENEJB_HOME/bin/openejb deploy hello.jar
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/projects$ $OPENEJB_HOME/bin/openejb deploy hello.jar
 Application deployed successfully at "hello.jar"
 App(id=/home/karan/projects/hello.jar)
     EjbJar(id=hello.jar, path=/home/karan/projects/hello.jar)
     Ejb(ejb-name=HelloBean, id=HelloBean)
-        Jndi(name=HelloBeanRemote)</pre>
+        Jndi(name=HelloBeanRemote)</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -405,9 +405,9 @@ the JNDI name we used in the client to l
 While you are in the projects directory, run the following command to
 run the client:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>karan@poweredge:~/projects$ java -cp</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">karan@poweredge:~/projects$ java -cp</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -417,9 +417,9 @@ org.acme.HelloClient</p>
 <div class="paragraph">
 <p>The above should give you the following output:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Hello World!!!!</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">Hello World!!!!</code></pre>
 </div>
 </div>
 </div>