tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1848496 [10/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...
Date Sun, 09 Dec 2018 02:55:03 GMT
Modified: tomee/site/trunk/content/master/docs/dynamic-datasource.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/dynamic-datasource.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/dynamic-datasource.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/ejb-failover.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/ejb-failover.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/ejb-failover.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/ejb-local-ref.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/ejb-local-ref.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/ejb-local-ref.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/ejb-over-ssl.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/ejb-over-ssl.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/ejb-over-ssl.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/ejb-ref.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/ejb-ref.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/ejb-ref.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/ejb-refs.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/ejb-refs.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/ejb-refs.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/ejb-request-logging.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/ejb-request-logging.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/ejb-request-logging.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/ejbd-transport.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/ejbd-transport.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/ejbd-transport.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/embedded-and-remotable.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/embedded-and-remotable.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/embedded-and-remotable.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/embedded-configuration.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/embedded-configuration.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/embedded-configuration.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/failover-logging.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/failover-logging.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/failover-logging.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/faq.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/faq.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/faq.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/functional-testing-with-openejb,-jetty-and-selenium.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/functional-testing-with-openejb%2C-jetty-and-selenium.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/functional-testing-with-openejb,-jetty-and-selenium.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/generating-ejb-3-annotations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/generating-ejb-3-annotations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/generating-ejb-3-annotations.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/getting-started.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/getting-started.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/getting-started.html (original)
+++ tomee/site/trunk/content/master/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/master/docs/hello-world.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/hello-world.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/hello-world.html (original)
+++ tomee/site/trunk/content/master/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>

Modified: tomee/site/trunk/content/master/docs/hibernate.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/hibernate.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/hibernate.html (original)
+++ tomee/site/trunk/content/master/docs/hibernate.html Sun Dec  9 02:54:59 2018
@@ -101,9 +101,9 @@
 "movieDatabase" and "movieDatabaseUnmanaged" the following
 persistence.xml would work.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;persistence version="1.0"
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;persistence version="1.0"
        xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
@@ -120,7 +120,7 @@ persistence.xml would work.</p>
                 value="org.apache.openejb.hibernate.TransactionManagerLookup"/&gt;
     &lt;/properties&gt;
   &lt;/persistence-unit&gt;
-&lt;/persistence&gt;</pre>
+&lt;/persistence&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -156,9 +156,9 @@ strategy like the following will do the
 "DynamicTransactionManagerLookup" class can be packed in your jar and
 deployed with your app.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>import org.hibernate.HibernateException;
+<pre class="highlight"><code class="language-java" data-lang="java">import org.hibernate.HibernateException;
 import org.hibernate.transaction.TransactionManagerLookup;
 import javax.transaction.TransactionManager;
 import java.util.Properties;
@@ -192,7 +192,7 @@ public class DynamicTransactionManagerLo
     public String getUserTransactionName() {
         return impl.getUserTransactionName();
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/index.html (original)
+++ tomee/site/trunk/content/master/docs/index.html Sun Dec  9 02:54:59 2018
@@ -152,7 +152,7 @@
           <div class="col-md-4">
             <div class="group-title">IDE</div>
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="contrib/debug/debug-intellij.html">debug-intellij</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="contrib/debug/debug-intellij.html">Debugging an Apache</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="tomee-and-eclipse.html">TomEE and Eclipse</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="tomee-and-intellij.html">TomEE and Intellij</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="tomee-and-netbeans.html">TomEE and NetBeans</a></li>
@@ -263,7 +263,10 @@
             <ul class="group">
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="admin/index.html">Administrator</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="advanced/index.html">Advanced</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="application-composer/advanced.html">advanced</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="application-composer/index.html">Application Composer</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="application-composer/advanced.html">Application Composer Advanced</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="application-composer/getting-started.html">Application Composer Getting Started</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="application-composer/history.html">Application Composer History</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="developer/tools/maven/applicationcomposer.html">Application Composer Maven Plugin</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="admin/configuration/application.html">Application Configuration</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="advanced/applicationcomposer/index.html">ApplicationComposer with JBatch</a></li>
@@ -272,18 +275,15 @@
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="admin/cluster/index.html">Clustering and High Availability (HA)</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="admin/configuration/server.html">Container Configuration</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="developer/configuration/cxf.html">CXF Configuration - JAX-RS (RESTful Services) and JAX-WS (Web Services)</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="developer/index.html">Developer</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="admin/file-layout.html">Directory Structure</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="documentation.old.html">documentation.old</a></li>
             </ul>
           </div>
           <div class="col-md-4">
             <ul class="group">
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="developer/index.html">Developer</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="admin/file-layout.html">Directory Structure</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="documentation.old.html">documentation.old</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="advanced/shading/index.html">Fat / Uber jars - Using the Shade Plugin</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="application-composer/getting-started.html">getting-started</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="application-composer/history.html">history</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="advanced/setup/index.html">How to Setup TomEE in production</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="application-composer/index.html">index</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="developer/ide/index.html">Integrated Development Environments (IDEs)</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="advanced/client/jndi.html">Java Naming and Directory Interface (JNDI)</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="developer/migration/tomee-1-to-7.html">Migrate from TomEE 1 to TomEE 7</a></li>
@@ -377,6 +377,8 @@
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="tomee-logging-in-eclipse.html">How to use JULI for TomEE in WTP?</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="initialcontext-config.html">InitialContext Configuration</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="installation.html">Installation</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="deamon/lin-service.html">Installing</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="deamon/win-service.html">Installing</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="bouncy-castle.html">Installing Bouncy Castle</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="installing-tomee.html">Installing TomEE</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="tomee-jaas.html">JAAS and TomEE</a></li>
@@ -384,7 +386,6 @@
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="javaagent.html">JavaAgent</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="javaagent-with-maven-surefire.html">JavaAgent with Maven Surefire</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="jmsconnectionfactory-config.html">JmsConnectionFactory Configuration</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="deamon/lin-service.html">lin-service</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="maven/list-mojo.html">list-mojo</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="local-server.html">Local Server</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="lookup-of-other-ejbs-example.html">Lookup of other EJBs Example</a></li>
@@ -400,11 +401,11 @@
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="property-overriding.html">Property Overriding</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="proxyfactory-config.html">ProxyFactory Configuration</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="queue-config.html">Queue Configuration</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="quickstart.html">Quickstart</a></li>
             </ul>
           </div>
           <div class="col-md-4">
             <ul class="group">
+              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="quickstart.html">Quickstart</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="remote-server.html">Remote Server</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="maven/run-mojo.html">run-mojo</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="running-a-standalone-openejb-server.html">Running a standalone OpenEJB server</a></li>
@@ -441,7 +442,6 @@
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="unix-daemon.html">Unix Daemon</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="validation-tool.html">Validation Tool</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="resource-ref-for-datasource.html">Via annotation</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa fa-angle-right"></i></span><a href="deamon/win-service.html">win-service</a></li>
             </ul>
           </div>
         </div>

Modified: tomee/site/trunk/content/master/docs/initialcontext-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/initialcontext-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/initialcontext-config.html (original)
+++ tomee/site/trunk/content/master/docs/initialcontext-config.html Sun Dec  9 02:54:59 2018
@@ -101,10 +101,10 @@
 using a declaration like the following. All properties in the element
 body are optional.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;JndiProvider id="myInitialContext" type="javax.naming.InitialContext"&gt;
-&lt;/JndiProvider&gt;</pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;JndiProvider id="myInitialContext" type="javax.naming.InitialContext"&gt;
+&lt;/JndiProvider&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -113,9 +113,9 @@ body are optional.</p>
 <code>-D</code> properties. The properties can also be used when embedding TomEE
 via the <code>javax.ejb.embeddable.EJBContainer</code> API or <code>InitialContext</code></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>myInitialContext = new://JndiProvider?type=javax.naming.InitialContext</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">myInitialContext = new://JndiProvider?type=javax.naming.InitialContext</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/installation-drop-in-war.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/installation-drop-in-war.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/installation-drop-in-war.html (original)
+++ tomee/site/trunk/content/master/docs/installation-drop-in-war.html Sun Dec  9 02:54:59 2018
@@ -140,11 +140,11 @@ progress <a href="dev/source-code.html">
 <li>
 <p>Update $CATALINA_HOME/conf/tomcat-users.xml to add a tomee user to
 allow access to the installer page.</p>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre> &lt;!-- Activate/create these lines to get access to TomEE GUI --&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml"> &lt;!-- Activate/create these lines to get access to TomEE GUI --&gt;
  &lt;role rolename="tomee-admin" /&gt;
- &lt;user username="tomee" password="tomee" roles="tomee-admin" /&gt;</pre>
+ &lt;user username="tomee" password="tomee" roles="tomee-admin" /&gt;</code></pre>
 </div>
 </div>
 </li>

Modified: tomee/site/trunk/content/master/docs/installing-tomee.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/installing-tomee.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/installing-tomee.html (original)
+++ tomee/site/trunk/content/master/docs/installing-tomee.html Sun Dec  9 02:54:59 2018
@@ -176,17 +176,17 @@ this directory as $CATALINA_HOME in the
 <div class="paragraph">
 <p>To start TomEE as a background process, invoke</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>$CATALINA_HOME/bin/startup.sh</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">$CATALINA_HOME/bin/startup.sh</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>To start TomEE in foreground, invoke</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>$CATALINA_HOME/bin/catalina.sh run</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">$CATALINA_HOME/bin/catalina.sh run</code></pre>
 </div>
 </div>
 </div>
@@ -202,9 +202,9 @@ console.</p>
 <p>When running TomEE in background, it will only print a couple of
 environment variables. The log messages go to a file</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>$CATALINA_HOME/logs/catalina.out</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">$CATALINA_HOME/logs/catalina.out</code></pre>
 </div>
 </div>
 </div>
@@ -215,9 +215,9 @@ environment variables. The log messages
 <div class="paragraph">
 <p>To stop TomEE, invoke</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>$CATALINA_HOME/bin/shutdown.sh</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">$CATALINA_HOME/bin/shutdown.sh</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/javaagent-with-maven-surefire.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/javaagent-with-maven-surefire.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/javaagent-with-maven-surefire.html (original)
+++ tomee/site/trunk/content/master/docs/javaagent-with-maven-surefire.html Sun Dec  9 02:54:59 2018
@@ -102,11 +102,11 @@
 <p>In maven2 you can enable the javaagent for your tests by adding this to
 your pom.xml file:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;build&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;build&gt;
   &lt;plugins&gt;
-    &lt;!-- this configures the surefire plugin to run your tests with the</pre>
+    &lt;!-- this configures the surefire plugin to run your tests with the</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -116,9 +116,9 @@ pertest</p>
 <div class="paragraph">
 <p>-javaagent:\(${basedir}/target/openejb-javaagent-3.0.jar&lt;/argLine&gt;  &lt;workingDirectory&gt;$\){basedir}/target</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    &lt;!-- this tells maven to copy the openejb-javaagent jar into your</pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml">    &lt;!-- this tells maven to copy the openejb-javaagent jar into your</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -128,10 +128,10 @@ copy process-resources copy org.apache.o
 <div class="paragraph">
 <p>$\{project.build.directory}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>  &lt;/plugins&gt;
-&lt;/build&gt;</pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml">  &lt;/plugins&gt;
+&lt;/build&gt;</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/master/docs/javaagent.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/javaagent.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/javaagent.html (original)
+++ tomee/site/trunk/content/master/docs/javaagent.html Sun Dec  9 02:54:59 2018
@@ -112,9 +112,9 @@ persistence provider or if using CMP.
 <div class="paragraph">
 <p>Adding a java agent is done via a vm parameter as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>java -javaagent:openejb-javaagent-4.6.0.jar _\[other params...](other-params....html)</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">java -javaagent:openejb-javaagent-4.6.0.jar _\[other params...](other-params....html)</code></pre>
 </div>
 </div>
 <div class="sect1">
@@ -124,9 +124,9 @@ persistence provider or if using CMP.
 <p>In maven2 you can enable the javaagent for your tests by adding this to
 your pom.xml file:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;build&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;build&gt;
   &lt;plugins&gt;
     &lt;!-- this configures the surefire plugin to run your tests with the javaagent enabled --&gt;
     &lt;plugin&gt;
@@ -164,7 +164,7 @@ your pom.xml file:</p>
       &lt;/executions&gt;
     &lt;/plugin&gt;
   &lt;/plugins&gt;
-&lt;/build&gt;</pre>
+&lt;/build&gt;</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/master/docs/javamailsession-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/javamailsession-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/javamailsession-config.html (original)
+++ tomee/site/trunk/content/master/docs/javamailsession-config.html Sun Dec  9 02:54:59 2018
@@ -101,10 +101,10 @@
 using a declaration like the following. All properties in the element
 body are optional.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myJavaMailSession" type="javax.mail.Session"&gt;
-&lt;/Resource&gt;</pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myJavaMailSession" type="javax.mail.Session"&gt;
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -113,9 +113,9 @@ body are optional.</p>
 <code>-D</code> properties. The properties can also be used when embedding TomEE
 via the <code>javax.ejb.embeddable.EJBContainer</code> API or <code>InitialContext</code></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>myJavaMailSession = new://Resource?type=javax.mail.Session</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">myJavaMailSession = new://Resource?type=javax.mail.Session</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/jms-resources-and-mdb-container.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/jms-resources-and-mdb-container.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/jms-resources-and-mdb-container.html (original)
+++ tomee/site/trunk/content/master/docs/jms-resources-and-mdb-container.html Sun Dec  9 02:54:59 2018
@@ -98,9 +98,9 @@
                 <div class="sect1">
 <h2 id="_external_activemq_broker">External ActiveMQ Broker</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;tomee&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;tomee&gt;
     &lt;Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter"&gt;
         # Do not start the embedded ActiveMQ broker
         BrokerXmlConfig  =
@@ -117,7 +117,7 @@
 
     &lt;Resource id="FooQueue" type="javax.jms.Queue"/&gt;
     &lt;Resource id="BarTopic" type="javax.jms.Topic"/&gt;
-&lt;/tomee&gt;</pre>
+&lt;/tomee&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -130,9 +130,9 @@ work, such as 'failover:'.</p>
 <div class="sect1">
 <h2 id="_internal_activemq_broker">Internal ActiveMQ Broker</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;tomee&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;tomee&gt;
     &lt;Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter"&gt;
         BrokerXmlConfig =  broker:(tcp://someHostName:61616)
         ServerUrl       =  tcp://someHostName:61616
@@ -148,7 +148,7 @@ work, such as 'failover:'.</p>
 
     &lt;Resource id="FooQueue" type="javax.jms.Queue"/&gt;
     &lt;Resource id="BarTopic" type="javax.jms.Topic"/&gt;
-&lt;/tomee&gt;</pre>
+&lt;/tomee&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -162,9 +162,9 @@ work, such as 'failover:'.</p>
 config will automatically setup JDBC Persistence using the
 <code>org.apache.activemq.store.jdbc.JDBCPersistenceAdapter</code></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;tomee&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;tomee&gt;
     &lt;Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter"&gt;
         BrokerXmlConfig =  broker:(tcp://someHostName:61616)
         ServerUrl       =  tcp://someHostName:61616
@@ -177,7 +177,7 @@ config will automatically setup JDBC Per
         UserName    = sa
         Password    = foo
     &lt;/Resource&gt;
-&lt;/tomee&gt;</pre>
+&lt;/tomee&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -229,9 +229,9 @@ for a basic example).</p>
 <p>Then use the <code>xbean:file:</code> url prefix in the <code>BrokerXmlConfig</code> as shown
 belog.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;tomee&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;tomee&gt;
     &lt;Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter"&gt;
         BrokerXmlConfig =  xbean:file:conf/activemq.xml
         ServerUrl       =  tcp://someHostName:61616
@@ -247,7 +247,7 @@ belog.</p>
 
     &lt;Resource id="FooQueue" type="javax.jms.Queue"/&gt;
     &lt;Resource id="BarTopic" type="javax.jms.Topic"/&gt;
-&lt;/tomee&gt;</pre>
+&lt;/tomee&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -263,9 +263,9 @@ belog.</p>
 <p>The same can be done via properties in an embedded configuration, via
 the <code>conf/system.properties</code> file or on the command line via <code>-D</code> flags.</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(Context.INITIAL_CONTEXT_FACTORY, LocalInitialContextFactory.class.getName());
 
 p.put("MyJmsResourceAdapter", "new://Resource?type=ActiveMQResourceAdapter");
@@ -281,7 +281,7 @@ p.put("MyJmsMdbContainer.ResourceAdapter
 p.put("FooQueue", "new://Resource?type=javax.jms.Queue");
 p.put("BarTopic", "new://Resource?type=javax.jms.Topic");
 
-InitialContext context = new InitialContext(p);</pre>
+InitialContext context = new InitialContext(p);</code></pre>
 </div>
 </div>
 </div>
@@ -293,13 +293,13 @@ InitialContext context = new InitialCont
 <p>From anywhere in the same VM as the EJB Container you could lookup the
 above resources like so:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>javax.jms.ConnectionFactory cf = (ConnectionFactory)
+<pre class="highlight"><code class="language-properties" data-lang="properties">javax.jms.ConnectionFactory cf = (ConnectionFactory)
         context.lookup("openejb:Resource/MyJmsConnectionFactory");
 
 javax.jms.Queue queue = (Queue) context.lookup("openejb:Resource/FooQueue");
-javax.jms.Topic topic = (Topic) context.lookup("openejb:Resource/BarTopic");</pre>
+javax.jms.Topic topic = (Topic) context.lookup("openejb:Resource/BarTopic");</code></pre>
 </div>
 </div>
 </div>



Mime
View raw message