Author: dblevins
Date: Sat Sep  7 14:26:23 2019
New Revision: 1866556

URL: http://svn.apache.org/viewvc?rev=1866556&view=rev
Log:
site update

Added:
    tomee/site/trunk/content/master/examples/async-servlet.html
Modified:
    tomee/site/trunk/content/master/examples/async-postconstruct.html
    
tomee/site/trunk/content/master/examples/bean-validation-design-by-contract.html
    tomee/site/trunk/content/master/examples/cdi-realm.html
    tomee/site/trunk/content/master/examples/cdi-session-scope.html
    tomee/site/trunk/content/master/examples/change-jaxws-url.html
    tomee/site/trunk/content/master/examples/cloud-tomee-azure.html
    tomee/site/trunk/content/master/examples/index.html
    tomee/site/trunk/content/master/examples/jsf-cdi-and-ejb.html
    
tomee/site/trunk/content/master/examples/mp-jwt-bean-validation-strongly-typed.html
    tomee/site/trunk/content/master/examples/mp-jwt-bean-validation.html

Modified: tomee/site/trunk/content/master/examples/async-postconstruct.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/async-postconstruct.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- tomee/site/trunk/content/master/examples/async-postconstruct.html (original)
+++ tomee/site/trunk/content/master/examples/async-postconstruct.html Sat Sep  
7 14:26:23 2019
@@ -106,7 +106,7 @@ just as well with little effort.</p>
 <div class="ulist">
 <ul>
 <li>
-<p>pass the construction <code>`logic'' to an `@Asynchronous</code> method via 
a
+<p>pass the construction <code>logic</code> to an <code>@Asynchronous</code> 
method via a
 <code>java.util.concurrent.Callable</code></p>
 </li>
 <li>
@@ -179,7 +179,7 @@ public class SlowStarter {
 </div>
 <div class="paragraph">
 <p>The <code>Executor</code> is a simple pattern, useful for many things, which
-exposes an interface functionaly equivalent to
+exposes an interface functionally equivalent to
 <code>java.util.concurrent.ExecutorService</code>, but with the underlying 
thread
 pool controlled by the container.</p>
 </div>

Added: tomee/site/trunk/content/master/examples/async-servlet.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/async-servlet.html?rev=1866556&view=auto
==============================================================================
--- tomee/site/trunk/content/master/examples/async-servlet.html (added)
+++ tomee/site/trunk/content/master/examples/async-servlet.html Sat Sep  7 
14:26:23 2019
@@ -0,0 +1,246 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+       <meta charset="UTF-8">
+       <meta http-equiv="X-UA-Compatible" content="IE=edge">
+       <meta name="viewport" content="width=device-width, initial-scale=1">
+       <title>Apache TomEE</title>
+       <meta name="description"
+                 content="Apache TomEE is a lightweight, yet powerful, JavaEE 
Application server with feature rich tooling." />
+       <meta name="keywords" 
content="tomee,asf,apache,javaee,jee,shade,embedded,test,junit,applicationcomposer,maven,arquillian"
 />
+       <meta name="author" content="Luka Cvetinovic for Codrops" />
+       <link rel="icon" href="../../favicon.ico">
+       <link rel="icon"  type="image/png" href="../../favicon.png">
+       <meta name="msapplication-TileColor" content="#80287a">
+       <meta name="theme-color" content="#80287a">
+       <link rel="stylesheet" type="text/css" href="../../css/normalize.css">
+       <link rel="stylesheet" type="text/css" href="../../css/bootstrap.css">
+       <link rel="stylesheet" type="text/css" href="../../css/owl.css">
+       <link rel="stylesheet" type="text/css" href="../../css/animate.css">
+       <link rel="stylesheet" type="text/css" 
href="../../fonts/font-awesome-4.1.0/css/font-awesome.min.css">
+       <link rel="stylesheet" type="text/css" 
href="../../fonts/eleganticons/et-icons.css">
+       <link rel="stylesheet" type="text/css" href="../../css/jqtree.css">
+       <link rel="stylesheet" type="text/css" href="../../css/idea.css">
+       <link rel="stylesheet" type="text/css" href="../../css/cardio.css">
+
+       <script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-2717626-1']);
+      _gaq.push(['_setDomainName', 'apache.org']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+      })();
+
+    </script>
+</head>
+
+<body>
+    <div class="preloader">
+               <img src="../../img/loader.gif" alt="Preloader image">
+       </div>
+           <nav class="navbar">
+               <div class="container">
+                 <div class="row">          <div class="col-md-12">
+
+                       <!-- Brand and toggle get grouped for better mobile 
display -->
+                       <div class="navbar-header">
+                               <button type="button" class="navbar-toggle 
collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
+                                       <span class="sr-only">Toggle 
navigation</span>
+                                       <span class="icon-bar"></span>
+                                       <span class="icon-bar"></span>
+                                       <span class="icon-bar"></span>
+                               </button>
+                               <a class="navbar-brand" href="/">
+                                   <span>
+
+                                   
+                        <img src="../../img/logo-active.png">
+                    
+
+                    </span>
+                                   Apache TomEE
+                </a>
+                       </div>
+                       <!-- Collect the nav links, forms, and other content 
for toggling -->
+                       <div class="collapse navbar-collapse" 
id="bs-example-navbar-collapse-1">
+                               <ul class="nav navbar-nav navbar-right 
main-nav">
+                                       <li><a 
href="../../docs.html">Documentation</a></li>
+                                       <li><a 
href="../../community/index.html">Community</a></li>
+                                       <li><a 
href="../../security/security.html">Security</a></li>
+                                       <li><a 
href="../../download-ng.html">Downloads</a></li>
+                               </ul>
+                       </div>
+                       <!-- /.navbar-collapse -->
+                  </div></div>
+               </div>
+               <!-- /.container-fluid -->
+       </nav>
+
+
+    <div id="main-block" class="container main-block">
+        <div class="row title">
+          <div class="col-md-12">
+            <div class='page-header'>
+              
+              <h1>Async Servlet</h1>
+            </div>
+          </div>
+        </div>
+        <div class="row">
+            
+            <div class="col-md-12">
+                <div class="sect1">
+<h2 id="_async_servlet">Async Servlet</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>Servlets can be run asynchronously - this can be useful if your servlet 
performs long-running operations, such as calling
+other services using an asynchronous client.</p>
+</div>
+<div class="paragraph">
+<p>Mark your servlet as <code>asyncSupported</code>, and call 
Request.startAsync(). This will return an AsyncContext object. Your
+code will need to call AsyncContext.dispatch() when it is finished.</p>
+</div>
+<div class="paragraph">
+<p>WARNING:</p>
+</div>
+<div class="paragraph">
+<p>Section 2.3.3.4 of Servlet 3.0 Spec says "Other than the startAsync and 
complete methods, implementations of the request and response objects are not 
guaranteed to be thread safe. This means that they should either only be used 
within the scope of the request handling thread or the application must ensure 
that access to the request and response objects are thread safe."</p>
+</div>
+<div class="paragraph">
+<p>If you write to the response directly from your Runnable (#1 below), you 
risk a race condition with another thread using the response.
+This is particularly noticeable when Async requests timeout, as containers 
will recycle the Request and Response object to use for another request.</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlight"><code class="language-java" 
data-lang="java">@WebServlet(urlPatterns = "/*", asyncSupported = true)
+public class CalcServlet extends HttpServlet {
+
+       private final ExecutorService executorService = 
Executors.newFixedThreadPool(10);
+
+       @Override
+       protected void doGet(final HttpServletRequest req, final 
HttpServletResponse resp) throws ServletException, IOException {
+
+               final AsyncContext asyncContext = req.startAsync();
+               asyncContext.setTimeout(timeout);
+               asyncContext.start(new Runnable() {
+                       @Override
+                       public void run() {
+                               try {
+                                       // do work &lt;!-- 1 --&gt;
+                               } catch (final Exception e) {
+                    // handle exceptions
+                               } finally {
+                                       asyncContext.dispatch();
+                               }
+                       }
+               });
+       }
+
+
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Steps to replicate:</p>
+</div>
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Run <code>mvn clean install</code>. The Servlet is tested using 
Arquillian.</p>
+</li>
+</ol>
+</div>
+</div>
+</div>
+            </div>
+            
+        </div>
+    </div>
+<footer>
+               <div class="container">
+                       <div class="row">
+                               <div class="col-sm-6 text-center-mobile">
+                                       <h3 class="white">Be simple.  Be 
certified. Be Tomcat.</h3>
+                                       <h5 class="light regular 
light-white">"A good application in a good server"</h5>
+                                       <ul class="social-footer">
+                                               <li><a 
href="https://www.facebook.com/ApacheTomEE/";><i class="fa 
fa-facebook"></i></a></li>
+                                               <li><a 
href="https://twitter.com/apachetomee";><i class="fa fa-twitter"></i></a></li>
+                                               <li><a 
href="https://plus.google.com/communities/105208241852045684449";><i class="fa 
fa-google-plus"></i></a></li>
+                                       </ul>
+                               </div>
+                               <div class="col-sm-6 text-center-mobile">
+                                       <div class="row opening-hours">
+                                               <div class="col-sm-3 
text-center-mobile">
+                                                       <h5><a 
href="../../latest/docs/documentation.html" class="white">Documentation</a></h5>
+                                                       <ul 
class="list-unstyled">
+                                                               <li><a 
href="../../latest/docs/admin/configuration/index.html" class="regular 
light-white">How to configure</a></li>
+                                                               <li><a 
href="../../latest/docs/admin/file-layout.html" class="regular 
light-white">Dir. Structure</a></li>
+                                                               <li><a 
href="../../latest/docs/developer/testing/index.html" class="regular 
light-white">Testing</a></li>
+                                                               <li><a 
href="../../latest/docs/admin/cluster/index.html" class="regular 
light-white">Clustering</a></li>
+                                                       </ul>
+                                               </div>
+                                               <div class="col-sm-3 
text-center-mobile">
+                                                       <h5><a 
href="../../latest/examples/" class="white">Examples</a></h5>
+                                                       <ul 
class="list-unstyled">
+                                                               <li><a 
href="../../latest/examples/simple-cdi-interceptor.html" class="regular 
light-white">CDI Interceptor</a></li>
+                                                               <li><a 
href="../../latest/examples/rest-cdi.html" class="regular light-white">REST 
with CDI</a></li>
+                                                               <li><a 
href="../../latest/examples/ejb-examples.html" class="regular 
light-white">EJB</a></li>
+                                                               <li><a 
href="../../latest/examples/jsf-managedBean-and-ejb.html" class="regular 
light-white">JSF</a></li>
+                                                       </ul>
+                                               </div>
+                                               <div class="col-sm-3 
text-center-mobile">
+                                                       <h5><a 
href="../../community/index.html" class="white">Community</a></h5>
+                                                       <ul 
class="list-unstyled">
+                                                               <li><a 
href="../../community/contributors.html" class="regular 
light-white">Contributors</a></li>
+                                                               <li><a 
href="../../community/social.html" class="regular light-white">Social</a></li>
+                                                               <li><a 
href="../../community/sources.html" class="regular light-white">Sources</a></li>
+                                                       </ul>
+                                               </div>
+                                               <div class="col-sm-3 
text-center-mobile">
+                                                       <h5><a 
href="../../security/index.html" class="white">Security</a></h5>
+                                                       <ul 
class="list-unstyled">
+                                                               <li><a 
href="http://apache.org/security"; target="_blank" class="regular 
light-white">Apache Security</a></li>
+                                                               <li><a 
href="http://apache.org/security/projects.html"; target="_blank" class="regular 
light-white">Security Projects</a></li>
+                                                               <li><a 
href="http://cve.mitre.org"; target="_blank" class="regular 
light-white">CVE</a></li>
+                                                       </ul>
+                                               </div>
+                                       </div>
+                               </div>
+                       </div>
+                       <div class="row bottom-footer text-center-mobile">
+                               <div class="col-sm-12 light-white">
+                                       <p>Copyright &copy; 1999-2016 The 
Apache Software Foundation, Licensed under the Apache License, Version 2.0. 
Apache TomEE, TomEE, Apache, the Apache feather logo, and the Apache TomEE 
project logo are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners.</p>
+                               </div>
+                       </div>
+               </div>
+       </footer>
+       <!-- Holder for mobile navigation -->
+       <div class="mobile-nav">
+        <ul>
+          <li><a hef="../../latest/docs/admin/index.html">Administrators</a>
+          <li><a hef="../../latest/docs/developer/index.html">Developers</a>
+          <li><a hef="../../latest/docs/advanced/index.html">Advanced</a>
+          <li><a hef="../../community/index.html">Community</a>
+        </ul>
+               <a href="#" class="close-link"><i class="arrow_up"></i></a>
+       </div>
+       <!-- Scripts -->
+       <script src="../../js/jquery-1.11.1.min.js"></script>
+       <script src="../../js/owl.carousel.min.js"></script>
+       <script src="../../js/bootstrap.min.js"></script>
+       <script src="../../js/wow.min.js"></script>
+       <script src="../../js/typewriter.js"></script>
+       <script src="../../js/jquery.onepagenav.js"></script>
+       <script src="../../js/tree.jquery.js"></script>
+       <script src="../../js/highlight.pack.js"></script>
+    <script src="../../js/main.js"></script>
+               </body>
+
+</html>
+

Modified: 
tomee/site/trunk/content/master/examples/bean-validation-design-by-contract.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/bean-validation-design-by-contract.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- 
tomee/site/trunk/content/master/examples/bean-validation-design-by-contract.html
 (original)
+++ 
tomee/site/trunk/content/master/examples/bean-validation-design-by-contract.html
 Sat Sep  7 14:26:23 2019
@@ -103,12 +103,20 @@
 method validation.</p>
 </div>
 <div class="paragraph">
-<p>Some implementions of this JSR implement this appendix (Apache bval,
-Hibernate validator for example).</p>
+<p>Some implementions of this JSR implement this appendix (Apache BVal,
+Hibernate Validator for example).</p>
 </div>
-<div class="paragraph">
-<p>OpenEJB provides an interceptor which allows you to use this feature to
-do design by contract.</p>
+<div class="admonitionblock note">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-note" title="Note"></i>
+</td>
+<td class="content">
+If you override or implement a method, which has constraints, you need to 
re-add the constraints to the new method.
+</td>
+</tr>
+</table>
 </div>
 </div>
 </div>
@@ -122,38 +130,13 @@ at pole vaulting:</p>
 </div>
 <div class="literalblock">
 <div class="content">
-<pre>@Local
-public interface PoleVaultingManager {
-    int points(@Min(120) int centimeters);
-}</pre>
-</div>
-</div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="_usage">Usage</h2>
-<div class="sectionbody">
-<div class="paragraph">
-<p>TomEE and OpenEJB do not provide anymore
-<code>BeanValidationAppendixInterceptor</code> since Bean Validation 1.1 does 
it
-(with a slighly different usage but the exact same feature).</p>
-</div>
-<div class="paragraph">
-<p>So basically you don’t need to configure anything to use it. # Errors</p>
-</div>
-<div class="paragraph">
-<p>If a parameter is not validated an exception is thrown, it is an
-EJBException wrapping a ConstraintViolationException:</p>
-</div>
-<div class="literalblock">
-<div class="content">
-<pre>try {
-    gamesManager.addSportMan("I lose", "EN");
-    fail("no space should be in names");
-} catch (EJBException wrappingException) {
-    assertTrue(wrappingException.getCause() instanceof 
ConstraintViolationException);
-    ConstraintViolationException exception = 
ConstraintViolationException.class.cast(wrappingException.getCausedByException());
-    assertEquals(1, exception.getConstraintViolations().size());
+<pre>@Stateless
+public class PoleVaultingManagerBean
+{
+    public int points(@Min(120) int centimeters)
+    {
+        return centimeters - 120;
+    }
 }</pre>
 </div>
 </div>
@@ -191,12 +174,16 @@ public class OlympicGamesManager {
 <div class="content">
 <pre>package org.superbiz.designbycontract;
 
-import javax.ejb.Local;
+import javax.ejb.Stateless;
 import javax.validation.constraints.Min;
 
-@Local
-public interface PoleVaultingManager {
-    int points(@Min(120) int centimeters);
+@Stateless
+public class PoleVaultingManagerBean
+{
+    public int points(@Min(120) int centimeters)
+    {
+        return centimeters - 120;
+    }
 }</pre>
 </div>
 </div>

Modified: tomee/site/trunk/content/master/examples/cdi-realm.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/cdi-realm.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- tomee/site/trunk/content/master/examples/cdi-realm.html (original)
+++ tomee/site/trunk/content/master/examples/cdi-realm.html Sat Sep  7 14:26:23 
2019
@@ -101,7 +101,7 @@
 <p>This example shows how to secure access to a web resource provided by a 
servlet. For this, we will use realms.</p>
 </div>
 <div class="paragraph">
-<p>A <a 
href="https://docs.oracle.com/javaee/6/tutorial/doc/bnbxj.html";>realm</a>, in 
JEE world, is a security policy domain defined for a web or application server.
+<p>A <a 
href="https://javaee.github.io/tutorial/security-intro005.html#BNBXJ";>realm</a>,
 in JEE world, is a security policy domain defined for a web or application 
server.
 A realm contains a collection of users, who may or may not be assigned to a 
group.</p>
 </div>
 <div class="paragraph">
@@ -118,7 +118,7 @@ For this reason, Tomcat servlet containe
 <h2 id="_example">Example</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>This example shows a servlet secured using a realm. The secured servlet has 
a simple functionality, just for ilustrating the concepts explained here:</p>
+<p>This example shows a servlet secured using a realm. The secured servlet has 
a simple functionality, just for illustrating the concepts explained here:</p>
 </div>
 <div class="literalblock">
 <div class="content">

Modified: tomee/site/trunk/content/master/examples/cdi-session-scope.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/cdi-session-scope.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- tomee/site/trunk/content/master/examples/cdi-session-scope.html (original)
+++ tomee/site/trunk/content/master/examples/cdi-session-scope.html Sat Sep  7 
14:26:23 2019
@@ -118,7 +118,7 @@ beans that inject it throughout the same
 <h2 id="_example">Example</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>This example has an end point wherein a user provides a request parameter 
'name' which is persisted as a feild in a session scoped bean SessionBean and
+<p>This example has an endpoint wherein a user provides a request parameter 
<code>name</code> which is persisted as a field in a session scoped bean 
<code>SessionBean</code> and
 then retrieved through another endpoint.</p>
 </div>
 </div>
@@ -135,7 +135,7 @@ then retrieved through another endpoint.
 <h2 id="_response">Response</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>done, go to /name servlet</p>
+<p><code>done, go to /name servlet</code></p>
 </div>
 </div>
 </div>
@@ -159,7 +159,7 @@ then retrieved through another endpoint.
 <h2 id="_sessionbean">SessionBean</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>The annotation @SessionScoped specifies that a bean is session scoped ie 
there will be only one instance of the class associated with a particular 
HTTPSession.</p>
+<p>The annotation <code>@SessionScoped</code> specifies that a bean is session 
scoped ie there will be only one instance of the class associated with a 
particular HTTPSession.</p>
 </div>
 <div class="listingblock">
 <div class="content">
@@ -184,8 +184,8 @@ public class SessionBean implements Seri
 <h2 id="_inputservlet">InputServlet</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>InputServlet is a generic servlet which is mapped to the url pattern 
'/set-name'.
-The session scoped bean 'SessionBean' has been injected into this servlet, and 
the incoming request parameter is set to the feild name of the bean.</p>
+<p><code>InputServlet</code> is a generic servlet which is mapped to the url 
pattern <code>/set-name</code>.
+The session scoped bean <code>SessionBean</code> has been injected into this 
servlet, and the incoming request parameter is set to the field 
<code>name</code> of the bean.</p>
 </div>
 <div class="listingblock">
 <div class="content">
@@ -216,7 +216,8 @@ public class InputServlet extends HttpSe
 <h2 id="_answerbean">AnswerBean</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>AnswerBean is a request scoped bean with an injected 'SessionBean'. It has 
an postconstruct method wherein the value from the sessionBean is retrieved and 
set to a feild.</p>
+<p><code>AnswerBean</code> is a request scoped bean with an injected 
<code>SessionBean</code>. It has an <code>@PostConstruct</code> method
+wherein the value from the <code>SessionBean</code> is retrieved and set to a 
field.</p>
 </div>
 <div class="listingblock">
 <div class="content">
@@ -244,7 +245,7 @@ public class InputServlet extends HttpSe
 <h2 id="_outputservlet">OutputServlet</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>OutputServlet is another servlet with  'AnswerBean' as an injected feild. 
When '/name' is called the value from 'Answerbean' is read and written to the 
response.</p>
+<p><code>OutputServlet</code> is another servlet with  <code>AnswerBean</code> 
as an injected field. When <code>/name</code> is called the value from 
<code>AnswerBean</code> is read and written to the response.</p>
 </div>
 <div class="listingblock">
 <div class="content">

Modified: tomee/site/trunk/content/master/examples/change-jaxws-url.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/change-jaxws-url.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- tomee/site/trunk/content/master/examples/change-jaxws-url.html (original)
+++ tomee/site/trunk/content/master/examples/change-jaxws-url.html Sat Sep  7 
14:26:23 2019
@@ -100,11 +100,11 @@
 right to edit this page.</em></p>
 </div>
 <div class="paragraph">
-<p>To change a webservice deployment URI one solution is to use
-openejb-jar.xml.</p>
+<p>To change a web service deployment URI one solution is to use
+<code>openejb-jar.xml</code>.</p>
 </div>
 <div class="paragraph">
-<p>In this sample we have a webservice though the class Rot13:</p>
+<p>In this sample we have a web service through the class 
<code>Rot13</code>:</p>
 </div>
 <div class="literalblock">
 <div class="content">
@@ -138,10 +138,10 @@ public class Rot13 {
 </div>
 </div>
 <div class="paragraph">
-<p>We decide to deploy to /tool/rot13 url.</p>
+<p>We decide to deploy to <code>/tool/rot13</code> url.</p>
 </div>
 <div class="paragraph">
-<p>To do so we first define it in openejb-jar.xml:</p>
+<p>To do so we first define it in <code>openejb-jar.xml</code>:</p>
 </div>
 <div class="literalblock">
 <div class="content">
@@ -157,13 +157,13 @@ public class Rot13 {
 </div>
 </div>
 <div class="paragraph">
-<p>It is not enough since by default TomEE deploys the webservices in a
-subcontext called webservices. To skip it simply set the system property
-tomee.jaxws.subcontext to / (done in arquillian.xml for our test).</p>
+<p>It is not enough since by default TomEE deploys the webs ervices in a
+subcontext called <code>webservices</code>. To skip it simply set the system 
property
+<code>tomee.jaxws.subcontext</code> to <code>/</code> (done in 
<code>arquillian.xml</code> for our test).</p>
 </div>
 <div class="paragraph">
-<p>Then now our Rot13 webservice is deployed as expected to /tool/rot13 and
-we check it with arquillian and tomee embedded:</p>
+<p>Then now our <code>Rot13</code> web service is deployed as expected to 
<code>/tool/rot13</code> and
+we check it with Arquillian and TomEE embedded:</p>
 </div>
 <div class="literalblock">
 <div class="content">

Modified: tomee/site/trunk/content/master/examples/cloud-tomee-azure.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/cloud-tomee-azure.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- tomee/site/trunk/content/master/examples/cloud-tomee-azure.html (original)
+++ tomee/site/trunk/content/master/examples/cloud-tomee-azure.html Sat Sep  7 
14:26:23 2019
@@ -111,7 +111,7 @@ in order to generate a fat jar. This jar
 <div class="sectionbody">
 <div class="paragraph">
 <p>In order for the Azure plugin to work, you will need to have an Azure 
account and add a subscription to it.
-Then, on yor development machine, install the Azure command-line interface 
(CLI) and authenticate with the command
+Then, on your development machine, install the Azure command-line interface 
(CLI) and authenticate with the command
 line, before you can deploy your application.</p>
 </div>
 <div class="ulist">
@@ -189,7 +189,7 @@ The appId is the identification of the a
 <div class="sect2">
 <h3 id="_configure_maven">Configure Maven</h3>
 <div class="paragraph">
-<p>You could continue just using the Azure CLI for authentication but we can 
also do it permanently with maven.</p>
+<p>You could continue just using the Azure CLI for authentication but we can 
also do it permanently with Maven.</p>
 </div>
 <div class="paragraph">
 <p>In that case we need to edit Maven&#8217;s settings.xml so the 
azure-webapp-maven-plugin can authenticate against Azure:</p>

Modified: tomee/site/trunk/content/master/examples/index.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/index.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- tomee/site/trunk/content/master/examples/index.html (original)
+++ tomee/site/trunk/content/master/examples/index.html Sat Sep  7 14:26:23 2019
@@ -284,20 +284,24 @@
             </ul>
           </div>
           <div class="col-md-4">
-            <div class="group-title">Webservice</div>
+            <div class="group-title">Servlet</div>
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="webservice-ws-with-resources-config.html">Webservice JAX-WS - Resources 
config</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="async-servlet.html">Async Servlet</a></li>
             </ul>
           </div>
         </div>
         <div class="row">
           <div class="col-md-4">
-            <div class="group-title">JMS</div>
+            <div class="group-title">Webservice</div>
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="tomee-jms-portability.html">Portability 
between ActiveMQ and IBM MQ</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="webservice-ws-with-resources-config.html">Webservice JAX-WS - Resources 
config</a></li>
             </ul>
           </div>
           <div class="col-md-4">
+            <div class="group-title">JMS</div>
+            <ul class="group">
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="tomee-jms-portability.html">Portability 
between ActiveMQ and IBM MQ</a></li>
+            </ul>
           </div>
           <div class="col-md-4">
           </div>
@@ -336,69 +340,67 @@
         </div>
         <div class="row">
           <div class="col-md-12">
-            <div class="group-title large">Misc</div>
+            <div class="group-title large">Unknown</div>
           </div>
         </div>
         <div class="row">
           <div class="col-md-4">
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="applet.html">Applet</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="ejb-examples.html">EJB Examples</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="ejb-remote-call.html">EJB Remote 
Call</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="ejb-remote-call-2.html">EJB Remote Call 
2</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="ejb-webservice.html">EJB Webservice</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="xa-datasource.html">Injection Of 
Entitymanager</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="java-modules.html">java-modules</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/mp-metrics-gauge.html">mp-metrics-gauge</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/schedule-methods-meta.html">schedule-methods-meta</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/testing-security-meta.html">testing-security-meta</a></li>
             </ul>
           </div>
           <div class="col-md-4">
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="helloworld-weblogic.html">Helloworld 
Weblogic</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="jaxrs-filter.html">JAX-RS Filter</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="jsf-managedBean-and-ejb.html">JSF 
Application that uses managed-bean and ejb</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="jsf-cdi-and-ejb.html">JSF-CDI-EJB</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="moviefun.html">Movies Complete</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="vaadin-lts-v08-simple.html">vaadin-lts-v08-simple</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="vaadin-lts-v10-simple.html">vaadin-lts-v10-simple</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="vaadin-vxx-simple.html">vaadin-vxx-simple</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-holder.html">webservice-holder</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-inheritance.html">webservice-inheritance</a></li>
             </ul>
           </div>
           <div class="col-md-4">
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="mvc-cxf.html">MVC-CXF</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="mvc-cxf-hibernate.html">MVC-CXF-Hibernate</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="mvc-resteasy.html">MVC-RestEasy</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="polling-parent.html">Polling</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-security.html">webservice-security</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-ssl-client-cert.html">webservice-ssl-client-cert</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-ws-security.html">webservice-ws-security</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/websocket-tls-basic-auth.html">websocket-tls-basic-auth</a></li>
             </ul>
           </div>
         </div>
         <div class="row">
           <div class="col-md-12">
-            <div class="group-title large">Unknown</div>
+            <div class="group-title large">Misc</div>
           </div>
         </div>
         <div class="row">
           <div class="col-md-4">
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="index.html">index</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="xa-datasource.html">Injection Of 
Entitymanager</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="java-modules.html">java-modules</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/mp-metrics-gauge.html">mp-metrics-gauge</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/schedule-methods-meta.html">schedule-methods-meta</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/testing-security-meta.html">testing-security-meta</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="applet.html">Applet</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="ejb-examples.html">EJB Examples</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="ejb-remote-call.html">EJB Remote 
Call</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="ejb-remote-call-2.html">EJB Remote Call 
2</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="ejb-webservice.html">EJB Webservice</a></li>
             </ul>
           </div>
           <div class="col-md-4">
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="cloud-tomee-azure.html">TomEE deployment on 
Azure</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="vaadin-lts-v08-simple.html">vaadin-lts-v08-simple</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="vaadin-lts-v10-simple.html">vaadin-lts-v10-simple</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="vaadin-vxx-simple.html">vaadin-vxx-simple</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-holder.html">webservice-holder</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-inheritance.html">webservice-inheritance</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="helloworld-weblogic.html">Helloworld 
Weblogic</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="jaxrs-filter.html">JAX-RS Filter</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="jsf-managedBean-and-ejb.html">JSF 
Application that uses managed-bean and ejb</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="jsf-cdi-and-ejb.html">JSF-CDI-EJB</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="moviefun.html">Movies Complete</a></li>
             </ul>
           </div>
           <div class="col-md-4">
             <ul class="group">
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-security.html">webservice-security</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-ssl-client-cert.html">webservice-ssl-client-cert</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/webservice-ws-security.html">webservice-ws-security</a></li>
-              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="examples/websocket-tls-basic-auth.html">websocket-tls-basic-auth</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="mvc-cxf.html">MVC-CXF</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="mvc-cxf-hibernate.html">MVC-CXF-Hibernate</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="mvc-resteasy.html">MVC-RestEasy</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="polling-parent.html">Polling</a></li>
             </ul>
           </div>
         </div>
@@ -474,6 +476,7 @@
               <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="simple-stateless-callbacks.html">Simple 
Stateless with callback methods</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a 
href="simple-webservice-without-interface.html">Simple Webservice Without 
Interface</a></li>
               <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="testing-transactions-bmt.html">Testing 
Transactions BMT</a></li>
+              <li class="group-item"><span class="group-item-i" ><i class="fa 
fa-angle-right"></i></span><a href="cloud-tomee-azure.html">TomEE deployment on 
Azure</a></li>
             </ul>
           </div>
         </div>

Modified: tomee/site/trunk/content/master/examples/jsf-cdi-and-ejb.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/jsf-cdi-and-ejb.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- tomee/site/trunk/content/master/examples/jsf-cdi-and-ejb.html (original)
+++ tomee/site/trunk/content/master/examples/jsf-cdi-and-ejb.html Sat Sep  7 
14:26:23 2019
@@ -192,18 +192,16 @@ method is invoked.</p>
 it and then returns what view is to be rendered.</p>
 </div>
 <div class="paragraph">
-<p>The return value ``success'' is checked up in faces-config
+<p>The return value <code>success</code> is checked up in faces-config
 navigation-rules and the respective page is rendered.</p>
 </div>
 <div class="paragraph">
-<p>In our case, <code>result.xhtml' page is rendered where use EL and display
-the result from the request-scoped `calculatorBean</code>.</p>
-</div>
-<div class="paragraph">
-<p>#Source Code</p>
+<p>In our case, <code>result.xhtml</code> page is rendered where use EL and 
display
+the result from the request-scoped <code>calculatorBean</code>.</p>
 </div>
 </div>
 </div>
+<h1 id="_source_code" class="sect0">Source Code</h1>
 <div class="sect1">
 <h2 id="_calculatorbean">CalculatorBean</h2>
 <div class="sectionbody">

Modified: 
tomee/site/trunk/content/master/examples/mp-jwt-bean-validation-strongly-typed.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/mp-jwt-bean-validation-strongly-typed.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- 
tomee/site/trunk/content/master/examples/mp-jwt-bean-validation-strongly-typed.html
 (original)
+++ 
tomee/site/trunk/content/master/examples/mp-jwt-bean-validation-strongly-typed.html
 Sat Sep  7 14:26:23 2019
@@ -98,6 +98,18 @@
                 <div class="paragraph">
 <p>TODO</p>
 </div>
+<div class="admonitionblock caution">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-caution" title="Caution"></i>
+</td>
+<td class="content">
+This feature has been temporarily removed in <code>master</code> and needs to 
be reworked.  It is anticipated this will complete before Apache TomEE 8.0.0 
final.
+</td>
+</tr>
+</table>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/master/examples/mp-jwt-bean-validation.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/master/examples/mp-jwt-bean-validation.html?rev=1866556&r1=1866555&r2=1866556&view=diff
==============================================================================
--- tomee/site/trunk/content/master/examples/mp-jwt-bean-validation.html 
(original)
+++ tomee/site/trunk/content/master/examples/mp-jwt-bean-validation.html Sat 
Sep  7 14:26:23 2019
@@ -98,6 +98,18 @@
                 <div class="paragraph">
 <p>TomEE has a fun feature that allows the use of Bean Validation as an 
alternative or compliment to the <code>@RolesAllowed</code> annotation.  The 
motivation of the feature is that <code>JsonWebToken</code> is effectively a 
bean and a security check is ultimately an act of producing a boolean result 
using some minimal input.  It is a perfect problem for Bean Validation.</p>
 </div>
+<div class="admonitionblock caution">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-caution" title="Caution"></i>
+</td>
+<td class="content">
+This feature has been temporarily removed in <code>master</code> and needs to 
be reworked.  It is anticipated this will complete before Apache TomEE 8.0.0 
final.
+</td>
+</tr>
+</table>
+</div>
 <div class="paragraph">
 <p>The feature ultimately allows you to implement a method like this:</p>
 </div>


Reply via email to