tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1848496 [12/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/security-annotations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/security-annotations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/security-annotations.html (original)
+++ tomee/site/trunk/content/master/docs/security-annotations.html Sun Dec  9 02:54:59 2018
@@ -155,9 +155,9 @@ methods</p>
 <div class="paragraph">
 <p>These three examples are all equivalent.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 public class OpenSourceProjectBean implements Project {
 
     public String svnCheckout(String s) {
@@ -183,7 +183,7 @@ public class OpenSourceProjectBean imple
     public String svnCheckout(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -202,9 +202,9 @@ public class OpenSourceProjectBean imple
 <p>Restrict the 'svnCommit' method to only individuals logged in and part
 of the "committer" role. Note that more than one role can be listed.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer"})
 public class OpenSourceProjectBean implements Project {
 
@@ -216,7 +216,7 @@ public class OpenSourceProjectBean imple
     public String svnCheckout(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -239,9 +239,9 @@ public class OpenSourceProjectBean imple
 <p>You need to update the @DeclareRoles when referencing roles via
 isCallerInRole(roleName).</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer", "contributor"})
 public class OpenSourceProjectBean implements Project {
 
@@ -257,7 +257,7 @@ public class OpenSourceProjectBean imple
     public String submitPatch(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -269,9 +269,9 @@ public class OpenSourceProjectBean imple
 <p>Placing the annotation at the class level changes the default of
 PermitAll</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer"})
 @RolesAllowed({"committer"})
 public class OpenSourceProjectBean implements Project {
@@ -287,7 +287,7 @@ public class OpenSourceProjectBean imple
     public String submitPatch(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -308,9 +308,9 @@ public class OpenSourceProjectBean imple
 the same time. These rules do not stack, so marking 'submitPatch'
 overrides the default of "committers".</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer", "contributor"})
 @RolesAllowed({"committer"})
 public class OpenSourceProjectBean implements Project {
@@ -327,7 +327,7 @@ public class OpenSourceProjectBean imple
     public String submitPatch(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -352,9 +352,9 @@ public class OpenSourceProjectBean imple
 annotation becomes very useful on individual methods to open them back
 up again.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer", "contributor"})
 @RolesAllowed({"committer"})
 public class OpenSourceProjectBean implements Project {
@@ -372,7 +372,7 @@ public class OpenSourceProjectBean imple
     public String submitPatch(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -400,9 +400,9 @@ public class OpenSourceProjectBean imple
 access from anyone, logged in or not. The method is still invokable from
 within the bean class itself.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer", "contributor"})
 @RolesAllowed({"committer"})
 public class OpenSourceProjectBean implements Project {
@@ -425,7 +425,7 @@ public class OpenSourceProjectBean imple
     public String deleteProject(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -456,9 +456,9 @@ and most callbacks.</p>
 <div class="paragraph">
 <p>The following usages of @RolesAllowed have no effect.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateful
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateful
 @DecalredRoles({"committer"})
 public class MyStatefulBean implements  MyBusinessInterface  {
 
@@ -476,15 +476,15 @@ public class MyStatefulBean implements
 
     @AroundInvoke
     @RolesAllowed({"committer"})
-    public Object invoke(InvocationContext invocationContext) throws</pre>
+    public Object invoke(InvocationContext invocationContext) throws</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Exception \{ return invocationContext.proceed(); }</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    @PostActivate
+<pre class="highlight"><code class="language-java" data-lang="java">    @PostActivate
     @RolesAllowed({"committer"})
     public void activated(){
 
@@ -495,7 +495,7 @@ public class MyStatefulBean implements
     public void passivate(){
 
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/master/docs/security.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/security.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/security.html (original)
+++ tomee/site/trunk/content/master/docs/security.html Sun Dec  9 02:54:59 2018
@@ -108,9 +108,9 @@ through SQL queries)</p>
 your InitialContext with the standard javax.naming.Context properties
 for user/pass info, which is:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Properties props = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties props = new Properties();
 props.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.RemoteInitialContextFactory");
 props.setProperty(Context.PROVIDER_URL, "ejbd://localhost:4201");
 props.setProperty(Context.SECURITY_PRINCIPAL, "someuser");
@@ -118,7 +118,7 @@ props.setProperty(Context.SECURITY_CREDE
 props.setProperty("openejb.authentication.realmName", "PropertiesLogin");
 // optional
 InitialContext ctx = new InitialContext(props);
-ctx.lookup(...);</pre>
+ctx.lookup(...);</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/securityservice-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/securityservice-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/securityservice-config.html (original)
+++ tomee/site/trunk/content/master/docs/securityservice-config.html Sun Dec  9 02:54:59 2018
@@ -101,11 +101,11 @@
 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;SecurityService id="mySecurityService" type="SecurityService"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;SecurityService id="mySecurityService" type="SecurityService"&gt;
     defaultUser = guest
-&lt;/SecurityService&gt;</pre>
+&lt;/SecurityService&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -114,10 +114,10 @@ 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>mySecurityService = new://SecurityService?type=SecurityService
-mySecurityService.defaultUser = guest</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">mySecurityService = new://SecurityService?type=SecurityService
+mySecurityService.defaultUser = guest</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/service-locator.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/service-locator.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/service-locator.html (original)
+++ tomee/site/trunk/content/master/docs/service-locator.html Sun Dec  9 02:54:59 2018
@@ -116,9 +116,9 @@ examples start with this basic class tha
 for a common prefix to be optionally applied to the beginning of all
 lookup strings.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class MyLocator {
+<pre class="highlight"><code class="language-java" data-lang="java">public class MyLocator {
     private final Context context;
 
     public MyLocator() throws NamingException {
@@ -140,7 +140,7 @@ lookup strings.</p>
             throw new IllegalArgumentException(e);
         }
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="sect1">
@@ -149,16 +149,16 @@ lookup strings.</p>
 <div class="paragraph">
 <p>class name of the interface such as: - {interfaceClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public &lt;T&gt; T lookup(Class&lt;T&gt; type) {
+<pre class="highlight"><code class="language-java" data-lang="java">public &lt;T&gt; T lookup(Class&lt;T&gt; type) {
     return (T) lookup(type.getName());
 }
 
 
 
 MyLocator locator = new MyLocator();
-Widget widget = locator.lookup(Widget.class);</pre>
+Widget widget = locator.lookup(Widget.class);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -166,11 +166,11 @@ Widget widget = locator.lookup(Widget.cl
 such as: - {moduleId}/{interfaceClass} -
 ejb/{moduleId}/{interfaceClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator("ejb/superbiz");
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator("ejb/superbiz");
 Widget widget = locator.lookup(Widget.class);
-Store store = locator.lookup(Store.class);</pre>
+Store store = locator.lookup(Store.class);</code></pre>
 </div>
 </div>
 </div>
@@ -206,11 +206,11 @@ Widget blueWidget = locator.lookup("Blue
 such as: - {moduleId}/{ejbName}/{interfaceClass} -
 ejb/{moduleId}/{deploymentId}/{interfaceClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator("accountingApp");
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator("accountingApp");
 Widget widget = locator.lookup("RedWidgetBean", Widget.class);
-Store store = locator.lookup("StoreBean", Store.class);</pre>
+Store store = locator.lookup("StoreBean", Store.class);</code></pre>
 </div>
 </div>
 </div>
@@ -231,16 +231,16 @@ class.</p>
 <div class="paragraph">
 <p>Works with: - {interfaceClass}/{ejbClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public &lt;T&gt; T lookup(Class&lt;T&gt; type, Class ejbClass) {
+<pre class="highlight"><code class="language-java" data-lang="java">public &lt;T&gt; T lookup(Class&lt;T&gt; type, Class ejbClass) {
     return (T) lookup(type.getName() + "/" + ejbClass.getName());
 }
 
 
 
 MyLocator locator = new MyLocator();
-Widget widget = locator.lookup(Widget.class, BlueWidgetBean.class);</pre>
+Widget widget = locator.lookup(Widget.class, BlueWidgetBean.class);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -248,11 +248,11 @@ Widget widget = locator.lookup(Widget.cl
 such as: - {moduleId}/{interfaceClass}/{ejbClass} -
 ejb/{moduleId}/{interfaceClass}/{ejbClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator("ejb/purchasingApp");
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator("ejb/purchasingApp");
 Widget widget = locator.lookup(Widget.class, RedWidgetBean.class);
-Store store = locator.lookup(Store.class, StoreBean.class);</pre>
+Store store = locator.lookup(Store.class, StoreBean.class);</code></pre>
 </div>
 </div>
 </div>
@@ -265,20 +265,20 @@ Store store = locator.lookup(Store.class
 resulting in a JNDI tree that&#8217;s a bit more human readable. -
 \{ejbClass.simpleName}/\{interfaceClass.simpleName}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public &lt;T&gt; T lookup(Class ejbClass, Class&lt;T&gt; type) {
+<pre class="highlight"><code class="language-java" data-lang="java">public &lt;T&gt; T lookup(Class ejbClass, Class&lt;T&gt; type) {
     return (T) lookup(ejbClass.getSimpleName() + "" + type.getSimpleName());
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>and</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator();
-Widget widget = locator.lookup(RedWidgetBean.class, Widget.class);</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator();
+Widget widget = locator.lookup(RedWidgetBean.class, Widget.class);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -287,11 +287,11 @@ such as: -
 {moduleId}/\{ejbClass.simpleName}/\{interfaceClass.simpleName} -
 ejb/{moduleId}/\{ejbClass.simpleName}/\{interfaceClass.simpleName}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator("shippingApp");
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator("shippingApp");
 Widget widget = locator.lookup(GreenWidgetBean.class, Widget.class);
-Store store = locator.lookup(SuperStoreBean.class, Store.class);</pre>
+Store store = locator.lookup(SuperStoreBean.class, Store.class);</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/master/docs/singleton-beans.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/singleton-beans.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/singleton-beans.html (original)
+++ tomee/site/trunk/content/master/docs/singleton-beans.html Sun Dec  9 02:54:59 2018
@@ -170,9 +170,9 @@ and then @Lock(WRITE) on specific method
 _http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/ReadWriteLock.html[java.util.concurrent.ReadWriteLock]
 _ API which looks like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public interface ReadWriteLock {
+<pre class="highlight"><code class="language-java" data-lang="java">public interface ReadWriteLock {
    /**
     * Returns the lock used for reading.
     *
@@ -186,7 +186,7 @@ _ API which looks like this:</p>
     * @return the lock used for writing.
     */
    Lock writeLock();
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -228,9 +228,9 @@ the
 <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/Lock.html">java.util.concurrent.locks.Lock</a>
 interface.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public interface Lock {
+<pre class="highlight"><code class="language-java" data-lang="java">public interface Lock {
 
     /**
      * Blocks (potentially) forever
@@ -253,7 +253,7 @@ interface.</p>
      */
     boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
 
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -317,13 +317,13 @@ the <em>@DependsOn</em> annotation which
 Singleton beans that must be started before the Singleton bean using the
 annotation.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@DependsOn({"SingletonB", "SingletonC"})
+<pre class="highlight"><code class="language-java" data-lang="java">@DependsOn({"SingletonB", "SingletonC"})
 @Singleton
 public class SingletonA {
 
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -354,9 +354,9 @@ needed.</p>
 <div class="paragraph">
 <p>Singletons can be declared in the ejb-jar.xml 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;
       &lt;ejb-name&gt;MySingletonBean&lt;/ejb-name&gt;
@@ -369,7 +369,7 @@ needed.</p>
       &lt;/depends-on&gt;
     &lt;/session&gt;
   &lt;/enterprise-beans&gt;
-&lt;/ejb-jar&gt;</pre>
+&lt;/ejb-jar&gt;</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/master/docs/singletoncontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/singletoncontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/singletoncontainer-config.html (original)
+++ tomee/site/trunk/content/master/docs/singletoncontainer-config.html Sun Dec  9 02:54:59 2018
@@ -103,11 +103,11 @@
 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;Container id="mySingletonContainer" type="SINGLETON"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Container id="mySingletonContainer" type="SINGLETON"&gt;
     accessTimeout = 30 seconds
-&lt;/Container&gt;</pre>
+&lt;/Container&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -117,10 +117,10 @@ VirtualMachine <code>-D</code> propertie
 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>mySingletonContainer = new://Container?type=SINGLETON
-mySingletonContainer.accessTimeout = 30 seconds</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">mySingletonContainer = new://Container?type=SINGLETON
+mySingletonContainer.accessTimeout = 30 seconds</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/spring-and-openejb-3.0.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/spring-and-openejb-3.0.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/spring-and-openejb-3.0.html (original)
+++ tomee/site/trunk/content/master/docs/spring-and-openejb-3.0.html Sun Dec  9 02:54:59 2018
@@ -106,9 +106,9 @@ page.{note} # Bootstrapping OpenEJB in S
 Include OpenEJB and its dependencies in your classpath as you would in a
 plain embedded scenario then add a custom factory like the following:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class OpenEjbFactoryBean implements org.springframework.beans.factory.FactoryBean {
+<pre class="highlight"><code class="language-java" data-lang="java">public class OpenEjbFactoryBean implements org.springframework.beans.factory.FactoryBean {
 
     private Properties properties = new Properties();
 
@@ -139,15 +139,15 @@ plain embedded scenario then add a custo
     boolean isSingleton() {
         return true;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>And include that at the top of your spring xml file as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;bean id="OpenEjbContext" class="org.acme.OpenEjbFactoryBean"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;bean id="OpenEjbContext" class="org.acme.OpenEjbFactoryBean"&gt;
   &lt;property name="jndiEnvironment"&gt;
     &lt;props&gt;
       &lt;prop key="myDs"&gt;new://Resource?type=DataSource&lt;/prop&gt;
@@ -157,7 +157,7 @@ plain embedded scenario then add a custo
       &lt;prop key="myDs.Password"&gt;&lt;/prop&gt;
     &lt;/props&gt;
   &lt;/property&gt;
-&lt;/bean&gt;</pre>
+&lt;/bean&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -191,9 +191,9 @@ pull the EntityManager out and return it
 <div class="paragraph">
 <p>OrangeUnitBean.java</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/*
+<pre class="highlight"><code class="language-java" data-lang="java">/*
  * OpenEJB will automatically find this bean.  Just put it in the same jar
  * that your META-INF/persistence.xml file is located in and make sure that
  * that same jar file also has a META-INF/ejb-jar.xml file.  The ejb-jar.xml
@@ -208,28 +208,28 @@ public class OrangeUnitBean implements O
     public EntityManager getEntityManager() {
         return entityManager;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>OrangeUnitLocal.java</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/**
+<pre class="highlight"><code class="language-java" data-lang="java">/**
  * The local interface for the OrangeUnitBean
  */
 public interface OrangeUnitLocal {
    public EntityManager getEntityManager();
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>OrangeUnitFactoryBean.java</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/**
+<pre class="highlight"><code class="language-java" data-lang="java">/**
  * This factory bean will lookup the OrangeUnitBean using the javax.naming.Context
  * that is created via the OpenEjbFactoryBean above.  It will simply grab the EntityManager
  * from that bean and hand it over to Spring.  Anyone in Spring-land can then easily get
@@ -262,26 +262,26 @@ public class OrangeUnitFactoryBean imple
     boolean isSingleton() {
         return true;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>The factory bean would then be declared in your spring xml file as
 follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;bean id="OrangeUnit" class="org.acme.OrangeUnitFactoryBean"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;bean id="OrangeUnit" class="org.acme.OrangeUnitFactoryBean"&gt;
   &lt;property name="context" ref="OpenEjbContext"&gt;
-&lt;/bean&gt;</pre>
+&lt;/bean&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>The EntityManager can then easily be consumed by a spring bean.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class SomePojo {
+<pre class="highlight"><code class="language-java" data-lang="java">public class SomePojo {
 
     private EntityManager entityManager;
 
@@ -290,17 +290,17 @@ follows:</p>
     }
 
     ...
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>In the spring xml</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;bean id="SomePojo" class="org.acme.SomePojo"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;bean id="SomePojo" class="org.acme.SomePojo"&gt;
   &lt;property name="entityManager" ref="OrangeUnit"&gt;
-&lt;/bean&gt;</pre>
+&lt;/bean&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -310,9 +310,9 @@ spring xml:</p>
 <div class="paragraph">
 <p>Spring bean definitions combined</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;bean id="OpenEjbContext" class="org.acme.OpenEjbFactoryBean"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;bean id="OpenEjbContext" class="org.acme.OpenEjbFactoryBean"&gt;
   &lt;property name="jndiEnvironment"&gt;
     &lt;props&gt;
       &lt;prop key="myDs"&gt;new://Resource?type=DataSource&lt;/prop&gt;
@@ -330,7 +330,7 @@ spring xml:</p>
 
 &lt;bean id="SomePojo" class="org.acme.SomePojo"&gt;
   &lt;property name="entityManager" ref="OrangeUnit"&gt;
-&lt;/bean&gt;</pre>
+&lt;/bean&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/spring-ejb-and-jpa.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/spring-ejb-and-jpa.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/spring-ejb-and-jpa.html (original)
+++ tomee/site/trunk/content/master/docs/spring-ejb-and-jpa.html Sun Dec  9 02:54:59 2018
@@ -276,13 +276,13 @@ well.</p>
 <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.spring.MoviesTest
-log4j:WARN No appenders could be found for logger</pre>
+log4j:WARN No appenders could be found for logger</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -326,11 +326,11 @@ Exported EJB CineplexImpl with interface
 Spring bean CineplexImplLocal Tests run: 1, Failures: 0, Errors: 0,
 Skipped: 0, Time elapsed: 3.141 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: 1, Failures: 0, Errors: 0, Skipped: 0</pre>
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/master/docs/standalone-server.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/standalone-server.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/standalone-server.html (original)
+++ tomee/site/trunk/content/master/docs/standalone-server.html Sun Dec  9 02:54:59 2018
@@ -118,9 +118,7 @@ License.
 </tr>
 </table>
 </div>
-<div class="paragraph">
-<p>#Links to guide you through OpenEJB-Standalone-Server</p>
-</div>
+<h1 id="_links_to_guide_you_through_openejb_standalone_server" class="sect0">Links to guide you through OpenEJB-Standalone-Server</h1>
 <div class="ulist">
 <ul>
 <li>

Modified: tomee/site/trunk/content/master/docs/startup.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/startup.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/startup.html (original)
+++ tomee/site/trunk/content/master/docs/startup.html Sun Dec  9 02:54:59 2018
@@ -200,9 +200,9 @@ the port to which the telnet service sho
 <p>The following properties would then be used to get an InitialContext
 from the Remote Server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>java.naming.factory.initial  =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">java.naming.factory.initial  =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -273,9 +273,9 @@ will start up and bind to IP 10.45.67.8
 properties would then be used to get an InitialContext from the EJBd
 Server Service.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   java.naming.factory.initial      =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">   java.naming.factory.initial      =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -294,9 +294,9 @@ java.naming.security.principal = myuser
 <p>The following properties would then be used to get an InitialContext
 from the Remote Server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   java.naming.factory.initial      =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">   java.naming.factory.initial      =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -330,9 +330,9 @@ telnet client as such:</p>
 <p>The following properties would then be used to get an InitialContext
 from the Remote Server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   java.naming.factory.initial      =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">   java.naming.factory.initial      =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -352,9 +352,9 @@ java.naming.security.principal = myuser
 <p>The following properties would then be used to get an InitialContext
 from the HTTP/Remote Server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   java.naming.factory.initial      =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">   java.naming.factory.initial      =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -430,12 +430,12 @@ starts.</p>
 <p>Once you start OpenEJB using the <em>openejb start</em> command the following
 output will be seen on the console</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Apache OpenEJB 3.0    build: 20070825-01:10
+<pre class="highlight"><code class="language-properties" data-lang="properties">Apache OpenEJB 3.0    build: 20070825-01:10
 http://tomee.apache.org/
 OpenEJB ready.
-[OPENEJB:init]</pre>
+[OPENEJB:init]</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/statefulcontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/statefulcontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/statefulcontainer-config.html (original)
+++ tomee/site/trunk/content/master/docs/statefulcontainer-config.html Sun Dec  9 02:54:59 2018
@@ -103,9 +103,9 @@
 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;Container id="myStatefulContainer" type="STATEFUL"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Container id="myStatefulContainer" type="STATEFUL"&gt;
     accessTimeout = 30 seconds
     bulkPassivate = 100
     cache = org.apache.openejb.core.stateful.SimpleCache
@@ -113,7 +113,7 @@ body are optional.</p>
     frequency = 60
     passivator = org.apache.openejb.core.stateful.SimplePassivater
     timeOut = 20
-&lt;/Container&gt;</pre>
+&lt;/Container&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -122,16 +122,16 @@ 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>myStatefulContainer = new://Container?type=STATEFUL
+<pre class="highlight"><code class="language-properties" data-lang="properties">myStatefulContainer = new://Container?type=STATEFUL
 myStatefulContainer.accessTimeout = 30 seconds
 myStatefulContainer.bulkPassivate = 100
 myStatefulContainer.cache = org.apache.openejb.core.stateful.SimpleCache
 myStatefulContainer.capacity = 1000
 myStatefulContainer.frequency = 60
 myStatefulContainer.passivator = org.apache.openejb.core.stateful.SimplePassivater
-myStatefulContainer.timeOut = 20</pre>
+myStatefulContainer.timeOut = 20</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/statelesscontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/statelesscontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/statelesscontainer-config.html (original)
+++ tomee/site/trunk/content/master/docs/statelesscontainer-config.html Sun Dec  9 02:54:59 2018
@@ -103,9 +103,9 @@
 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;Container id="myStatelessContainer" type="STATELESS"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Container id="myStatelessContainer" type="STATELESS"&gt;
     accessTimeout = 30 seconds
     callbackThreads = 5
     closeTimeout = 5 minutes
@@ -119,7 +119,7 @@ body are optional.</p>
     replaceFlushed = false
     strictPooling = true
     sweepInterval = 5 minutes
-&lt;/Container&gt;</pre>
+&lt;/Container&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -129,9 +129,9 @@ VirtualMachine <code>-D</code> propertie
 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>myStatelessContainer = new://Container?type=STATELESS
+<pre class="highlight"><code class="language-properties" data-lang="properties">myStatelessContainer = new://Container?type=STATELESS
 myStatelessContainer.accessTimeout = 30 seconds
 myStatelessContainer.callbackThreads = 5
 myStatelessContainer.closeTimeout = 5 minutes
@@ -144,7 +144,7 @@ myStatelessContainer.minSize = 0
 myStatelessContainer.replaceAged = true
 myStatelessContainer.replaceFlushed = false
 myStatelessContainer.strictPooling = true
-myStatelessContainer.sweepInterval = 5 minutes</pre>
+myStatelessContainer.sweepInterval = 5 minutes</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -485,12 +485,12 @@ is used in creating the offset and allow
 initial ages into the future or into the past. The pool is filled at
 startup as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>for (int i = 0; i &lt; poolMin; i++) {
+<pre class="highlight"><code class="language-java" data-lang="java">for (int i = 0; i &lt; poolMin; i++) {
     long ageOffset = (maxAge / poolMin * i * maxAgeOffset) % maxAge;
     pool.add(new Bean(), ageOffset));
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -611,9 +611,9 @@ instances.</p>
 and calling <code>flush()</code>. See <code>SweepInterval</code> for details on how flush is
 performed.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>import javax.annotation.Resource;
+<pre class="highlight"><code class="language-java" data-lang="java">import javax.annotation.Resource;
 import javax.ejb.SessionContext;
 import javax.ejb.Stateless;
 import java.io.Flushable;
@@ -627,7 +627,7 @@ public class MyBean {
 
         ((Flushable) sessionContext).flush();
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/master/docs/system-properties.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/system-properties.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/system-properties.html (original)
+++ tomee/site/trunk/content/master/docs/system-properties.html Sun Dec  9 02:54:59 2018
@@ -116,13 +116,13 @@ of the format:</p>
 <div class="paragraph">
 <p>..where id is the value in the config file for example:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Connector id="mysql"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Connector id="mysql"&gt;
     JdbcDriver com.mysql.jdbc.Driver
     JdbcUrl jdbc:mysql://localhost/test
     UserName test
-&lt;/Connector&gt;</pre>
+&lt;/Connector&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -149,9 +149,9 @@ fashion as things in the openejb.xml fil
 <div class="paragraph">
 <p>For example, when OpenEJB starts it prints out the following:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>  ** Starting Services **
+<pre class="highlight"><code class="language-java" data-lang="java">  ** Starting Services **
   NAME             IP          PORT
   httpejbd         0.0.0.0         4204
   telnet           0.0.0.0         4202
@@ -159,7 +159,7 @@ fashion as things in the openejb.xml fil
   hsql             0.0.0.0         9001
   activemq         127.0.0.1       4206
   derbynet         0.0.0.0         4205
-  admin thread         0.0.0.0         4200</pre>
+  admin thread         0.0.0.0         4200</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -181,9 +181,9 @@ one of the following: bind, port, thread
 <p>So to set the address and port the ejbd service will bind to, simply
 specify this on the command line:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>./bin/openejb start -Dejbd.bind=192.168.1.12 -Dejbd.port=9988</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">./bin/openejb start -Dejbd.bind=192.168.1.12 -Dejbd.port=9988</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/master/docs/telnet-console.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/telnet-console.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/telnet-console.html (original)
+++ tomee/site/trunk/content/master/docs/telnet-console.html Sun Dec  9 02:54:59 2018
@@ -113,14 +113,14 @@
 </div>
 </blockquote>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>OPENEJB_HOME=/Users/dblevins/Desktop/openejb-1.0
+<pre class="highlight"><code class="language-properties" data-lang="properties">OPENEJB_HOME=/Users/dblevins/Desktop/openejb-1.0
 OpenEJB 1.0    build: 20060226-1701
 http://www.openejb.org
 resources 1
 OpenEJB ready.
-[init]</pre>
+[init]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -142,11 +142,11 @@ admin 0.0.0.0 4200<br>
 </div>
 </blockquote>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Trying ::1...
+<pre class="highlight"><code class="language-properties" data-lang="properties">Trying ::1...
 Connected to localhost.
-Escape character is '^]</pre>
+Escape character is '^]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -155,9 +155,9 @@ Escape character is '^]</pre>
 Containers: Default BMP Container Default CMP Container Default Stateful
 Container Default Stateless Container</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Deployments:
+<pre class="highlight"><code class="language-java" data-lang="java">Deployments:
  client/tests/stateful/EncBean
  client/tests/entity/cmp/RMI-over-IIOP/EJBHome
  client/tests/stateful/BasicStatefulHome
@@ -194,7 +194,7 @@ Container Default Stateless Container</p
  httpd/session
  client/tests/entity/cmp/allowed_operations/EntityHome
  client/tests/stateless/RMI-over-IIOP/EJBHome
-[openejb]</pre>
+[openejb]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -214,14 +214,14 @@ you automatically after the first time O
 </div>
 </blockquote>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    server  = org.openejb.server.telnet.TelnetServer
+<pre class="highlight"><code class="language-properties" data-lang="properties">    server  = org.openejb.server.telnet.TelnetServer
     bind    = 127.0.0.1
     port    = 4202
     disabled    = false
     threads = 5
-#   only_from   = 192.168.1.123</pre>
+#   only_from   = 192.168.1.123</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -232,9 +232,9 @@ concurrently access the Telnet service v
 <div class="paragraph">
 <p>Simply edit the config file and set 'disabled' to true</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    disabled    = true</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">    disabled    = true</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -253,28 +253,28 @@ rest of the file is a direct copy of the
 <p>For an example to restrict access to the localhost, you could configure
 the Telnet Service like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    server  = org.openejb.server.telnet.TelnetServer
+<pre class="highlight"><code class="language-properties" data-lang="properties">    server  = org.openejb.server.telnet.TelnetServer
     bind    = 127.0.0.1
     port    = 4202
     disabled    = false
     threads = 5
-    only_from   = localhost</pre>
+    only_from   = localhost</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>If you wanted to restrict access to localhost <em>and</em> say the hosts
 192.168.1.207 and 192.168.1.16, you can simply add them to the list.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    server  = org.openejb.server.telnet.TelnetServer
+<pre class="highlight"><code class="language-properties" data-lang="properties">    server  = org.openejb.server.telnet.TelnetServer
     bind    = 127.0.0.1
     port    = 4202
     disabled    = false
     threads = 5
-    only_from   = localhost, 192.168.1.207, 192.168.1.16</pre>
+    only_from   = localhost, 192.168.1.207, 192.168.1.16</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/master/docs/tip-concurrency.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tip-concurrency.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tip-concurrency.html (original)
+++ tomee/site/trunk/content/master/docs/tip-concurrency.html Sun Dec  9 02:54:59 2018
@@ -99,9 +99,9 @@
 <p>If for whatever reason you want to define the global default concurrency
 add this to your META-INF/ejb-jar.xml:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version="1.0"?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version="1.0"?&gt;
 &lt;ejb-jar
     xmlns="http://java.sun.com/xml/ns/javaee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -114,15 +114,15 @@ add this to your META-INF/ejb-jar.xml:</
             &lt;concurrency-management-type&gt;Bean&lt;/concurrency-management-type&gt;
         &lt;/session&gt;
     &lt;enterprise-beans&gt;
-&lt;/ejb-jar&gt;</pre>
+&lt;/ejb-jar&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>You may need to create the file if it does not exist.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>src/main/resources/META-INF/ejb-jar.xml</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">src/main/resources/META-INF/ejb-jar.xml</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/master/docs/tip-jersey-client.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tip-jersey-client.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tip-jersey-client.html (original)
+++ tomee/site/trunk/content/master/docs/tip-jersey-client.html Sun Dec  9 02:54:59 2018
@@ -99,13 +99,13 @@
 <p>If you have an application that uses jersey-client in any way then it
 may fail with an error along the lines of:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Caused by: java.lang.ClassNotFoundException: com.sun.jersey.core.util.FeaturesAndProperties
+<pre class="highlight"><code class="language-properties" data-lang="properties">Caused by: java.lang.ClassNotFoundException: com.sun.jersey.core.util.FeaturesAndProperties
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java)
 at org.apache.tomee.catalina.LazyStopWebappClassLoader.loadClass(LazyStopWebappClassLoader.java)
-... 34 more</pre>
+... 34 more</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -119,9 +119,9 @@ javax.ws.rs.core.Configurable, so the ja
 which is what we would recommend. If you really want to keep Jersey then
 you can use set the following property in your <em>[TomEE].properties</em></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>openejb.api.javax.ws.rs.Path.validation=false</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">openejb.api.javax.ws.rs.Path.validation=false</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/tip-weblogic.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tip-weblogic.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tip-weblogic.html (original)
+++ tomee/site/trunk/content/master/docs/tip-weblogic.html Sun Dec  9 02:54:59 2018
@@ -98,15 +98,15 @@
                 <div class="paragraph">
 <p>How to lookup WebLogic Objects from within a TomEE context:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Hashtable&lt;String, String&gt; props = new Hashtable&lt;String, String&gt;();
+<pre class="highlight"><code class="language-java" data-lang="java">Hashtable&lt;String, String&gt; props = new Hashtable&lt;String, String&gt;();
 props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
 props.put(javax.naming.Context.URL_PKG_PREFIXES, "weblogic.jndi.factories");
 props.put("java.naming.provider.url", "t3://your.host.name:7023");
 Context ctx = new InitialContext(props);
 
-IService s = (IService) ctx.lookup("java:global.com.test.ServiceImpl!com.test.IService");</pre>
+IService s = (IService) ctx.lookup("java:global.com.test.ServiceImpl!com.test.IService");</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/tomee-and-eclipse.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-and-eclipse.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-and-eclipse.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-and-eclipse.html Sun Dec  9 02:54:59 2018
@@ -298,9 +298,9 @@ hot deployment alter this value to true
 <div class="paragraph">
 <p>This is the relevant snippet of the web.xml file.</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;jsp&lt;/servlet-name&gt;
     &lt;servlet-class&gt;org.apache.jasper.servlet.JspServlet&lt;/servlet-class&gt;
     ....
@@ -309,7 +309,7 @@ hot deployment alter this value to true
         &lt;param-value&gt;true&lt;/param-value&gt;
     &lt;/init-param&gt;
     ....
-&lt;/servlet&gt;</pre>
+&lt;/servlet&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -323,10 +323,10 @@ hot deployment alter this value to true
 (which needs to be done through system properties). A quick workaround
 is to add these properties manually:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-Djava.util.logging.config.file="&lt;tomee&gt;/conf/logging.properties"
--Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">-Djava.util.logging.config.file="&lt;tomee&gt;/conf/logging.properties"
+-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/tomee-and-hibernate.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-and-hibernate.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-and-hibernate.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-and-hibernate.html Sun Dec  9 02:54:59 2018
@@ -146,9 +146,9 @@ whichever JPA provider it needs.</p>
 <p>The following is an example of a fairly common <code>persistence.xml</code> for
 Hibernate</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
@@ -163,17 +163,17 @@ Hibernate</p>
       &lt;property name="hibernate.hbm2ddl.auto" value="create-drop"/&gt;
     &lt;/properties&gt;
   &lt;/persistence-unit&gt;
-&lt;/persistence&gt;</pre>
+&lt;/persistence&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Note, TomEE will automatically add the following property unless it is
 explicitly configured:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>      &lt;property name="hibernate.transaction.manager_lookup_class"
-                value="org.apache.openejb.hibernate.TransactionManagerLookup"/&gt;</pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml">      &lt;property name="hibernate.transaction.manager_lookup_class"
+                value="org.apache.openejb.hibernate.TransactionManagerLookup"/&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -307,9 +307,9 @@ be sure to put your Database JDBC driver
 <p>The actual Maven dependencies for your project can be added in the usual
 way:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    &lt;!-- Hibernate --&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">    &lt;!-- Hibernate --&gt;
     &lt;dependency&gt;
         &lt;groupId&gt;antlr&lt;/groupId&gt;
         &lt;artifactId&gt;antlr&lt;/artifactId&gt;
@@ -354,7 +354,7 @@ way:</p>
         &lt;groupId&gt;org.javassist&lt;/groupId&gt;
         &lt;artifactId&gt;javassist&lt;/artifactId&gt;
         &lt;version&gt;3.15.0-GA&lt;/version&gt;
-    &lt;/dependency&gt;</pre>
+    &lt;/dependency&gt;</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/master/docs/tomee-and-netbeans.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-and-netbeans.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-and-netbeans.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-and-netbeans.html Sun Dec  9 02:54:59 2018
@@ -95,7 +95,9 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div class="admonitionblock note">
+                <div id="preamble">
+<div class="sectionbody">
+<div class="admonitionblock note">
 <table>
 <tr>
 <td class="icon">
@@ -144,9 +146,13 @@ solution is to simply rename the jar fil
 installation - Be sure to document the change for yourself as a
 reminder.</p>
 </div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_quickstart_check_out_this_video_on">Quickstart Check out this video on</h2>
+<div class="sectionbody">
 <div class="paragraph">
-<p>###Quickstart Check out this video on
-<a href="https://www.youtube.com/watch?v=HISV7eagogI">How to Consume REST in a
+<p><a href="https://www.youtube.com/watch?v=HISV7eagogI">How to Consume REST in a
 Java Client</a></p>
 </div>
 <div class="paragraph">
@@ -216,6 +222,8 @@ the existing examples for this demo. Let
 <p><span class="image"><img src="http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_15.png" alt="alt text"></span>
 <span class="image"><img src="http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_16.png" alt="alt text"></span></p>
 </div>
+</div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/master/docs/tomee-and-security.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-and-security.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-and-security.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-and-security.html Sun Dec  9 02:54:59 2018
@@ -95,7 +95,9 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div class="admonitionblock note">
+                <div id="preamble">
+<div class="sectionbody">
+<div class="admonitionblock note">
 <table>
 <tr>
 <td class="icon">
@@ -160,7 +162,7 @@ Extra TomEE layer adds support for JAAS
 </li>
 </ul>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
 <pre>* ....
 Supports any org.apache.catalina.Realm implementation</pre>
@@ -174,14 +176,19 @@ E.g. add users to $CATALINA_BASE/conf/to
 </li>
 </ul>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
 <pre>* ....
 Alternatively use login.config to provide your own security module</pre>
 </div>
 </div>
-<div class="paragraph">
-<p><mark>#</mark>#See Also: <a href="tomee-jaas.html">TomEE-and-JAAS</a></p>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_see_also_a_href_tomee_jaas_html_tomee_and_jaas_a">See Also: <a href="tomee-jaas.html">TomEE-and-JAAS</a></h2>
+<div class="sectionbody">
+
+</div>
 </div>
             </div>
             

Modified: tomee/site/trunk/content/master/docs/tomee-directory-structure.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-directory-structure.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-directory-structure.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-directory-structure.html Sun Dec  9 02:54:59 2018
@@ -118,9 +118,7 @@ License.
 </tr>
 </table>
 </div>
-<div class="paragraph">
-<p>#TomEE Directory Layout:</p>
-</div>
+<h1 id="_tomee_directory_layout" class="sect0">TomEE Directory Layout:</h1>
 <div class="paragraph">
 <p>TomEE directory layout is the same as that of Tomcat, with a few changes
 as described below.</p>

Modified: tomee/site/trunk/content/master/docs/tomee-jaas.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-jaas.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-jaas.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-jaas.html Sun Dec  9 02:54:59 2018
@@ -122,17 +122,17 @@ JAAS LoginModule as in Tomcat.</p>
 <p>Add to your <code>CATALINA_OPTS</code> the <code>java.security.auth.login.config</code> system
 property:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">-Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Configure your realm in server.xml file</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version='1.0' encoding='utf-8'?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version='1.0' encoding='utf-8'?&gt;
 &lt;Server port="8005" shutdown="SHUTDOWN"&gt;
   &lt;Listener className="org.apache.tomee.loader.OpenEJBListener" /&gt;
   &lt;Listener className="org.apache.catalina.security.SecurityListener" /&gt;
@@ -153,20 +153,20 @@ property:</p>
             unpackWARs="true" autoDeploy="true" /&gt;
     &lt;/Engine&gt;
   &lt;/Service&gt;
-&lt;/Server&gt;</pre>
+&lt;/Server&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Configure your <code>login.config</code> file</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>PropertiesLogin {
+<pre class="highlight"><code class="language-java" data-lang="java">PropertiesLogin {
     org.apache.openejb.core.security.jaas.PropertiesLoginModule required
     Debug=false
     UsersFile="users.properties"
     GroupsFile="groups.properties";
-};</pre>
+};</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -178,20 +178,20 @@ snippets of this page for instance).</p>
 <code>$CATALINA_BASE/conf/</code> folder. <code>users.properties</code> file contains user
 name and associated password entries, ex.:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>me=password
-tomee=tomee</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">me=password
+tomee=tomee</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p><code>groups.properties</code> file specifies groups and their users, ex.:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>my-role=me
+<pre class="highlight"><code class="language-properties" data-lang="properties">my-role=me
 manager-gui=tomee,me
-tomee-admin=tomee</pre>
+tomee-admin=tomee</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/tomee-logging-in-eclipse.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-logging-in-eclipse.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-logging-in-eclipse.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-logging-in-eclipse.html Sun Dec  9 02:54:59 2018
@@ -100,10 +100,10 @@
 (which needs to be done through system properties). A quick workaround
 is to add these properties manually:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-Djava.util.logging.config.file="&lt;tomee&gt;/conf/logging.properties"
--Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">-Djava.util.logging.config.file="&lt;tomee&gt;/conf/logging.properties"
+-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/tomee-maven-plugin.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-maven-plugin.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-maven-plugin.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-maven-plugin.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>Inspired by the Jetty Maven Plugin, the TomEE Maven Plugin is a
 feature-rich plugin that allows for:</p>
 </div>
@@ -116,9 +118,9 @@ feature-rich plugin that allows for:</p>
 <p>Simply add the following to the , and optionally the ), section of your
 <code>pom.xml</code></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;plugins&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;plugins&gt;
     &lt;plugin&gt;
       &lt;groupId&gt;org.apache.openejb.maven&lt;/groupId&gt;
       &lt;artifactId&gt;tomee-maven-plugin&lt;/artifactId&gt;
@@ -128,12 +130,14 @@ feature-rich plugin that allows for:</p>
         &lt;tomeeClassifier&gt;plus&lt;/tomeeClassifier&gt;
       &lt;/configuration&gt;
     &lt;/plugin&gt;
-&lt;/plugins&gt;</pre>
+&lt;/plugins&gt;</code></pre>
+</div>
 </div>
 </div>
-<div class="paragraph">
-<p>###Plugin Goals</p>
 </div>
+<div class="sect1">
+<h2 id="_plugin_goals">Plugin Goals</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Goal</p>
 </div>
@@ -256,9 +260,9 @@ with the specified prefix</p>
 you can use it in a pom project to setup a TomEE install, add libraries,
 deploy apps then run the server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>  &lt;plugin&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">  &lt;plugin&gt;
     &lt;groupId&gt;org.apache.openejb.maven&lt;/groupId&gt;
     &lt;artifactId&gt;tomee-maven-plugin&lt;/artifactId&gt;
     &lt;version&gt;1.7.1&lt;/version&gt;
@@ -285,15 +289,15 @@ deploy apps then run the server.</p>
           &lt;lib&gt;remove:openjpa-&lt;/lib&gt;
       &lt;/libs&gt;
     &lt;/configuration&gt;
-  &lt;/plugin&gt;</pre>
+  &lt;/plugin&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>###Auto Reloading Example</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;plugin&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;plugin&gt;
   &lt;groupId&gt;org.apache.openejb.maven&lt;/groupId&gt;
   &lt;artifactId&gt;tomee-maven-plugin&lt;/artifactId&gt;
   &lt;version&gt;1.7.1&lt;/version&gt;
@@ -305,7 +309,7 @@ deploy apps then run the server.</p>
     &lt;/synchronization&gt;
     &lt;reloadOnUpdate&gt;true&lt;/reloadOnUpdate&gt;
   &lt;/configuration&gt;
-&lt;/plugin&gt;</pre>
+&lt;/plugin&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -340,6 +344,8 @@ deploy apps then run the server.</p>
 <p>reloadOnUpdate means to reload the entire context (webapp). This means
 undeploying/redeploying the application.</p>
 </div>
+</div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/master/docs/tomee-mp-getting-started.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-mp-getting-started.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-mp-getting-started.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-mp-getting-started.html Sun Dec  9 02:54:59 2018
@@ -95,9 +95,9 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div class="paragraph">
-<p>###Add The TomEE Maven Plugin To An Existing Project</p>
-</div>
+                <div class="sect1">
+<h2 id="_add_the_tomee_maven_plugin_to_an_existing_project">Add The TomEE Maven Plugin To An Existing Project</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>If you already have a maven project set up then just add the plugin as
 described <a href="maven/index.html">here</a></p>
@@ -105,14 +105,14 @@ described <a href="maven/index.html">her
 <div class="paragraph">
 <p>You will likely need the full Java EE API added to your pom file:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;dependency&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;dependency&gt;
   &lt;groupId&gt;org.apache.openejb&lt;/groupId&gt;
   &lt;artifactId&gt;javaee-api&lt;/artifactId&gt;
   &lt;version&gt;6.0-6&lt;/version&gt;
   &lt;scope&gt;provided&lt;/scope&gt;
-&lt;/dependency&gt;</pre>
+&lt;/dependency&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -120,9 +120,11 @@ described <a href="maven/index.html">her
 you. Even if you have an existing project you can always use the
 template as a reference.</p>
 </div>
-<div class="paragraph">
-<p>###Generate a Basic TomEE-Project With Maven</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_generate_a_basic_tomee_project_with_maven">Generate a Basic TomEE-Project With Maven</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>TomEE provides a maven-archetype for generating a template project. This
 template project is preconfigured with <code>javaee-api</code> (scope provided) and
@@ -133,9 +135,9 @@ application with TomEE.</p>
 <p>For example, if current version of the archetype is '1.7.1', then the
 required command to generate an application would be:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.7.1</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.7.1</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -146,9 +148,9 @@ application. If you are using 'tomee' as
 artifactId, '1.0' as version and 'myapp' as package, your console should
 show something like:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Define value for property 'groupId': : tomee
+<pre class="highlight"><code class="language-properties" data-lang="properties">Define value for property 'groupId': : tomee
 Define value for property 'artifactId': : tomee-demo
 Define value for property 'version':  1.0-SNAPSHOT: : 1.0
 Define value for property 'package':  tomee: : myapp
@@ -159,7 +161,7 @@ version: 1.0
 package: myapp
 ...
 [INFO] BUILD SUCCESS
-...</pre>
+...</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -168,21 +170,23 @@ artifactId (in the previous example 'tom
 application you have to change the current directory to the directory of
 the generated application:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>cd tomee-demo</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">cd tomee-demo</code></pre>
+</div>
 </div>
 </div>
-<div class="paragraph">
-<p>###Starting a TomEE-Project with Maven</p>
 </div>
+<div class="sect1">
+<h2 id="_starting_a_tomee_project_with_maven">Starting a TomEE-Project with Maven</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>With using the archetype everything you need is in place already. So you
 just have to start TomEE with:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>mvn package tomee:run</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">mvn package tomee:run</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -191,9 +195,11 @@ has to download e.g. TomEE. Once those p
 maven, deploying and starting the generated application takes less than
 10s (depending on your computer).</p>
 </div>
-<div class="paragraph">
-<p>###Accessing a running application</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_accessing_a_running_application">Accessing a running application</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>The application gets deployed to <code>target/apache-tomee/webapps</code>. If
 everything worked correctly, you should see a directory ('ROOT') as well
@@ -201,9 +207,11 @@ as a web-archive ('ROOT.war'). The conte
 application is ROOT. In our example the generated application contains a
 servlet mapped to '/index'. So you can access it via:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>http://localhost:8080/index</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">http://localhost:8080/index</code></pre>
+</div>
+</div>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/master/docs/tomee-webapp.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/tomee-webapp.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/tomee-webapp.html (original)
+++ tomee/site/trunk/content/master/docs/tomee-webapp.html Sun Dec  9 02:54:59 2018
@@ -165,9 +165,9 @@ libraries have been moved into <code>&lt
 EJBs over HTTP. However this can easily be added to a different webapp
 like so:</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;
@@ -175,16 +175,16 @@ like so:</p>
 &lt;servlet-mapping&gt;
   &lt;servlet-name&gt;ServerServlet&lt;/servlet-name&gt;
   &lt;url-pattern&gt;/myejbs/*&lt;/url-pattern&gt;
-&lt;/servlet-mapping&gt;</pre>
+&lt;/servlet-mapping&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Then you can create an <code>InitialContext</code> that points to that webapp like
 so:</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", "http://127.0.0.1:8080/mywebapp/myejbs");
 // user and pass optional
@@ -193,7 +193,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>

Modified: tomee/site/trunk/content/master/docs/topic-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/topic-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/topic-config.html (original)
+++ tomee/site/trunk/content/master/docs/topic-config.html Sun Dec  9 02:54:59 2018
@@ -100,11 +100,11 @@
 file or in a <code>WEB-INF/resources.xml</code> file 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="myTopic" type="javax.jms.Topic"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myTopic" type="javax.jms.Topic"&gt;
     destination =
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -113,10 +113,10 @@ following. All properties in the element
 <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>myTopic = new://Resource?type=javax.jms.Topic
-myTopic.destination =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">myTopic = new://Resource?type=javax.jms.Topic
+myTopic.destination =</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/transaction-annotations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/transaction-annotations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/transaction-annotations.html (original)
+++ tomee/site/trunk/content/master/docs/transaction-annotations.html Sun Dec  9 02:54:59 2018
@@ -261,9 +261,9 @@ state.</p>
 <div class="sect1">
 <h2 id="_on_methods">On Methods</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 public static class MyBean implements MyBusinessInterface {
 
     @TransactionAttribute(TransactionAttributeType.MANDATORY)
@@ -274,7 +274,7 @@ public static class MyBean implements My
     public String codeBlue(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -292,9 +292,9 @@ public static class MyBean implements My
 <div class="sect1">
 <h2 id="_on_classes">On Classes</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @TransactionAttribute(TransactionAttributeType.MANDATORY)
 public static class MyBean implements MyBusinessInterface {
 
@@ -305,7 +305,7 @@ public static class MyBean implements My
     public String codeBlue(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -321,9 +321,9 @@ public static class MyBean implements My
 <div class="sect1">
 <h2 id="_mixed_on_classes_and_methods">Mixed on classes and methods</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @TransactionAttribute(TransactionAttributeType.SUPPORTS)
 public static class MyBean implements MyBusinessInterface {
 
@@ -340,7 +340,7 @@ public static class MyBean implements My
     public String codeGreen(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -366,9 +366,9 @@ methods and most callbacks.</p>
 <div class="paragraph">
 <p>The following usages of @TransactionAttribute have no effect.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateful
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateful
 public class MyStatefulBean implements  MyBusinessInterface  {
 
     @PostConstruct
@@ -400,7 +400,7 @@ public class MyStatefulBean implements
     public void passivate(){
 
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/master/docs/transactionmanager-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/transactionmanager-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/transactionmanager-config.html (original)
+++ tomee/site/trunk/content/master/docs/transactionmanager-config.html Sun Dec  9 02:54:59 2018
@@ -101,9 +101,9 @@
 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;TransactionManager id="myTransactionManager" type="TransactionManager"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;TransactionManager id="myTransactionManager" type="TransactionManager"&gt;
     adler32Checksum = true
     bufferSizeKb = 32
     checksumEnabled = true
@@ -118,7 +118,7 @@ body are optional.</p>
     minBuffers = 4
     threadsWaitingForceThreshold = -1
     txRecovery = false
-&lt;/TransactionManager&gt;</pre>
+&lt;/TransactionManager&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -128,9 +128,9 @@ VirtualMachine <code>-D</code> propertie
 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>myTransactionManager = new://TransactionManager?type=TransactionManager
+<pre class="highlight"><code class="language-properties" data-lang="properties">myTransactionManager = new://TransactionManager?type=TransactionManager
 myTransactionManager.adler32Checksum = true
 myTransactionManager.bufferSizeKb = 32
 myTransactionManager.checksumEnabled = true
@@ -144,7 +144,7 @@ myTransactionManager.maxBuffers = 0
 myTransactionManager.maxLogFiles = 2
 myTransactionManager.minBuffers = 4
 myTransactionManager.threadsWaitingForceThreshold = -1
-myTransactionManager.txRecovery = false</pre>
+myTransactionManager.txRecovery = false</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/master/docs/understanding-callbacks.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/understanding-callbacks.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/understanding-callbacks.html (original)
+++ tomee/site/trunk/content/master/docs/understanding-callbacks.html Sun Dec  9 02:54:59 2018
@@ -110,9 +110,9 @@ have an AroundInvoke method and so on.</
 <div class="paragraph">
 <p>So the following is legal.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class Plant {
+<pre class="highlight"><code class="language-java" data-lang="java">public class Plant {
     @AroundInvoke
     public Object a(InvocationContext ctx) throws Exception {
         return ctx.proceed();
@@ -140,7 +140,7 @@ public class Apple extends Fruit impleme
 
 public interface AppleLocal {
     public String grow();
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -154,9 +154,9 @@ are ways to effectively shut off the cal
 of a parent class by simply overriding the method. We can shut off the
 "a" around invoke with a slightly different version of Apple as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 public class Apple extends Fruit implements AppleLocal {
 
     // This will now never be called.
@@ -172,7 +172,7 @@ public class Apple extends Fruit impleme
     public String grow(){
         return "ready to pick";
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -185,14 +185,14 @@ then "c" skipping "a" completely.</p>
 they mean that they cannot be exposed to clients through a local or
 remote interface. The following would be illegal.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public interface AppleLocal {
+<pre class="highlight"><code class="language-java" data-lang="java">public interface AppleLocal {
     public String grow();
 
     // This is an AroundInvoke method in the bean class, not a legal business method!
     public Object c(InvocationContext ctx) throws Exception;
-}</pre>
+}</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/master/docs/understanding-the-directory-layout.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/understanding-the-directory-layout.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/understanding-the-directory-layout.html (original)
+++ tomee/site/trunk/content/master/docs/understanding-the-directory-layout.html Sun Dec  9 02:54:59 2018
@@ -101,9 +101,9 @@
 <p>Unpacking the standalone OpenEJB will result in the following directory
 layout:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>apache-openejb-[version]\apps
+<pre class="highlight"><code class="language-java" data-lang="java">apache-openejb-[version]\apps
 apache-openejb-[version]\bin
 apache-openejb-[version]\conf
 apache-openejb-[version]\data
@@ -111,7 +111,7 @@ apache-openejb-[version]\lib
 apache-openejb-[version]\logs
 apache-openejb-[version]\LICENSE
 apache-openejb-[version]\NOTICE
-apache-openejb-[version]\README.txt</pre>
+apache-openejb-[version]\README.txt</code></pre>
 </div>
 </div>
 </div>
@@ -162,9 +162,9 @@ deploy all the EJB&#8217;s contained in
 OpenEJB is unpacked. The first time OpenEJB is started however, these
 files will be created:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>  conf/
+<pre class="highlight"><code class="language-java" data-lang="java">  conf/
     openejb.xml            (main config file)
     logging.properties         (log levels and files)
     login.config           (jaas config file)
@@ -177,7 +177,7 @@ files will be created:</p>
         ejbd.properties         (network socket for ejb invocations)
         hsql.properties         (network socket for hsql client access)
         httpejbd.properties     (network socket for ejb invocations over http)
-        telnet.properties       (network socket for telnet "server")</pre>
+        telnet.properties       (network socket for telnet "server")</code></pre>
 </div>
 </div>
 <div class="paragraph">



Mime
View raw message