You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2018/12/09 02:55:03 UTC
svn commit: r1848496 [9/16] - in /tomee/site/trunk/content: community/
latest/docs/ latest/docs/admin/cluster/ latest/docs/admin/configuration/
latest/docs/advanced/client/ latest/docs/advanced/jms/
latest/docs/advanced/setup/ latest/docs/advanced/shad...
Modified: tomee/site/trunk/content/master/docs/configuring-datasources.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/configuring-datasources.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/configuring-datasources.html (original)
+++ tomee/site/trunk/content/master/docs/configuring-datasources.html Sun Dec 9 02:54:59 2018
@@ -109,51 +109,51 @@ attributes.</p>
<div class="paragraph">
<p>For example, this annotation in your bean:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>@Resource(name = "myDerbyDatasource", type = javax.sql.DataSource.class)</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">@Resource(name = "myDerbyDatasource", type = javax.sql.DataSource.class)</code></pre>
</div>
</div>
<div class="paragraph">
<p>Would map to a Resource declared in your openejb.xml as follows:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="myDerbyDatasource" type="javax.sql.DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatasource" type="javax.sql.DataSource">
. . . .
-<Resource></pre>
+<Resource></code></pre>
</div>
</div>
<div class="paragraph">
<p>Note that in the xml element, the <em>type</em> value of <em>javax.sql.DataSource</em>
can abbreviated to just <em>DataSource</em> as follows:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="myDerbyDatasource" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatasource" type="DataSource">
. . . .
-<Resource></pre>
+<Resource></code></pre>
</div>
</div>
<div class="paragraph">
<p>It is also possible to specify the path to the driver jar file using a
classpath attribute like so:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar">
. . . .
-<Resource></pre>
+<Resource></code></pre>
</div>
</div>
<div class="paragraph">
<p>…​Or in a <a href="http://maven.apache.org/">Maven</a> environment like so:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="myDerbyDatasource" type="DataSource" classpath="mvn:org.apache.derby:derby:10.10.1.1">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatasource" type="DataSource" classpath="mvn:org.apache.derby:derby:10.10.1.1">
. . . .
-<Resource></pre>
+<Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -187,11 +187,11 @@ other business criteria. That’s al
<div class="sectionbody">
<div class="sect2">
<h3 id="_example_1">Example 1</h3>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="Default JDBC Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="Default JDBC Database" type="DataSource">
. . . . .
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -201,11 +201,11 @@ Database</em></p>
</div>
<div class="sect2">
<h3 id="_example_2">Example 2</h3>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="Derby Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="Derby Database" type="DataSource">
. . . . .
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -246,11 +246,11 @@ example of Derby.</p>
<div class="paragraph">
<p>With a Resource declaration in your openejb.xml like this:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="myDerbyDatabase" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDerbyDatabase" type="DataSource">
. . . . .
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -259,32 +259,32 @@ example of Derby.</p>
<div class="paragraph">
<p><em>BY matching variable name to resource name</em></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 FooBean {
@Resource DataSource myDerbyDatabase;
-}</pre>
+}</code></pre>
</div>
</div>
<div class="paragraph">
<p><em>OR BY matching name</em></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 FooBean {
@Resource(name="myDerbyDatabase")
DataSource dataSource;
-}</pre>
+}</code></pre>
</div>
</div>
<div class="paragraph">
<p><em>OR BY JNDI lookup</em></p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>@Resource(name="myDerbyDatabase", type=javax.sql.DataSource.class)
+<pre class="highlight"><code class="language-java" data-lang="java">@Resource(name="myDerbyDatabase", type=javax.sql.DataSource.class)
@Stateless
public class FooBean {
@@ -298,41 +298,41 @@ public class FooBean {
DataSource dataSource = (DataSource)
initialContext.lookup("java:comp/env/myDerbyDatabase");
}
-}</pre>
+}</code></pre>
</div>
</div>
<div class="paragraph">
<p><em>OR</em></p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><resource-ref>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><resource-ref>
<res-ref-name>myDerbyDatabase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
-</resource-ref></pre>
+</resource-ref></code></pre>
</div>
</div>
<div class="paragraph">
<p><em>OR</em></p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><resource-ref>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><resource-ref>
<res-ref-name>jdbc/myDerbyDatabase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
-</resource-ref></pre>
+</resource-ref></code></pre>
</div>
</div>
<div class="paragraph">
<p><em>OR</em></p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><resource-ref>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><resource-ref>
<res-ref-name>someOtherName</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<mapped-name>myDerbyDatabase</mapped-name>
-</resource-ref></pre>
+</resource-ref></code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/configuring-durations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/configuring-durations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/configuring-durations.html (original)
+++ tomee/site/trunk/content/master/docs/configuring-durations.html Sun Dec 9 02:54:59 2018
@@ -157,9 +157,9 @@ be nice when using the abbreviated forms
<div class="paragraph">
<p>Abbreviations are accepted as follows:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre> if (u.equalsIgnoreCase("NANOSECONDS")) return TimeUnit.NANOSECONDS;
+<pre class="highlight"><code class="language-java" data-lang="java"> if (u.equalsIgnoreCase("NANOSECONDS")) return TimeUnit.NANOSECONDS;
if (u.equalsIgnoreCase("NANOSECOND")) return TimeUnit.NANOSECONDS;
if (u.equalsIgnoreCase("NANOS")) return TimeUnit.NANOSECONDS;
if (u.equalsIgnoreCase("NANO")) return TimeUnit.NANOSECONDS;
@@ -194,7 +194,7 @@ be nice when using the abbreviated forms
if (u.equalsIgnoreCase("DAYS")) return TimeUnit.DAYS;
if (u.equalsIgnoreCase("DAY")) return TimeUnit.DAYS;
- if (u.equalsIgnoreCase("D")) return TimeUnit.DAYS;</pre>
+ if (u.equalsIgnoreCase("D")) return TimeUnit.DAYS;</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/configuring-javamail.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/configuring-javamail.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/configuring-javamail.html (original)
+++ tomee/site/trunk/content/master/docs/configuring-javamail.html Sun Dec 9 02:54:59 2018
@@ -104,16 +104,16 @@ javax.mail.Session.getDefaultInstance(Pr
<div class="paragraph">
<p>Here might be some example properties.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="SuperbizMail" type="javax.mail.Session">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="SuperbizMail" type="javax.mail.Session">
mail.smtp.host=mail.superbiz.org
mail.smtp.port=25
mail.transport.protocol=smtp
mail.smtp.auth=true
mail.smtp.user=someuser
password=mypassword
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -134,9 +134,9 @@ values before attempting to use them.</p
<p>If you wanted to do a System property or InitialContext property
override of the above example mail session, you could do so like this:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>java ... -DSuperbizMail.mail.smtp.host=localhost</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">java ... -DSuperbizMail.mail.smtp.host=localhost</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/configuring-logging-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/configuring-logging-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/configuring-logging-in-tests.html (original)
+++ tomee/site/trunk/content/master/docs/configuring-logging-in-tests.html Sun Dec 9 02:54:59 2018
@@ -146,9 +146,9 @@ replace it completely if all you want to
<p>You can also put logging tweaks right in your InitialContext properties
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(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("log4j.rootLogger", "fatal,C");
@@ -167,7 +167,7 @@ p.put("log4j.category.openjpa", "error")
p.put("log4j.appender.C", "org.apache.log4j.ConsoleAppender");
p.put("log4j.appender.C.layout", "org.apache.log4j.SimpleLayout");
-Context context = new InitialContext(p);</pre>
+Context context = new InitialContext(p);</code></pre>
</div>
</div>
<div class="paragraph">
@@ -206,9 +206,9 @@ source of logging information.</p>
<p>For your purposes, here are the contents of the default
embedded.logging.properties file contained in OpenEJB 3.1.1</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>log4j.rootLogger = fatal,C
+<pre class="highlight"><code class="language-properties" data-lang="properties">log4j.rootLogger = fatal,C
log4j.category.OpenEJB = warn
log4j.category.OpenEJB.server = info
log4j.category.OpenEJB.startup = info
@@ -222,7 +222,7 @@ log4j.category.org.apache.geronimo = err
log4j.category.openjpa = error
log4j.appender.C = org.apache.log4j.ConsoleAppender
-log4j.appender.C.layout = org.apache.log4j.SimpleLayout</pre>
+log4j.appender.C.layout = org.apache.log4j.SimpleLayout</code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/master/docs/configuring-persistenceunits-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/configuring-persistenceunits-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/configuring-persistenceunits-in-tests.html (original)
+++ tomee/site/trunk/content/master/docs/configuring-persistenceunits-in-tests.html Sun Dec 9 02:54:59 2018
@@ -135,9 +135,9 @@ properties or the initial context proper
<div class="paragraph">
<p>So for example with the following persistence.xml:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><persistence>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><persistence>
<persistence-unit name="movie-unit">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>movieDatabase</jta-data-source>
@@ -147,7 +147,7 @@ properties or the initial context proper
<property name="hibernate.max_fetch_depth" value="3"/>
</properties>
</persistence-unit>
-</persistence></pre>
+</persistence></code></pre>
</div>
</div>
<div class="paragraph">
@@ -155,15 +155,15 @@ properties or the initial context proper
There are currently no facilities for removing them (if you have a need
for that let us know — it hasn’t really come up so far).</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,"org.apache.openejb.client.LocalInitialContextFactory");
p.put("movie-unit.hibernate.hbm2ddl.auto", "update");
p.put("movie-unit.hibernate.dialect", "org.hibernate.dialect.HSQLDialect");
-context = new InitialContext(p);</pre>
+context = new InitialContext(p);</code></pre>
</div>
</div>
<div class="paragraph">
@@ -221,15 +221,15 @@ below.</p>
<p>Note that you <strong>must</strong> use the <strong>unit name</strong> as the prefix. This will not
work:</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,"org.apache.openejb.client.LocalInitialContextFactory");
p.put("hibernate.hbm2ddl.auto", "update");
p.put("hibernate.dialect", "org.hibernate.dialect.HSQLDialect");
- context = new InitialContext(p);</pre>
+ context = new InitialContext(p);</code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/master/docs/constructor-injection.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/constructor-injection.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/constructor-injection.html (original)
+++ tomee/site/trunk/content/master/docs/constructor-injection.html Sun Dec 9 02:54:59 2018
@@ -104,9 +104,9 @@ your wish has come true. This is a featu
release and with a bit of luck and support from people like yourself,
we’ll see this as an EJB 3.1 feature as well.</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 WidgetBean implements Widget {
@EJB(beanName = "FooBean")
@@ -131,16 +131,16 @@ public class WidgetBean implements Widge
public Foo getFoo() {
return foo;
}
-}</pre>
+}</code></pre>
</div>
</div>
<div class="paragraph">
<p>The @EJB, @Resource, @PersistenceUnit, and @PersistenceContext
annotations can be placed at the class-level instead such as:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
@EJB(name = "foo", beanInterface = Foo.class, beanName = "FooBean")
@Resource(name = "count", type = int.class)
@Resource(name = "ds", type = DataSource.class)
@@ -157,7 +157,7 @@ public class WidgetBean implements Widge
public Foo getFoo() {
return foo;
}
-}</pre>
+}</code></pre>
</div>
</div>
<div class="paragraph">
@@ -178,9 +178,9 @@ sending note to
<div class="paragraph">
<p>Not yet possible</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 WidgetBean implements Widget {
@@ -195,7 +195,7 @@ public class WidgetBean implements Widge
public Foo getFoo() {
return foo;
}
-}</pre>
+}</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/containers-and-resources.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/containers-and-resources.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/containers-and-resources.html (original)
+++ tomee/site/trunk/content/master/docs/containers-and-resources.html Sun Dec 9 02:54:59 2018
@@ -95,9 +95,9 @@
<div class="row">
<div class="col-md-12">
- <div class="literalblock">
+ <div class="listingblock">
<div class="content">
-<pre> <p><a name="ContainersandResources-containers"></a></p></pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml"> <p><a name="ContainersandResources-containers"></a></p></code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/master/docs/contrib/debug/debug-intellij.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/contrib/debug/debug-intellij.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/contrib/debug/debug-intellij.html (original)
+++ tomee/site/trunk/content/master/docs/contrib/debug/debug-intellij.html Sun Dec 9 02:54:59 2018
@@ -88,17 +88,15 @@
<div class="col-md-12">
<div class='page-header'>
- <h1>null</h1>
+ <h1>Debugging an Apache</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
- <div class="paragraph">
-<p>#Debugging an Apache
-TomEE App in Intellij IDEA</p>
-</div>
+ <div id="preamble">
+<div class="sectionbody">
<div class="paragraph">
<p>Stepping through the <a href="http://tomee.apache.org/apache-tomee.html">TomEE</a>
source code is a must-to-follow step if you want to understand how TomEE
@@ -121,9 +119,11 @@ debugging session with TomEE as a TomEE
</li>
</ul>
</div>
-<div class="paragraph">
-<p>###Download the Source Code</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_download_the_source_code">Download the Source Code</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>For beginners it is recommended not to start with the trunk, because it
is common to have some blockers or non-stable functionality which could
@@ -135,9 +135,11 @@ modification on TomEE.</p>
<p><a href="http://www.apache.org/dyn/closer.cgi/tomee/tomee-1.7.1/openejb-4.7.1-source-release.zip">Click
here to download TomEE 1.7.1 Source code</a></p>
</div>
-<div class="paragraph">
-<p>###Build the Source Code</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_build_the_source_code">Build the Source Code</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>First extract the zip file named <strong>openejb-4.7.1-source-release.zip</strong> to
any location. Lets assume it is your home folder.</p>
@@ -171,9 +173,11 @@ clean install</p>
<p>More details about building the product from the source can be found
<a href="http://tomee.apache.org/dev/source-code.html">here</a>.</p>
</div>
-<div class="paragraph">
-<p>###Deploy TomEE</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_deploy_tomee">Deploy TomEE</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>The TomEE build builds several distributions (zip & war files) to cater
the different needs of different users. Here we discuss about the tomee
@@ -216,9 +220,11 @@ folder. Lets run the TomEE.</p>
<div class="paragraph">
<p>"INFO: Server startup in xxxx ms" is the Green light!</p>
</div>
-<div class="paragraph">
-<p>###Prepare your IDE</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_prepare_your_ide">Prepare your IDE</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Lets prepare our IntelliJ IDEA for the debugging session.</p>
</div>
@@ -270,9 +276,11 @@ folder. Lets run the TomEE.</p>
<div class="paragraph">
<p>Now your IDE will load the project.</p>
</div>
-<div class="paragraph">
-<p>###First Breakpoint</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_first_breakpoint">First Breakpoint</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Next step is to put a breakpoint at the place where the code is
triggered. Lets understand how the code is triggered.</p>
@@ -291,9 +299,11 @@ ServerListener.</p>
<p>The execution of TomEE code starts in this lifecycleEvent method. So the
first breakpoint should be on the lifecycleEvent method.</p>
</div>
-<div class="paragraph">
-<p>###Run TomEE+ in debug mode</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_run_tomee_in_debug_mode">Run TomEE+ in debug mode</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>If you simply run <strong>catalina.sh jpda run</strong> in the bin folder of tomee
deployment, the server starts in the debug mode but it will quckly pass
@@ -311,7 +321,7 @@ right after the #!/bin/sh line.</p>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
-<p>#!/bin/sh JPDA_SUSPEND="y"</p>
+<p>= !/bin/sh JPDA_SUSPEND="y"</p>
</div>
<div class="paragraph">
<p>Now to time to run TomEE+ on debug mode.</p>
@@ -329,9 +339,11 @@ right after the #!/bin/sh line.</p>
<p>The terminal should hang with the message <strong>"Listening for transport
dt_socket at address: 8000"</strong></p>
</div>
-<div class="paragraph">
-<p>###Attach IntelliJ IDEA debugger</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="_attach_intellij_idea_debugger">Attach IntelliJ IDEA debugger</h2>
+<div class="sectionbody">
<div class="ulist">
<ul>
<li>
@@ -366,6 +378,8 @@ the Port to 8000</p>
<p>Congratulations! You hit the break point you put at the startup of the
TomEE code. Carry on with your debugging session to learn more.</p>
</div>
+</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/custom-injection.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/custom-injection.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/custom-injection.html (original)
+++ tomee/site/trunk/content/master/docs/custom-injection.html Sun Dec 9 02:54:59 2018
@@ -138,9 +138,9 @@ in the <a href="downloads.html">openejb-
<div class="sect1">
<h2 id="_bean_class">Bean Class</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 class Stratocaster {
@Resource(name = "pickups")
@@ -184,7 +184,7 @@ public class Stratocaster {
public File getCertificateOfAuthenticity() {
return certificateOfAuthenticity;
}
-}</pre>
+}</code></pre>
</div>
</div>
</div>
@@ -192,13 +192,13 @@ public class Stratocaster {
<div class="sect1">
<h2 id="_the_meta_inf_env_entries_properties_file">The META-INF/env-entries.properties file</h2>
<div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>guitarStringGuages=E1=0.052\nA=0.042\nD=0.030\nG=0.017\nB=0.013\nE=0.010
+<pre class="highlight"><code class="language-properties" data-lang="properties">guitarStringGuages=E1=0.052\nA=0.042\nD=0.030\nG=0.017\nB=0.013\nE=0.010
certificateOfAuthenticity=/tmp/strat-certificate.txt
dateCreated=1962-03-01
pickups=S,S,S
-style=VINTAGE</pre>
+style=VINTAGE</code></pre>
</div>
</div>
</div>
@@ -212,9 +212,9 @@ we’d like to allow abbreviated ver
usable. We do this by creating a custom PropertyEditor for our Pickup
enum like so:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>public class PickupEditor extends java.beans.PropertyEditorSupport {
+<pre class="highlight"><code class="language-java" data-lang="java">public class PickupEditor extends java.beans.PropertyEditorSupport {
public void setAsText(String text) throws IllegalArgumentException {
text = text.trim();
@@ -222,7 +222,7 @@ enum like so:</p>
else if (text.equalsIgnoreCase("S")) setValue(Pickup.SINGLE_COIL);
else throw new IllegalStateException("H and S are the only supported Pickup aliases");
}
-}</pre>
+}</code></pre>
</div>
</div>
<div class="paragraph">
@@ -230,9 +230,9 @@ enum like so:</p>
class that will be executed should someone actually reference the Pickup
type.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>public enum Pickup {
+<pre class="highlight"><code class="language-java" data-lang="java">public enum Pickup {
HUMBUCKER,
SINGLE_COIL;
@@ -243,15 +243,15 @@ type.</p>
static {
PropertyEditorManager.registerEditor(Pickup.class, PickupEditor.class);
}
-}</pre>
+}</code></pre>
</div>
</div>
</div>
</div>
<h1 id="_test_case" class="sect0">Test Case</h1>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>public class StratocasterTest extends TestCase {
+<pre class="highlight"><code class="language-java" data-lang="java">public class StratocasterTest extends TestCase {
@EJB
private Stratocaster strat;
@@ -279,7 +279,7 @@ type.</p>
}
-}</pre>
+}</code></pre>
</div>
</div>
<h1 id="_running_it" class="sect0">Running it</h1>
@@ -297,9 +297,9 @@ 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.enventries.StratocasterTest
@@ -323,7 +323,7 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
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/datasource-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/datasource-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/datasource-config.html (original)
+++ tomee/site/trunk/content/master/docs/datasource-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><Resource id="myDataSource" type="javax.sql.DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myDataSource" type="javax.sql.DataSource">
accessToUnderlyingConnectionAllowed = false
alternateUsernameAllowed = false
connectionProperties =
@@ -134,7 +134,7 @@ body are optional.</p>
timeBetweenEvictionRuns = -1 millisecond
userName = sa
validationQuery =
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -143,9 +143,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>myDataSource = new://Resource?type=javax.sql.DataSource
+<pre class="highlight"><code class="language-properties" data-lang="properties">myDataSource = new://Resource?type=javax.sql.DataSource
myDataSource.accessToUnderlyingConnectionAllowed = false
myDataSource.alternateUsernameAllowed = false
myDataSource.connectionProperties =
@@ -173,7 +173,7 @@ myDataSource.testOnReturn = false
myDataSource.testWhileIdle = false
myDataSource.timeBetweenEvictionRuns = -1 millisecond
myDataSource.userName = sa
-myDataSource.validationQuery =</pre>
+myDataSource.validationQuery =</code></pre>
</div>
</div>
<div class="paragraph">
@@ -564,12 +564,12 @@ SQL SELECT statement that returns at lea
<p>If true the raw physical connection to the database can be accessed
using the following construct:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>Connection conn = ds.getConnection();
+<pre class="highlight"><code class="language-java" data-lang="java">Connection conn = ds.getConnection();
Connection rawConn = ((DelegatingConnection) conn).getInnermostDelegate();
...
-conn.close()</pre>
+conn.close()</code></pre>
</div>
</div>
<div class="paragraph">
@@ -702,10 +702,10 @@ statements.</p>
<p>If true, a statement pool is created for each Connection and
PreparedStatements created by one of the following methods are pooled:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>public PreparedStatement prepareStatement(String sql);
-public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">public PreparedStatement prepareStatement(String sql);
+public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)</code></pre>
</div>
</div>
</div>
@@ -770,15 +770,15 @@ XaDataSource can be defined as a standar
<div class="paragraph">
<p>First solution is to define as <code>JdbcDriver</code> an XADataSource:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="myXaDs" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myXaDs" type="DataSource">
JdbcDriver = org.foo.MyXaDataSource
myXaProperty = value
myPoolProperty = 10
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -801,22 +801,22 @@ factory mecanism.</p>
<div class="paragraph">
<p>An alternative is to define a resource for the XaDataSource:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="myXa" class-name="org.foo.MyXaDataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myXa" class-name="org.foo.MyXaDataSource">
myXaProperty = value
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
<p>And then wrap it in the pool:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="myXaDs" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="myXaDs" type="DataSource">
DataSourceCreator = [dbcp|dbcp-alternative]
myPoolProperty = 10
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -829,9 +829,9 @@ because it is reusing direct dbcp JTA ma
<div class="paragraph">
<p>For TomEE 1.7.0/1.7.1 you can need to add the property:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre> openejb.datasource.pool = true</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties"> openejb.datasource.pool = true</code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/master/docs/datasource-password-encryption.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/datasource-password-encryption.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/datasource-password-encryption.html (original)
+++ tomee/site/trunk/content/master/docs/datasource-password-encryption.html Sun Dec 9 02:54:59 2018
@@ -120,9 +120,9 @@ not activated so plain passwords are use
<div class="paragraph">
<p>Default Plain text password example:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="MySQL Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="MySQL Database" type="DataSource">
# MySQL example
#
# This connector will not work until you download the driver at:
@@ -132,7 +132,7 @@ not activated so plain passwords are use
JdbcUrl jdbc:mysql://localhost/test
UserName test
Password Passw0rd
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
<div class="paragraph">
@@ -146,9 +146,9 @@ how relying on an HSM for example.</em>
implement the <em>org.apache.openejb.resource.jdbc.cipher.PasswordCipher</em>
interface.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><Resource id="MySQL Database" type="DataSource">
+<pre class="highlight"><code class="language-xml" data-lang="xml"><Resource id="MySQL Database" type="DataSource">
# MySQL example
#
# This connector will not work until you download the driver at:
@@ -162,7 +162,7 @@ interface.</p>
xMH5uM1V9vQzVUv5LG7YLA==
Password xMH5uM1V9vQzVUv5LG7YLA==
PasswordCipher Static3DES
-</Resource></pre>
+</Resource></code></pre>
</div>
</div>
</div>
@@ -189,9 +189,9 @@ plain text value using a given algorithm
</div>
<div class="sect3">
<h4 id="_synopsis">SYNOPSIS</h4>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>openejb cipher [#options]</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">openejb cipher [#options]</code></pre>
</div>
</div>
</div>
@@ -216,17 +216,17 @@ directory C:-3.1.2.</p>
<div class="paragraph">
<p>In Windows, the cipher tool can be executed as follows:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>`C:\openejb-3.1.2> bin\openejb cipher --help`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`C:\openejb-3.1.2> bin\openejb cipher --help`</code></pre>
</div>
</div>
<div class="paragraph">
<p>In UNIX, Linux, or Mac OS X, the cipher tool can be executed as follows:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>`\[user@host openejb-3.1.2]# bin/openejb cipher --help`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`\[user@host openejb-3.1.2]# bin/openejb cipher --help`</code></pre>
</div>
</div>
<div class="paragraph">
@@ -234,9 +234,9 @@ directory C:-3.1.2.</p>
to make the scripts executable. You can do this with the following
command.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>`\[user@host openejb-3.1.2]# chmod 755 bin/openejb`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`\[user@host openejb-3.1.2]# chmod 755 bin/openejb`</code></pre>
</div>
</div>
<div class="paragraph">
@@ -244,9 +244,9 @@ command.</p>
right openejb script for your operating system and commands will appear
in shorthand as show below.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>`openejb cipher --help`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`openejb cipher --help`</code></pre>
</div>
</div>
</div>
@@ -283,17 +283,17 @@ Static3DES).</p>
<div class="paragraph">
<p>Encrypt a plain password using the default algorithm.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>`openejb cipher Passw0rd`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`openejb cipher Passw0rd`</code></pre>
</div>
</div>
<div class="paragraph">
<p>Output</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>xMH5uM1V9vQzVUv5LG7YLA==</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">xMH5uM1V9vQzVUv5LG7YLA==</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/deamon/lin-service.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/deamon/lin-service.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/deamon/lin-service.html (original)
+++ tomee/site/trunk/content/master/docs/deamon/lin-service.html Sun Dec 9 02:54:59 2018
@@ -88,7 +88,7 @@
<div class="col-md-12">
<div class='page-header'>
- <h1>null</h1>
+ <h1>Installing</h1>
</div>
</div>
</div>
@@ -96,10 +96,6 @@
<div class="col-md-12">
<div class="paragraph">
-<p>###Installing
-TomEE as a Windows® Service</p>
-</div>
-<div class="paragraph">
<p>The different architecture exe’s are as follows (so always use the one
that matches your system):</p>
</div>
Modified: tomee/site/trunk/content/master/docs/deamon/win-service.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/deamon/win-service.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/deamon/win-service.html (original)
+++ tomee/site/trunk/content/master/docs/deamon/win-service.html Sun Dec 9 02:54:59 2018
@@ -88,7 +88,7 @@
<div class="col-md-12">
<div class='page-header'>
- <h1>null</h1>
+ <h1>Installing</h1>
</div>
</div>
</div>
@@ -96,10 +96,6 @@
<div class="col-md-12">
<div class="paragraph">
-<p>###Installing
-TomEE as a Windows® Service</p>
-</div>
-<div class="paragraph">
<p>The different architecture exe’s are as follows (so always use the one
that matches your system):</p>
</div>
Modified: tomee/site/trunk/content/master/docs/deploy-tool.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/deploy-tool.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/deploy-tool.html (original)
+++ tomee/site/trunk/content/master/docs/deploy-tool.html Sun Dec 9 02:54:59 2018
@@ -299,9 +299,9 @@ the barEjbs.jar. Wildcards can be used a
<p>On running the deploy tool with a valid EJB jar the following output is
printed on the console</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>Application deployed successfully at {0}
+<pre class="highlight"><code class="language-properties" data-lang="properties">Application deployed successfully at {0}
App(id=C:\samples\Calculator-new\hello-addservice.jar)
EjbJar(id=hello-addservice.jar, path=C:\samples\Calculator-new\hello-addservice.jar)
Ejb(ejb-name=HelloBean, id=HelloBean)
@@ -310,7 +310,7 @@ App(id=C:\samples\Calculator-new\hello-a
Ejb(ejb-name=AddServiceBean, id=AddServiceBean)
Jndi(name=AddServiceBean)
- Jndi(name=AddServiceBeanLocal)</pre>
+ Jndi(name=AddServiceBeanLocal)</code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/master/docs/deploying-in-tomee.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/deploying-in-tomee.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/deploying-in-tomee.html (original)
+++ tomee/site/trunk/content/master/docs/deploying-in-tomee.html Sun Dec 9 02:54:59 2018
@@ -118,9 +118,7 @@ License.
</tr>
</table>
</div>
-<div class="paragraph">
-<p>#Deploying in TomEE</p>
-</div>
+<h1 id="_deploying_in_tomee" class="sect0">Deploying in TomEE</h1>
<div class="paragraph">
<p>Deploying applications in TomEE is as simple as deploying them in
Tomcat.</p>
@@ -142,8 +140,8 @@ to the <strong>[TomEE]/apps</strong> fol
<div class="sect1">
<h2 id="_packaging">Packaging</h2>
<div class="sectionbody">
-<div class="sect3">
-<h4 id="_one_archive">One archive</h4>
+<div class="sect2">
+<h3 id="_one_archive">One archive</h3>
<div class="paragraph">
<p>The basic idea of this approach is that your Servlets and EJBs are
together in your WAR file as one application.</p>
@@ -168,8 +166,8 @@ together in your WAR file as one applica
</ul>
</div>
</div>
-<div class="sect3">
-<h4 id="_not_quite_j2ee_but_it_is_java_ee_6">Not quite J2EE (But it is Java EE 6)</h4>
+<div class="sect2">
+<h3 id="_not_quite_j2ee_but_it_is_java_ee_6">Not quite J2EE (But it is Java EE 6)</h3>
<div class="paragraph">
<p>This is very different than J2EE or Java EE 5 as there are not several
levels of separation and classloader hierarchy any more.<br>
Modified: tomee/site/trunk/content/master/docs/deployment-id.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/deployment-id.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/deployment-id.html (original)
+++ tomee/site/trunk/content/master/docs/deployment-id.html Sun Dec 9 02:54:59 2018
@@ -216,11 +216,11 @@ and resources in the container system. n
id as its JNDI lookup. For example, if a bean had a deployment-id of
"/my/bean/foo", a non-bean client could lookup that bean as follows.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>...
+<pre class="highlight"><code class="language-java" data-lang="java">...
Object bean = initialContext.lookup("/my/bean/Foo");
-...</pre>
+...</code></pre>
</div>
</div>
<div class="paragraph">
@@ -263,11 +263,11 @@ consist of the deployment ids of the bea
the bean’s deployment id. For example, if a bean had a deployment-id of
"/my/bean/foo", a client could lookup that bean as follows.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>...
+<pre class="highlight"><code class="language-java" data-lang="java">...
Object bean = initialContext.lookup("/my/bean/Foo");
-...</pre>
+...</code></pre>
</div>
</div>
</div>
@@ -289,9 +289,9 @@ So, just as with the Local Server and Re
beans using the bean’s deployment id. OpenORB has a JNDI implementation
of their naming service, so lookups can be done just as before.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>...
+<pre class="highlight"><code class="language-java" data-lang="java">...
String[] args = ...
// The ORB and Object
@@ -318,7 +318,7 @@ name[0] = new org.omg.CosNaming.NameComp
// Finally, get the bean as a CORBA object
// Equvalent to an InitialContext.lookup("/my/bean/foo");
bean = context.resolve( name );
-...</pre>
+...</code></pre>
</div>
</div>
</div>
@@ -335,9 +335,9 @@ loaded. In addition, the system will log
one asking you to redeploy the jar and choose an different deployment ID
for the bean.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>WARN : Jar C:\openejb\beans\fooEjbs.jar cannot be loaded. The Deployment ID "/my/bean/foo" is already in use. Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "FooBean".</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN : Jar C:\openejb\beans\fooEjbs.jar cannot be loaded. The Deployment ID "/my/bean/foo" is already in use. Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "FooBean".</code></pre>
</div>
</div>
<div class="paragraph">
@@ -366,9 +366,9 @@ rest of the beans in the disneyEjbs.jar
"DonaldDuckBean" bean to function properly. The disneyEjbs.jar is
skipped and the following warning is logged.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>WARN : Jar C:\openejb\beans\disneyEjbs.jar cannot be loaded. The Deployment ID "/my/favorite/duck" is already in use. Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "DonaldDuckBean".</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN : Jar C:\openejb\beans\disneyEjbs.jar cannot be loaded. The Deployment ID "/my/favorite/duck" is already in use. Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "DonaldDuckBean".</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/deployments.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/deployments.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/deployments.html (original)
+++ tomee/site/trunk/content/master/docs/deployments.html Sun Dec 9 02:54:59 2018
@@ -103,14 +103,14 @@
<p>To include a single jar by name, just declare a 'Deployments' element
with a 'jar' attribute pointing to the jar file on the file system.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><openejb>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><openejb>
...
<Deployments jar="c:\my\app\superEjbs.jar" />
<Deployments jar="c:\someplace\purchasing.jar" />
<Deployments jar="timeTrack.jar" />
-</openejb></pre>
+</openejb></code></pre>
</div>
</div>
<div class="paragraph">
@@ -130,16 +130,16 @@ for more details.</p>
should load, simply declare a 'Deployments' element with a 'dir'
attribute pointing to the directory containing the jar files.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><openejb>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><openejb>
...
<Deployments dir="c:\my\app\beans\" />
<Deployments dir="c:\crimestopper\lib" />
<Deployments dir="ejbs" />
<Deployments dir="beans" />
-</openejb></pre>
+</openejb></code></pre>
</div>
</div>
<div class="paragraph">
@@ -169,9 +169,9 @@ in OpenEJB. You still need to follow the
<div class="paragraph">
<p>For example, if you have a directory structure like this:</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>> C:\myapp\
+<pre class="highlight"><code class="language-java" data-lang="java">> C:\myapp\
> C:\myapp\acmeEjbs\
> C:\myapp\acmeEjbs\META-INF\ejb-jar.xml
> C:\myapp\acmeEjbs\org\acme\Foo.class
@@ -179,20 +179,20 @@ in OpenEJB. You still need to follow the
> C:\myapp\acmeEjbs\org\acme\FooHome.class
> C:\myapp\acmeEjbs\org\acme\Bar.class
> C:\myapp\acmeEjbs\org\acme\BarBean.class
-> C:\myapp\acmeEjbs\org\acme\BarHome.class</pre>
+> C:\myapp\acmeEjbs\org\acme\BarHome.class</code></pre>
</div>
</div>
<div class="paragraph">
<p>Then you would delcare a 'Deployments' element with the 'dir' attribute
set to 'C:' as shown below.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><openejb>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><openejb>
...
<Deployments dir="c:\myapp\acmeEjbs" />
-</openejb></pre>
+</openejb></code></pre>
</div>
</div>
<div class="paragraph">
@@ -215,22 +215,22 @@ is an incredible asset.</p>
<p>If your ejbs were loaded successfully you should see entries like the
following (1.x and higher only):</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>INFO : Loaded EJBs from
+<pre class="highlight"><code class="language-properties" data-lang="properties">INFO : Loaded EJBs from
/usr/local/openejb-1.0-beta1/beans/openejb-itests-beans.jar
INFO : Loaded EJBs from
-/usr/local/openejb-1.0-beta1/beans/openejb-webadmin-clienttools.jar</pre>
+/usr/local/openejb-1.0-beta1/beans/openejb-webadmin-clienttools.jar</code></pre>
</div>
</div>
<div class="paragraph">
<p>If your ejbs failed to load, you will see an entry similar to the
following.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>WARN : Jar not loaded. /usr/local/openejb-1.0-beta1/beans/helloworld.jar.
-Jar failed validation. Use the validation tool for more details</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN : Jar not loaded. /usr/local/openejb-1.0-beta1/beans/helloworld.jar.
+Jar failed validation. Use the validation tool for more details</code></pre>
</div>
</div>
<div class="paragraph">
@@ -239,9 +239,9 @@ in the log file at startup. The Deployme
used to lookup the ejb from a client of the Local or Remote Servers. The
beans listed below are from our test suite.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre>DEBUG: Deployments : 19
+<pre class="highlight"><code class="language-properties" data-lang="properties">DEBUG: Deployments : 19
DEBUG: Type Deployment ID
DEBUG: CMP_ENTITY client/tests/entity/cmp/RMI-over-IIOP/EJBHome
DEBUG: STATEFUL client/tests/stateful/EncBean
@@ -261,7 +261,7 @@ DEBUG: CMP_ENTITY client/tests/enti
DEBUG: STATELESS client/tools/DatabaseHome
DEBUG: CMP_ENTITY client/tests/entity/cmp/allowed_operations/EntityHome
DEBUG: BMP_ENTITY client/tests/entity/bmp/EncBean
-DEBUG: STATELESS client/tests/stateless/RMI-over-IIOP/EJBHome</pre>
+DEBUG: STATELESS client/tests/stateless/RMI-over-IIOP/EJBHome</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/details-on-openejb-jar.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/details-on-openejb-jar.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/details-on-openejb-jar.html (original)
+++ tomee/site/trunk/content/master/docs/details-on-openejb-jar.html Sun Dec 9 02:54:59 2018
@@ -135,14 +135,14 @@ breeze.</p>
Hello World example. As you can see, the file format is extremely
simple.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<ejb-deployment ejb-name="Hello"
deployment-id="Hello"
container-id="Default Stateless Container"/>
-</openejb-jar></pre>
+</openejb-jar></code></pre>
</div>
</div>
<div class="paragraph">
@@ -159,9 +159,9 @@ your jar.</p>
<div class="paragraph">
<p>Then you simply add a element to your element like this</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<ejb-deployment ejb-name="Hello"
@@ -173,7 +173,7 @@ your jar.</p>
</ejb-deployment>
-</openejb-jar></pre>
+</openejb-jar></code></pre>
</div>
</div>
<div class="paragraph">
@@ -189,9 +189,9 @@ and provide access to the desired resour
<p>You will need one element for every element in your ejb-jar.xml. So if
you had an ejb-jar.xml like the following</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<ejb-jar>
<enterprise-beans>
<session>
@@ -222,16 +222,16 @@ you had an ejb-jar.xml like the followin
</session>
</enterprise-beans>
-</ejb-jar></pre>
+</ejb-jar></code></pre>
</div>
</div>
<div class="paragraph">
<p>Then you would need two elements for that bean in your openejb-jar.xml
file as such.</p>
</div>
-<div class="literalblock">
+<div class="listingblock">
<div class="content">
-<pre><?xml version="1.0"?>
+<pre class="highlight"><code class="language-xml" data-lang="xml"><?xml version="1.0"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<ejb-deployment ejb-name="MyExampleBean"
@@ -246,7 +246,7 @@ file as such.</p>
</ejb-deployment>
-</openejb-jar></pre>
+</openejb-jar></code></pre>
</div>
</div>
<div class="paragraph">
Modified: tomee/site/trunk/content/master/docs/developer/ide/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/ide/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/ide/index.html (original)
+++ tomee/site/trunk/content/master/docs/developer/ide/index.html Sun Dec 9 02:54:59 2018
@@ -121,24 +121,30 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_eclipse">Eclipse</h3>
+<div class="sect1">
+<h2 id="_eclipse">Eclipse</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Be the first to write this part!</p>
</div>
</div>
-<div class="sect2">
-<h3 id="_idea">Idea</h3>
+</div>
+<div class="sect1">
+<h2 id="_idea">Idea</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Be the first to write this part!</p>
</div>
</div>
-<div class="sect2">
-<h3 id="_netbeans">Netbeans</h3>
+</div>
+<div class="sect1">
+<h2 id="_netbeans">Netbeans</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Be the first to write this part!</p>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/developer/json/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/json/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/json/index.html (original)
+++ tomee/site/trunk/content/master/docs/developer/json/index.html Sun Dec 9 02:54:59 2018
@@ -143,7 +143,7 @@ getting started but here are the basics
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">{
+<pre class="highlight"><code class="language-json" data-lang="json">{
"id": 1234,
"name": "Johnzon doc"
}</code></pre>
Modified: tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html (original)
+++ tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html Sun Dec 9 02:54:59 2018
@@ -108,8 +108,9 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_dependencies">Dependencies</h3>
+<div class="sect1">
+<h2 id="_dependencies">Dependencies</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>To start using ApplicationComposer you need to add some dependencies.</p>
</div>
@@ -150,10 +151,12 @@
</div>
</div>
</div>
+</div>
+<div class="sect1">
+<h2 id="_applicationcomposer_components">ApplicationComposer Components</h2>
+<div class="sectionbody">
<div class="sect2">
-<h3 id="_applicationcomposer_components">ApplicationComposer Components</h3>
-<div class="sect3">
-<h4 id="__module">@Module</h4>
+<h3 id="__module">@Module</h3>
<div class="paragraph">
<p>An ApplicationComposer needs at minimum a module (the application you need to deploy).</p>
</div>
@@ -216,8 +219,8 @@ public WebApp app() {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="__configuration">@Configuration</h4>
+<div class="sect2">
+<h3 id="__configuration">@Configuration</h3>
<div class="paragraph">
<p>Often you need to customize a bit the container or at least create some resources like test databases. To do so you can create a method returning Properties which will be the container properties.</p>
</div>
@@ -256,8 +259,8 @@ public class MyAppComposer() {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="__component">@Component</h4>
+<div class="sect2">
+<h3 id="__component">@Component</h3>
<div class="paragraph">
<p>Sometimes you need to customize a container component. The most common use case is the security service to mock a little bit authorization if you don’t care in your test.</p>
</div>
@@ -276,8 +279,8 @@ public SecurityService mockSecurity() {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="__descriptors">@Descriptors</h4>
+<div class="sect2">
+<h3 id="__descriptors">@Descriptors</h3>
<div class="paragraph">
<p>You can reuse existing file descriptors using @Descriptors. The name is the file name and the path either a classpath path or a file path:</p>
</div>
@@ -294,8 +297,8 @@ public class MyTest {
<p>Note: this can be put in a @Module method as well.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_services">Services</h4>
+<div class="sect2">
+<h3 id="_services">Services</h3>
<div class="paragraph">
<p>If you want to test a JAXRS or JAXWS service you need to activate these services.</p>
</div>
@@ -312,8 +315,8 @@ public class MyTest {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_random_port">Random port</h4>
+<div class="sect2">
+<h3 id="_random_port">Random port</h3>
<div class="paragraph">
<p>Services like JAXRS and JAXWS relies on HTTP. Often it is nice to have a random port to be able to deploy multiple tests/projects on the same CI platform at the same time.</p>
</div>
@@ -333,20 +336,20 @@ public class MyTest {
<p>Note: you can generate this way multiple ports. The value is the name of the service it will apply on (being said http is an alias for httpejbd which is our embedded http layer).</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_nice_logs">Nice logs</h4>
+<div class="sect2">
+<h3 id="_nice_logs">Nice logs</h3>
<div class="paragraph">
<p>@SimpleLog annotation allows you to have one liner logs</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__jaxrsprovider">@JaxrsProvider</h4>
+<div class="sect2">
+<h3 id="__jaxrsprovider">@JaxrsProvider</h3>
<div class="paragraph">
<p>@JaxrsProvider allows you to specify on a @Module method the list of JAXRS provider you want to use.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_dependencies_without_hacky_code">Dependencies without hacky code</h4>
+<div class="sect2">
+<h3 id="_dependencies_without_hacky_code">Dependencies without hacky code</h3>
<div class="paragraph">
<p>@Jars allows you to add dependencies (scanned) to your application automatically (like CDI libraries):</p>
</div>
@@ -361,20 +364,20 @@ public WebApp app() {
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="__default">@Default</h4>
+<div class="sect2">
+<h3 id="__default">@Default</h3>
<div class="paragraph">
<p>@Default (openejb one not CDI one) automatically adds in the application target/classes as binaries and src/main/webapp as resources for maven projects.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__cdiextensions">@CdiExtensions</h4>
+<div class="sect2">
+<h3 id="__cdiextensions">@CdiExtensions</h3>
<div class="paragraph">
<p>This annotation allows you to control which extensions are activated during the test.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__appresource">@AppResource</h4>
+<div class="sect2">
+<h3 id="__appresource">@AppResource</h3>
<div class="paragraph">
<p>This annotation allows injection of few particular test resources like:</p>
</div>
@@ -385,23 +388,25 @@ the test ApplicationComposers (underlyin
ContextProvider: allow to mock JAXRS contexts</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__mockinjector">@MockInjector</h4>
+<div class="sect2">
+<h3 id="__mockinjector">@MockInjector</h3>
<div class="paragraph">
<p>Allows to mock EJB injections. It decorates a dedicated method returning an instance (or Class) implementing FallbackPropertyInjector.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="__webresource">@WebResource</h4>
+<div class="sect2">
+<h3 id="__webresource">@WebResource</h3>
<div class="paragraph">
<p>Allow for web application to add folders containing web resources.</p>
</div>
</div>
</div>
+</div>
+<div class="sect1">
+<h2 id="_how_to_run_it">How to run it?</h2>
+<div class="sectionbody">
<div class="sect2">
-<h3 id="_how_to_run_it">How to run it?</h3>
-<div class="sect3">
-<h4 id="_junit">JUnit</h4>
+<h3 id="_junit">JUnit</h3>
<div class="paragraph">
<p>If you use JUnit you have mainly 2 solutions to run you "model" using the ApplicationComposer:</p>
</div>
@@ -424,8 +429,8 @@ public class MyTest { @Rule // or @Class
<p>Finally just write <code>@Test</code> method using test class injections as if the test class was a managed bean!</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_testng">TestNG</h4>
+<div class="sect2">
+<h3 id="_testng">TestNG</h3>
<div class="paragraph">
<p>TestNG integration is quite simple today and mainly ApplicationComposerListener class you can configure as a listener to get ApplicationComposer features.</p>
</div>
@@ -433,8 +438,8 @@ public class MyTest { @Rule // or @Class
<p>Finally just write TestNG @Test method using test class injections as if the test class was a managed bean!</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_standalone">Standalone</h4>
+<div class="sect2">
+<h3 id="_standalone">Standalone</h3>
<div class="paragraph">
<p>Since TomEE 7.x you can also use ApplicationComposers to directly run you ApplicationComposer model as a standalone application:</p>
</div>
@@ -454,8 +459,10 @@ public class MyTest { @Rule // or @Class
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_junit_sample">JUnit Sample</h3>
+</div>
+<div class="sect1">
+<h2 id="_junit_sample">JUnit Sample</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">@Classes(cdi = true, value = { MyService.class, MyOtherService.class })
@@ -476,8 +483,10 @@ public class MyTest {
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_start_and_deploy_once">Start and Deploy once</h3>
+</div>
+<div class="sect1">
+<h2 id="_start_and_deploy_once">Start and Deploy once</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>When having a huge suite of test it can be long to start/deploy/undeploy/shutdown he container/application for each method.</p>
</div>
@@ -524,8 +533,8 @@ using tomee-embedded.
</tr>
</table>
</div>
-<div class="sect3">
-<h4 id="_configure_what_to_deploy">Configure what to deploy</h4>
+<div class="sect2">
+<h3 id="_configure_what_to_deploy">Configure what to deploy</h3>
<div class="paragraph">
<p>As all tests will reuse the same application the model (the class declaring the application with <code>@Classes</code>, <code>@Module</code> etc…​) needs to be extracted from the test class itself.</p>
</div>
@@ -548,8 +557,8 @@ in <code>surefire</code> plugin you decl
and the associated <code>@Category</code>.</p>
</div>
</div>
-<div class="sect3">
-<h4 id="_available_injections">Available injections</h4>
+<div class="sect2">
+<h3 id="_available_injections">Available injections</h3>
<div class="ulist">
<ul>
<li>
@@ -569,12 +578,15 @@ and just expose them or wrap them in you
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_going_further">Going further</h3>
+</div>
+<div class="sect1">
+<h2 id="_going_further">Going further</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>If you want to learn more about ApplicationComposer see <a href="../../../advanced/applicationcomposer/index.html">ApplicationComposer Advanced</a> page.</p>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/developer/testing/arquillian/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/testing/arquillian/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/testing/arquillian/index.html (original)
+++ tomee/site/trunk/content/master/docs/developer/testing/arquillian/index.html Sun Dec 9 02:54:59 2018
@@ -124,8 +124,9 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_embedded_or_remote">Embedded or Remote?</h3>
+<div class="sect1">
+<h2 id="_embedded_or_remote">Embedded or Remote?</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Big advantage of embedded adapters is to be able to debug as usual. However it has few drawbacks which can make you
rething this choice:</p>
@@ -173,10 +174,12 @@ all configurations have defaults
</table>
</div>
</div>
+</div>
+<div class="sect1">
+<h2 id="_openejb_embedded">OpenEJB Embedded</h2>
+<div class="sectionbody">
<div class="sect2">
-<h3 id="_openejb_embedded">OpenEJB Embedded</h3>
-<div class="sect3">
-<h4 id="_coordinates">Coordinates</h4>
+<h3 id="_coordinates">Coordinates</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml"><dependency>
@@ -187,8 +190,8 @@ all configurations have defaults
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_arquillian_xml">arquillian.xml</h4>
+<div class="sect2">
+<h3 id="_arquillian_xml">arquillian.xml</h3>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
@@ -243,10 +246,12 @@ all configurations have defaults
</div>
</div>
</div>
+</div>
+<div class="sect1">
+<h2 id="_tomee_embedded">TomEE Embedded</h2>
+<div class="sectionbody">
<div class="sect2">
-<h3 id="_tomee_embedded">TomEE Embedded</h3>
-<div class="sect3">
-<h4 id="_coordinates_2">Coordinates</h4>
+<h3 id="_coordinates_2">Coordinates</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml"><dependency>
@@ -257,8 +262,8 @@ all configurations have defaults
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_configuration">Configuration</h4>
+<div class="sect2">
+<h3 id="_configuration">Configuration</h3>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
@@ -451,8 +456,10 @@ all configurations have defaults
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_tomee_remote">TomEE Remote</h3>
+</div>
+<div class="sect1">
+<h2 id="_tomee_remote">TomEE Remote</h2>
+<div class="sectionbody">
<div class="admonitionblock important">
<table>
<tr>
@@ -470,7 +477,7 @@ if a server is already started on host:p
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>tomee.remote.support=true
+<pre class="highlight"><code class="language-properties" data-lang="properties">tomee.remote.support=true
openejb.system.apps=true
# you can customize it depending the security level you need on the instance
@@ -501,8 +508,8 @@ tomee.serialization.class.blacklist = or
</arquillian></code></pre>
</div>
</div>
-<div class="sect3">
-<h4 id="_coordinates_3">Coordinates</h4>
+<div class="sect2">
+<h3 id="_coordinates_3">Coordinates</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml"><dependency>
@@ -513,8 +520,8 @@ tomee.serialization.class.blacklist = or
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_configuration_2">Configuration</h4>
+<div class="sect2">
+<h3 id="_configuration_2">Configuration</h3>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
@@ -765,8 +772,10 @@ tomee.serialization.class.blacklist = or
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_multiple_instances">Multiple instances</h3>
+</div>
+<div class="sect1">
+<h2 id="_multiple_instances">Multiple instances</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>With arquillian you can create cluster or isolated instances. Here is a sample <code>arquillian.xml</code>:</p>
</div>
@@ -836,6 +845,7 @@ public class MultipleTomEETest {
</div>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/developer/testing/other/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/testing/other/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/testing/other/index.html (original)
+++ tomee/site/trunk/content/master/docs/developer/testing/other/index.html Sun Dec 9 02:54:59 2018
@@ -101,8 +101,9 @@
<div class="row">
<div class="col-md-12">
- <div class="sect2">
-<h3 id="_ejbcontainer">EJBContainer</h3>
+ <div class="sect1">
+<h2 id="_ejbcontainer">EJBContainer</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>The <code>EJBContainer</code> API is a JavaEE API enriched by some OpenEJB features to make the testing easier.</p>
</div>
@@ -110,8 +111,8 @@
<p>It starts a container (embedded for case we are interested in) scanning the classpath. This operation can be
slow and if you go with this solution maybe think to start it only once for all tests.</p>
</div>
-<div class="sect3">
-<h4 id="_sample">Sample</h4>
+<div class="sect2">
+<h3 id="_sample">Sample</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">import org.junit.After;
@@ -173,13 +174,15 @@ public class ATest {
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_openejb_junit">OpenEJB JUnit</h3>
+</div>
+<div class="sect1">
+<h2 id="_openejb_junit">OpenEJB JUnit</h2>
+<div class="sectionbody">
<div class="paragraph">
<p><code>openejb-junit</code> is another artifact providing some facilities for testing.</p>
</div>
-<div class="sect3">
-<h4 id="_ejbcontainer_rule">EJBContainer Rule</h4>
+<div class="sect2">
+<h3 id="_ejbcontainer_rule">EJBContainer Rule</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">@Properties({
@@ -220,8 +223,8 @@ there is the equivalent runner: <code>@R
</table>
</div>
</div>
-<div class="sect3">
-<h4 id="_injectrule_injections_for_ejbcontainerrule">InjectRule: injections for EJBContainerRule</h4>
+<div class="sect2">
+<h3 id="_injectrule_injections_for_ejbcontainerrule">InjectRule: injections for EJBContainerRule</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">@Properties({
@@ -259,6 +262,7 @@ an alternative in <code>openejb-core</co
</div>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/developer/tools/gradle-plugins.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/tools/gradle-plugins.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/tools/gradle-plugins.html (original)
+++ tomee/site/trunk/content/master/docs/developer/tools/gradle-plugins.html Sun Dec 9 02:54:59 2018
@@ -128,7 +128,7 @@ apply plugin: 'org.apache.tomee.tomee-em
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>gradle tomee-embedded -i</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">gradle tomee-embedded -i</code></pre>
</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/developer/tools/maven/applicationcomposer.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/tools/maven/applicationcomposer.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/tools/maven/applicationcomposer.html (original)
+++ tomee/site/trunk/content/master/docs/developer/tools/maven/applicationcomposer.html Sun Dec 9 02:54:59 2018
@@ -131,11 +131,12 @@ the dependencies are retrieved with <cod
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_run_goal_configuration">Run goal configuration</h3>
+<div class="sect1">
+<h2 id="_run_goal_configuration">Run goal configuration</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>mvn process-classes applicationcomposer:run -DskipTests</code></pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">mvn process-classes applicationcomposer:run -DskipTests</code></pre>
</div>
</div>
<table class="tableblock frame-all grid-all spread table table-bordered">
@@ -175,11 +176,13 @@ the dependencies are retrieved with <cod
</tbody>
</table>
</div>
-<div class="sect2">
-<h3 id="_zip_goal_configuration">Zip goal configuration</h3>
+</div>
+<div class="sect1">
+<h2 id="_zip_goal_configuration">Zip goal configuration</h2>
+<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>mvn process-classes applicationcomposer:zip -DskipTests</code></pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">mvn process-classes applicationcomposer:zip -DskipTests</code></pre>
</div>
</div>
<table class="tableblock frame-all grid-all spread table table-bordered">
@@ -229,6 +232,7 @@ the dependencies are retrieved with <cod
</tbody>
</table>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/developer/tools/maven/embedded.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/tools/maven/embedded.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/tools/maven/embedded.html (original)
+++ tomee/site/trunk/content/master/docs/developer/tools/maven/embedded.html Sun Dec 9 02:54:59 2018
@@ -108,8 +108,9 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_configuration">Configuration</h3>
+<div class="sect1">
+<h2 id="_configuration">Configuration</h2>
+<div class="sectionbody">
<table class="tableblock frame-all grid-all spread table table-bordered">
<colgroup>
<col style="width: 33.3333%;">
@@ -322,6 +323,7 @@
</tbody>
</table>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/developer/tools/maven/tomee.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/tools/maven/tomee.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/developer/tools/maven/tomee.html (original)
+++ tomee/site/trunk/content/master/docs/developer/tools/maven/tomee.html Sun Dec 9 02:54:59 2018
@@ -145,8 +145,9 @@
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_run">Run</h3>
+<div class="sect1">
+<h2 id="_run">Run</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>The most commonly used goal, it allows to start a tomee with applications. Here is its configuration:</p>
</div>
@@ -475,8 +476,8 @@
<p>Synchronization are blocks defining a source and target folder and both are synchronized. It typically copy
<code>src/main/webapp</code> resources in <code>target/apache-tomee/webapps/myapp/</code>.</p>
</div>
-<div class="sect3">
-<h4 id="_customizers">Customizers</h4>
+<div class="sect2">
+<h3 id="_customizers">Customizers</h3>
<div class="paragraph">
<p>Customizers are java classes loadable by the plugin and with a main or implementing <code>Runnable</code> and taking optionally
as constructor parameter a <code>File</code> representing <code>tomee.base</code> or no arguments.</p>
@@ -498,8 +499,8 @@ as constructor parameter a <code>File</c
</ul>
</div>
</div>
-<div class="sect3">
-<h4 id="_dependencies_libs">Dependencies (libs)</h4>
+<div class="sect2">
+<h3 id="_dependencies_libs">Dependencies (libs)</h3>
<div class="paragraph">
<p>The format can be:</p>
</div>
@@ -512,7 +513,7 @@ as constructor parameter a <code>File</c
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>groupId:artifactId:version</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">groupId:artifactId:version</code></pre>
</div>
</div>
<div class="ulist">
@@ -524,7 +525,7 @@ as constructor parameter a <code>File</c
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>unzip:groupId:artifactId:version</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">unzip:groupId:artifactId:version</code></pre>
</div>
</div>
<div class="ulist">
@@ -536,12 +537,12 @@ as constructor parameter a <code>File</c
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code>remove:prefix</code></pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">remove:prefix</code></pre>
</div>
</div>
</div>
-<div class="sect3">
-<h4 id="_example">Example</h4>
+<div class="sect2">
+<h3 id="_example">Example</h3>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-xml" data-lang="xml"><plugin>
@@ -575,8 +576,10 @@ as constructor parameter a <code>File</c
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_build">Build</h3>
+</div>
+<div class="sect1">
+<h2 id="_build">Build</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>Excepted synchronization, build plugin inherit from <code>run</code> Mojo its configuration. It just adds the following:</p>
</div>
@@ -617,12 +620,15 @@ as constructor parameter a <code>File</c
</tbody>
</table>
</div>
-<div class="sect2">
-<h3 id="_tomcat_like_goals">Tomcat like goals</h3>
+</div>
+<div class="sect1">
+<h2 id="_tomcat_like_goals">Tomcat like goals</h2>
+<div class="sectionbody">
<div class="paragraph">
<p><code>configtest</code>, <code>start</code> and <code>stop</code> just execute these commands on the server (like on <code>catalina.sh</code>).</p>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/docs.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/docs.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/docs.html (original)
+++ tomee/site/trunk/content/master/docs/docs.html Sun Dec 9 02:54:59 2018
@@ -101,8 +101,9 @@
<div class="row">
<div class="col-md-12">
- <div class="sect2">
-<h3 id="_administration">Administration</h3>
+ <div class="sect1">
+<h2 id="_administration">Administration</h2>
+<div class="sectionbody">
<div class="ulist">
<ul>
<li>
@@ -117,8 +118,10 @@
</ul>
</div>
</div>
-<div class="sect2">
-<h3 id="_developers">Developers</h3>
+</div>
+<div class="sect1">
+<h2 id="_developers">Developers</h2>
+<div class="sectionbody">
<div class="ulist">
<ul>
<li>
@@ -145,8 +148,10 @@
</ul>
</div>
</div>
-<div class="sect2">
-<h3 id="_advanced">Advanced</h3>
+</div>
+<div class="sect1">
+<h2 id="_advanced">Advanced</h2>
+<div class="sectionbody">
<div class="ulist">
<ul>
<li>
@@ -167,6 +172,7 @@
</ul>
</div>
</div>
+</div>
</div>
</div>
Modified: tomee/site/trunk/content/master/docs/documentation.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/documentation.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/master/docs/documentation.html (original)
+++ tomee/site/trunk/content/master/docs/documentation.html Sun Dec 9 02:54:59 2018
@@ -95,7 +95,9 @@
<div class="row">
<div class="col-md-12">
- <div class="paragraph">
+ <div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
<p>See also the <a href="examples-trunk/index.html">examples page</a> for
downloadable, executable and code-focused view of Java EE and TomEE. You
can also find us on IRC freenode.org #openejb and #tomee</p>
@@ -112,15 +114,19 @@ Intellij</a><br>
Eclipse (m2e-Webby)</a><br>
<a href="tomee-and-netbeans.html">Get started with Netbeans</a></p>
</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_general_informations_link_comparison_html_comparison_openejb_tomee">General Informations link:comparison.html[Comparison: OpenEJB, TomEE,</h2>
+<div class="sectionbody">
<div class="paragraph">
-<p><mark><mark>General Informations <a href="comparison.html">Comparison: OpenEJB, TomEE,
-TomEE+</a><br>
+<p>TomEE+]<br>
<a href="tomee-directory-structure.html">TomEE Directory structure</a><br>
<a href="deploying-in-tomee.html">Deploying in TomEE</a><br>
<a href="tomee-webapp.html">The 'tomee' webapp</a><br>
<a href="refcard/refcard.html">TomEE Reference Card</a><br>
<a href="application-composer/index.html">ApplicationComposer</a><br>
-} \{span-one-third </mark>#Configuration <a href="system-properties.html">System
+} \{span-one-third <mark>#Configuration <a href="system-properties.html">System
Properties</a><br>
<a href="deployments.html">Deployments</a><br>
<a href="Configuring-in-tomee.html">Configuring Resources</a><br>
@@ -136,7 +142,7 @@ Container</a><br>
<a href="jndi-names.html">JNDI Names</a><br>
<a href="changing-jms-implementations.html">Changing JMS implementations</a><br>
<a href="tomee-and-hibernate.html">Changing JPA to Hibernate</a><br>
-} \{span-one-third #</mark>#Testing Techniques
+} \{span-one-third </mark>#Testing Techniques
<a href="application-discovery-via-the-classpath.html">Application discovery
via the classpath</a><br>
<a href="embedded-configuration.html">Embedded Configuration</a><br>
@@ -165,14 +171,18 @@ inner-class</a><br>
<a href="failover-logging.html">Logging Events</a><br>
} \{span-one-third</p>
</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_openejb_standalone_server">OpenEJB Standalone Server</h2>
+<div class="sectionbody">
<div class="paragraph">
-<p><mark>#OpenEJB Standalone Server
-<a href="understanding-the-directory-layout.html">Understanding the Directory
+<p><a href="understanding-the-directory-layout.html">Understanding the Directory
Layout</a><br>
<a href="startup.html">Startup</a><br>
<a href="deploy-tool.html">Deploy Tool</a><br>
<a href="properties-tool.html">Properties Tool</a><br>
-} \{span-one-third </mark>#Spring <a href="spring-and-openejb-3.0.html">Spring and
+} \{span-one-third ###Spring <a href="spring-and-openejb-3.0.html">Spring and
OpenEJB 3.0</a><br>
<a href="spring.html">Spring and OpenEJB 3.1 and later</a><br>
<a href="spring-ejb-and-jpa.html">Spring, EJB and JPA example</a><br>
@@ -199,6 +209,8 @@ WAR</a><br>
<a href="tip-jersey-client.html">Jersey Client</a><br>
} }</p>
</div>
+</div>
+</div>
</div>
</div>