You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2014/07/08 14:21:07 UTC

svn commit: r915480 - in /websites/staging/tomee/trunk: cgi-bin/ content/ content/examples-trunk/bval-evaluation-redeployment/ content/examples-trunk/bval-evaluation-redeployment/WebApp1/ content/examples-trunk/bval-evaluation-redeployment/WebApp1/src/...

Author: buildbot
Date: Tue Jul  8 12:21:06 2014
New Revision: 915480

Log:
Staging update by buildbot for tomee

Added:
    websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/README.html
    websites/staging/tomee/trunk/content/examples-trunk/mtom/README.html
Modified:
    websites/staging/tomee/trunk/cgi-bin/   (props changed)
    websites/staging/tomee/trunk/content/   (props changed)
    websites/staging/tomee/trunk/content/deployments.html
    websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp1/nb-configuration.xml
    websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp1/src/main/webapp/WEB-INF/openejb-jar.xml
    websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/nb-configuration.xml
    websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/openejb-jar.xml
    websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java
    websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/resources/arquillian.xml
    websites/staging/tomee/trunk/content/examples-trunk/cdi-realm/src/main/java/org/superbiz/AuthBean.java
    websites/staging/tomee/trunk/content/examples-trunk/client-resource-lookup-preview/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/datasource-versioning/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/MockedPageBeanTest.java
    websites/staging/tomee/trunk/content/examples-trunk/ejb-examples/src/main/java/org/superbiz/servlet/SecureServlet.java
    websites/staging/tomee/trunk/content/examples-trunk/lookup-of-ejbs/src/test/java/org/superbiz/ejblookup/EjbDependencyTest.java
    websites/staging/tomee/trunk/content/examples-trunk/moviefun-rest/src/test/java/org/superbiz/moviefun/MoviesTest.java
    websites/staging/tomee/trunk/content/examples-trunk/moviefun/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/mtom/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/multiple-arquillian-adapters/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/multiple-tomee-arquillian/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/domain/validation/DifferentNameValidator.java
    websites/staging/tomee/trunk/content/examples-trunk/projectstage-demo/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/pu/CacheActivationTest.java
    websites/staging/tomee/trunk/content/examples-trunk/scala-basic/build.sbt
    websites/staging/tomee/trunk/content/examples-trunk/scala-basic/pom.xml
    websites/staging/tomee/trunk/content/examples-trunk/scala-basic/src/main/scala/org/superbiz/GreetingService.scala
    websites/staging/tomee/trunk/content/examples-trunk/scala-basic/src/test/scala/org/superbiz/GreetingServiceTest.scala
    websites/staging/tomee/trunk/content/examples-trunk/simple-cmp2/src/main/java/org/superbiz/cmp2/MovieBean.java
    websites/staging/tomee/trunk/content/examples-trunk/testing-transactions-bmt/src/main/java/org/superbiz/injection/tx/Movie.java

Propchange: websites/staging/tomee/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul  8 12:21:06 2014
@@ -1 +1 @@
-1607436
+1608743

Propchange: websites/staging/tomee/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul  8 12:21:06 2014
@@ -1 +1 @@
-1607436
+1608743

Modified: websites/staging/tomee/trunk/content/deployments.html
==============================================================================
--- websites/staging/tomee/trunk/content/deployments.html (original)
+++ websites/staging/tomee/trunk/content/deployments.html Tue Jul  8 12:21:06 2014
@@ -174,7 +174,7 @@ pointing to the directory containing the
 
 <p>The directories listed will be searched for jars containing
 'META-INF/ejb-jar.xml' files and will be added to the list of jars to load
-if they do.  Better said, it's completely save to point to a directory
+if they do.  Better said, it's completely safe to point to a directory
 containing a mix of ejbs and regular jar files.  OpenEJB will simply skip
 over jars that do contain the required 'META-INF/ejb-jar.xml' file.</p>
 

Added: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/README.html
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/README.html (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/README.html Tue Jul  8 12:21:06 2014
@@ -0,0 +1,221 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title></title>
+    <meta name="description" content="Apache TomEE">
+    <meta name="author" content="Apache TomEE">
+	<meta name="google-translate-customization" content="f36a520c08f4c9-0a04e86a9c075ce9-g265f3196f697cf8f-10"></meta>
+	<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
+	<META HTTP-EQUIV="Expires" CONTENT="-1">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./../../resources/css/bootstrap.css" rel="stylesheet">
+    <link href="./../../resources/css/prettify.css" rel="stylesheet">
+    <link href="./../../resources/css/bootstrap-mods.css" rel="stylesheet">
+    <link href="./../../resources/css/main.css" rel="stylesheet">
+
+    <script type="text/javascript">
+      function fbshare () {
+          window.open(
+                  "http://www.facebook.com/sharer/sharer.php?u="+document.URL,
+                  'Share on Facebook',
+                  'width=640,height=426');
+      };
+      function gpshare () {
+          window.open(
+                  "https://plus.google.com/share?url="+document.URL,
+                  'Share on Google+',
+                  'width=584,height=385');
+      };
+      function twshare () {
+          window.open(
+                  "https://twitter.com/intent/tweet?url="+document.URL+"&text=",
+                  'Share on Twitter',
+                  'width=800,height=526');
+      };
+    </script>
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./../../resources/images/favicon.ico">
+    <link rel="apple-touch-icon" href="./../../resources/images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./../../resources/images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./../../resources/images/apple-touch-icon-114x114.png">
+
+    <script src="./../../resources/js/prettify.js" type="text/javascript"></script>
+    <script src="./../../resources/js/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./../../resources/js/common.js"></script>
+    <script src="./../../resources/js/prettyprint.js"></script>
+
+    <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="topbar" data-dropdown="dropdown">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./../../index.html">Apache TomEE</a>
+          <ul class="nav">
+              <li class="dropdown">
+                  <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+                  Apache
+                      <b class="caret"></b>
+                  </a>
+                  <ul class="dropdown-menu">
+                     <!-- <li><a href="./../../misc/whoweare.html">Who we are?</a></li> -->
+                     <!-- <li><a href="./../../misc/heritage.html">Heritage</a></li> -->
+                     <li><a href="http://www.apache.org">Apache Home</a></li>
+                     <!-- <li><a href="./../../misc/resources.html">Resources</a></li> -->
+                     <li><a href="./../../misc/contact.html">Contact</a></li>
+                     <li><a href="./../../misc/legal.html">Legal</a></li>
+                     <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+                     <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+                     <li class="divider"/>
+                     <li><a href="http://www.apache.org/security">Security</a></li>
+                  </ul>
+              </li>
+              <li><a href="./../../index.html">Home</a></li>
+              <li><a href="./../../downloads.html">Downloads</a></li>
+              <li><a href="./../../documentation.html">Documentation</a></li>
+              <li><a href="./../../examples-trunk/index.html">Examples</a></li>
+              <li><a href="./../../support.html">Support</a></li>
+              <li><a href="./../../security/index.html">Security</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+    
+
+<div class="row">
+    <div class="span8">
+        <small><a href="./../../index.html">Home</a>&nbsp;&raquo&nbsp;<a href="./../../examples-trunk/">Examples Trunk</a>&nbsp;&raquo&nbsp;<a href="./../../examples-trunk/bval-evaluation-redeployment/">Bval Evaluation Redeployment</a></small><br>
+    </div>
+    <div class="span8">
+    </div>
+</div>
+&nbsp;
+<div class="page-header">
+<h1>
+
+    <div style="float: right; position: relative; bottom: -10px; ">
+	<div id="google_translate_element"></div><script type="text/javascript">
+function googleTranslateElementInit() {
+  new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
+}
+</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
+        <a onclick="javascript:gpshare()" class="gp-share sprite" title="share on Google+">share [gp]</a>
+        <a onclick="javascript:fbshare()" class="fb-share sprite" title="share on Facebook">share [fb]</a>
+        <a onclick="javascript:twshare()" class="tw-share sprite" title="share on Twitter">share [tw]</a>
+        <a data-toggle="modal" href="#edit" class="edit-page" title="Contribute to this Page">contribute</a>
+    </div>
+</h1>
+</div>
+
+
+
+
+<div class="page-header">&nbsp;</div>
+<h4>APIs Used</h4>
+<ul><li><a href="http://docs.oracle.com/javaee/6/api/javax/ejb/Singleton.html">javax.ejb.Singleton</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ejb/Stateless.html">javax.ejb.Stateless</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/validation/ConstraintViolation.html">javax.validation.ConstraintViolation</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/validation/ConstraintViolationException.html">javax.validation.ConstraintViolationException</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/validation/constraints/Pattern.html">javax.validation.constraints.Pattern</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/Consumes.html">javax.ws.rs.Consumes</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/POST.html">javax.ws.rs.POST</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/Path.html">javax.ws.rs.Path</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/Produces.html">javax.ws.rs.Produces</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Context.html">javax.ws.rs.core.Context</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/core/HttpHeaders.html">javax.ws.rs.core.HttpHeaders</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/core/MediaType.html">javax.ws.rs.core.MediaType</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.html">javax.ws.rs.core.Response</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/ext/ExceptionMapper.html">javax.ws.rs.ext.ExceptionMapper</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ws/rs/ext/Provider.html">javax.ws.rs.ext.Provider</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/bind/annotation/XmlAttribute.html">javax.xml.bind.annotation.XmlAttribute</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/bind/annotation/XmlRootElement.html">javax.xml.bind.annotation.XmlRootElement</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/bind/annotation/XmlSeeAlso.html">javax.xml.bind.annotation.XmlSeeAlso</a></li>
+</ul>
+
+<h3>Source</h3>
+  <ul>
+      <li>Apache <a href="http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/bval-evaluation-redeployment">bval-evaluation-redeployment</a></li>
+      <li>Github <a href="https://github.com/apache/tomee/tree/trunk/examples/bval-evaluation-redeployment">bval-evaluation-redeployment</a></li>
+  </ul>
+<pre>
+svn co http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/bval-evaluation-redeployment
+cd bval-evaluation-redeployment
+mvn clean install
+</pre>
+
+
+        <div id="edit" class="modal hide fade in" style="display: none; ">
+            <div class="modal-header">
+                <a class="close" data-dismiss="modal">x</a>
+
+                <h3>Thank you for contributing to the documentation!</h3>
+            </div>
+            <div class="modal-body">
+                <h4>Any help with the documentation is greatly appreciated.</h4>
+                <p>All edits are reviewed before going live, so feel free to do much more than fix typos or links.  If you see a page that could benefit from an entire rewrite, we'd be thrilled to review it.  Don't be surprised if we like it so much we ask you for help with other pages :)</p>
+                <small>NOTICE: unless indicated otherwise on the pages in question, all editable content available from apache.org is presumed to be licensed under the Apache License (AL) version 2.0 and hence all submissions to apache.org treated as formal Contributions under the license terms.</small>
+                <!--[if gt IE 6]>
+                <h4>Internet Explorer Users</h4>
+                <p>If you are not an Apache committer, click the Yes link and enter a <i>anonymous</i> for the username and leave the password empty</p>
+                <![endif]-->
+
+            </div>
+            <div class="modal-footer">
+                Do you have an Apache ID?
+                <a href="javascript:void(location.href='https://cms.apache.org/redirect?uri='+escape(location.href))" class="btn">Yes</a>
+                <a href="javascript:void(location.href='https://anonymous:@cms.apache.org/redirect?uri='+escape(location.href))" class="btn">No</a>
+            </div>
+        </div>
+        <script src="./../../resources/js/bootstrap-modal.js"></script>
+
+        <footer>
+            <p>Copyright &copy; 1999-2014 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>
+        </footer>
+
+    </div> <!-- /container -->
+
+    <!-- Javascript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="./../../resources/js/bootstrap-dropdown.js"></script>
+
+  </body>
+</html>

Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp1/nb-configuration.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp1/src/main/webapp/WEB-INF/openejb-jar.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/nb-configuration.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/openejb-jar.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/pom.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java Tue Jul  8 12:21:06 2014
@@ -73,11 +73,11 @@ public class RedeploymentTest {
         Assert.assertEquals(406, result);
         deployer.undeploy("webapp2");
         result = WebClient.create("http://localhost:" + port + "/WebApp1/test/")
-                .type(MediaType.APPLICATION_JSON_TYPE).post("validd").getStatus();
+            .type(MediaType.APPLICATION_JSON_TYPE).post("validd").getStatus();
         System.out.println(result);
         Assert.assertEquals(406, result);
         result = WebClient.create("http://localhost:" + port + "/WebApp1/test/")
-                .type(MediaType.APPLICATION_JSON_TYPE).post("valid").getStatus();
+            .type(MediaType.APPLICATION_JSON_TYPE).post("valid").getStatus();
         System.out.println(result);
         Assert.assertEquals(200, result);
         System.out.println("===========================================");

Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/resources/arquillian.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-realm/src/main/java/org/superbiz/AuthBean.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/cdi-realm/src/main/java/org/superbiz/AuthBean.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/cdi-realm/src/main/java/org/superbiz/AuthBean.java Tue Jul  8 12:21:06 2014
@@ -22,7 +22,7 @@ import java.security.Principal;
 @RequestScoped
 public class AuthBean {
 
-    public Principal authenticate(final String username, String password) {
+    public Principal authenticate(final String username, final String password) {
         if (("userA".equals(username) || "userB".equals(username)) && "test".equals(password)) {
             return new Principal() {
                 @Override
@@ -39,7 +39,7 @@ public class AuthBean {
         return null;
     }
 
-    public boolean hasRole(Principal principal, String role) {
+    public boolean hasRole(final Principal principal, final String role) {
         if (principal == null) {
             return false;
         }

Modified: websites/staging/tomee/trunk/content/examples-trunk/client-resource-lookup-preview/pom.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/datasource-versioning/pom.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/MockedPageBeanTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/MockedPageBeanTest.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/MockedPageBeanTest.java Tue Jul  8 12:21:06 2014
@@ -54,7 +54,7 @@ public class MockedPageBeanTest
     @Inject
     private UserRepository userRepository; //will inject the mocked instance
 
-    //@Test
+    @Test
     public void saveUserWithMockedBean()
     {
         final String userName = "gp";

Modified: websites/staging/tomee/trunk/content/examples-trunk/ejb-examples/src/main/java/org/superbiz/servlet/SecureServlet.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/ejb-examples/src/main/java/org/superbiz/servlet/SecureServlet.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/ejb-examples/src/main/java/org/superbiz/servlet/SecureServlet.java Tue Jul  8 12:21:06 2014
@@ -32,9 +32,9 @@ public class SecureServlet extends HttpS
     @EJB
     private SecureEJBLocal secureEJBLocal;
 
-    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+    protected void doGet(final HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
         response.setContentType("text/plain");
-        ServletOutputStream out = response.getOutputStream();
+        final ServletOutputStream out = response.getOutputStream();
 
         out.println("Servlet");
         Principal principal = request.getUserPrincipal();
@@ -77,7 +77,7 @@ public class SecureServlet extends HttpS
             try {
                 secureEJBLocal.allowFakeMethod();
                 out.println("@EJB.allowFakeMethod() ALLOWED");
-            } catch (EJBAccessException e) {
+            } catch (final EJBAccessException e) {
                 out.println("@EJB.allowFakeMethod() DENIED");
             }
 

Modified: websites/staging/tomee/trunk/content/examples-trunk/lookup-of-ejbs/src/test/java/org/superbiz/ejblookup/EjbDependencyTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/lookup-of-ejbs/src/test/java/org/superbiz/ejblookup/EjbDependencyTest.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/lookup-of-ejbs/src/test/java/org/superbiz/ejblookup/EjbDependencyTest.java Tue Jul  8 12:21:06 2014
@@ -32,7 +32,7 @@ public class EjbDependencyTest extends T
 
     public void testRed() throws Exception {
 
-        Friend red = (Friend) context.lookup("java:global/lookup-of-ejbs/RedBean");
+        final Friend red = (Friend) context.lookup("java:global/lookup-of-ejbs/RedBean");
 
         assertNotNull(red);
         assertEquals("Red says, Hello!", red.sayHello());
@@ -42,7 +42,7 @@ public class EjbDependencyTest extends T
 
     public void testBlue() throws Exception {
 
-        Friend blue = (Friend) context.lookup("java:global/lookup-of-ejbs/BlueBean");
+        final Friend blue = (Friend) context.lookup("java:global/lookup-of-ejbs/BlueBean");
 
         assertNotNull(blue);
         assertEquals("Blue says, Hello!", blue.sayHello());

Modified: websites/staging/tomee/trunk/content/examples-trunk/moviefun-rest/src/test/java/org/superbiz/moviefun/MoviesTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/moviefun-rest/src/test/java/org/superbiz/moviefun/MoviesTest.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/moviefun-rest/src/test/java/org/superbiz/moviefun/MoviesTest.java Tue Jul  8 12:21:06 2014
@@ -46,13 +46,13 @@ public class MoviesTest {
     @Before
     @After
     public void clean() throws Exception {
-        MoviesBean movies = (MoviesBean) ejbContainer.getContext().lookup("java:global/moviefun-rest/MoviesBean!org.superbiz.moviefun.MoviesBean");
+        final MoviesBean movies = (MoviesBean) ejbContainer.getContext().lookup("java:global/moviefun-rest/MoviesBean!org.superbiz.moviefun.MoviesBean");
         movies.clean();
     }
 
     @Test
     public void testShouldAddAMovie() throws Exception {
-        MoviesBean movies = (MoviesBean) ejbContainer.getContext().lookup("java:global/moviefun-rest/MoviesBean!org.superbiz.moviefun.MoviesBean");
+        final MoviesBean movies = (MoviesBean) ejbContainer.getContext().lookup("java:global/moviefun-rest/MoviesBean!org.superbiz.moviefun.MoviesBean");
 
         final Movie movie = new Movie();
         movie.setDirector("Michael Bay");

Modified: websites/staging/tomee/trunk/content/examples-trunk/moviefun/pom.xml
==============================================================================
Binary files - no diff available.

Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/README.html
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/README.html (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/README.html Tue Jul  8 12:21:06 2014
@@ -0,0 +1,217 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title></title>
+    <meta name="description" content="Apache TomEE">
+    <meta name="author" content="Apache TomEE">
+	<meta name="google-translate-customization" content="f36a520c08f4c9-0a04e86a9c075ce9-g265f3196f697cf8f-10"></meta>
+	<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
+	<META HTTP-EQUIV="Expires" CONTENT="-1">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./../../resources/css/bootstrap.css" rel="stylesheet">
+    <link href="./../../resources/css/prettify.css" rel="stylesheet">
+    <link href="./../../resources/css/bootstrap-mods.css" rel="stylesheet">
+    <link href="./../../resources/css/main.css" rel="stylesheet">
+
+    <script type="text/javascript">
+      function fbshare () {
+          window.open(
+                  "http://www.facebook.com/sharer/sharer.php?u="+document.URL,
+                  'Share on Facebook',
+                  'width=640,height=426');
+      };
+      function gpshare () {
+          window.open(
+                  "https://plus.google.com/share?url="+document.URL,
+                  'Share on Google+',
+                  'width=584,height=385');
+      };
+      function twshare () {
+          window.open(
+                  "https://twitter.com/intent/tweet?url="+document.URL+"&text=",
+                  'Share on Twitter',
+                  'width=800,height=526');
+      };
+    </script>
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./../../resources/images/favicon.ico">
+    <link rel="apple-touch-icon" href="./../../resources/images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./../../resources/images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./../../resources/images/apple-touch-icon-114x114.png">
+
+    <script src="./../../resources/js/prettify.js" type="text/javascript"></script>
+    <script src="./../../resources/js/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./../../resources/js/common.js"></script>
+    <script src="./../../resources/js/prettyprint.js"></script>
+
+    <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="topbar" data-dropdown="dropdown">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./../../index.html">Apache TomEE</a>
+          <ul class="nav">
+              <li class="dropdown">
+                  <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+                  Apache
+                      <b class="caret"></b>
+                  </a>
+                  <ul class="dropdown-menu">
+                     <!-- <li><a href="./../../misc/whoweare.html">Who we are?</a></li> -->
+                     <!-- <li><a href="./../../misc/heritage.html">Heritage</a></li> -->
+                     <li><a href="http://www.apache.org">Apache Home</a></li>
+                     <!-- <li><a href="./../../misc/resources.html">Resources</a></li> -->
+                     <li><a href="./../../misc/contact.html">Contact</a></li>
+                     <li><a href="./../../misc/legal.html">Legal</a></li>
+                     <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+                     <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+                     <li class="divider"/>
+                     <li><a href="http://www.apache.org/security">Security</a></li>
+                  </ul>
+              </li>
+              <li><a href="./../../index.html">Home</a></li>
+              <li><a href="./../../downloads.html">Downloads</a></li>
+              <li><a href="./../../documentation.html">Documentation</a></li>
+              <li><a href="./../../examples-trunk/index.html">Examples</a></li>
+              <li><a href="./../../support.html">Support</a></li>
+              <li><a href="./../../security/index.html">Security</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+    
+
+<div class="row">
+    <div class="span8">
+        <small><a href="./../../index.html">Home</a>&nbsp;&raquo&nbsp;<a href="./../../examples-trunk/">Examples Trunk</a>&nbsp;&raquo&nbsp;<a href="./../../examples-trunk/mtom/">Mtom</a></small><br>
+    </div>
+    <div class="span8">
+    </div>
+</div>
+&nbsp;
+<div class="page-header">
+<h1>
+
+    <div style="float: right; position: relative; bottom: -10px; ">
+	<div id="google_translate_element"></div><script type="text/javascript">
+function googleTranslateElementInit() {
+  new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
+}
+</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
+        <a onclick="javascript:gpshare()" class="gp-share sprite" title="share on Google+">share [gp]</a>
+        <a onclick="javascript:fbshare()" class="fb-share sprite" title="share on Facebook">share [fb]</a>
+        <a onclick="javascript:twshare()" class="tw-share sprite" title="share on Twitter">share [tw]</a>
+        <a data-toggle="modal" href="#edit" class="edit-page" title="Contribute to this Page">contribute</a>
+    </div>
+</h1>
+</div>
+
+
+
+
+<div class="page-header">&nbsp;</div>
+<h4>APIs Used</h4>
+<ul><li><a href="http://docs.oracle.com/javaee/6/api/javax/activation/DataHandler;
.html">javax.activation.DataHandler;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/ejb/Stateless;
.html">javax.ejb.Stateless;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/jws/WebService;
.html">javax.jws.WebService;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/jws/soap/SOAPBinding/ParameterStyle;
.html">javax.jws.soap.SOAPBinding.ParameterStyle;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/jws/soap/SOAPBinding/Style;
.html">javax.jws.soap.SOAPBinding.Style;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/jws/soap/SOAPBinding/Use;
.html">javax.jws.soap.SOAPBinding.Use;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/jws/soap/SOAPBinding;
.html">javax.jws.soap.SOAPBinding;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/bind/annotation/XmlAccessType;
.html">javax.xml.bind.annotation.XmlAccessType;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/bind/annotation/XmlAccessorType;
.html">javax.xml.bind.annotation.XmlAccessorType;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/bind/annotation/XmlMimeType;
.html">javax.xml.bind.annotation.XmlMimeType;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/bind/annotation/XmlType;
.html">javax.xml.bind.annotation.XmlType;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/ws/BindingType;
.html">javax.xml.ws.BindingType;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/ws/WebServiceRef;
.html">javax.xml.ws.WebServiceRef;
</a></li>
+<li><a href="http://docs.oracle.com/javaee/6/api/javax/xml/ws/soap/MTOM;
.html">javax.xml.ws.soap.MTOM;
</a></li>
+</ul>
+
+<h3>Source</h3>
+  <ul>
+      <li>Apache <a href="http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/mtom">mtom</a></li>
+      <li>Github <a href="https://github.com/apache/tomee/tree/trunk/examples/mtom">mtom</a></li>
+  </ul>
+<pre>
+svn co http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/mtom
+cd mtom
+mvn clean install
+</pre>
+
+
+        <div id="edit" class="modal hide fade in" style="display: none; ">
+            <div class="modal-header">
+                <a class="close" data-dismiss="modal">x</a>
+
+                <h3>Thank you for contributing to the documentation!</h3>
+            </div>
+            <div class="modal-body">
+                <h4>Any help with the documentation is greatly appreciated.</h4>
+                <p>All edits are reviewed before going live, so feel free to do much more than fix typos or links.  If you see a page that could benefit from an entire rewrite, we'd be thrilled to review it.  Don't be surprised if we like it so much we ask you for help with other pages :)</p>
+                <small>NOTICE: unless indicated otherwise on the pages in question, all editable content available from apache.org is presumed to be licensed under the Apache License (AL) version 2.0 and hence all submissions to apache.org treated as formal Contributions under the license terms.</small>
+                <!--[if gt IE 6]>
+                <h4>Internet Explorer Users</h4>
+                <p>If you are not an Apache committer, click the Yes link and enter a <i>anonymous</i> for the username and leave the password empty</p>
+                <![endif]-->
+
+            </div>
+            <div class="modal-footer">
+                Do you have an Apache ID?
+                <a href="javascript:void(location.href='https://cms.apache.org/redirect?uri='+escape(location.href))" class="btn">Yes</a>
+                <a href="javascript:void(location.href='https://anonymous:@cms.apache.org/redirect?uri='+escape(location.href))" class="btn">No</a>
+            </div>
+        </div>
+        <script src="./../../resources/js/bootstrap-modal.js"></script>
+
+        <footer>
+            <p>Copyright &copy; 1999-2014 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>
+        </footer>
+
+    </div> <!-- /container -->
+
+    <!-- Javascript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="./../../resources/js/bootstrap-dropdown.js"></script>
+
+  </body>
+</html>

Modified: websites/staging/tomee/trunk/content/examples-trunk/mtom/pom.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/multiple-arquillian-adapters/pom.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/multiple-tomee-arquillian/pom.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/domain/validation/DifferentNameValidator.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/domain/validation/DifferentNameValidator.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/myfaces-codi-demo/src/main/java/org/superbiz/myfaces/domain/validation/DifferentNameValidator.java Tue Jul  8 12:21:06 2014
@@ -25,10 +25,10 @@ import javax.validation.ConstraintValida
 
 public class DifferentNameValidator implements ConstraintValidator<DifferentName, User> {
 
-    public void initialize(DifferentName differentName) {
+    public void initialize(final DifferentName differentName) {
     }
 
-    public boolean isValid(User person, ConstraintValidatorContext constraintValidatorContext) {
+    public boolean isValid(final User person, final ConstraintValidatorContext constraintValidatorContext) {
         return person == null || !(person.getFirstName() != null && person.getFirstName().equals(person.getLastName()));
     }
 }

Modified: websites/staging/tomee/trunk/content/examples-trunk/projectstage-demo/pom.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/pu/CacheActivationTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/pu/CacheActivationTest.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/pu/CacheActivationTest.java Tue Jul  8 12:21:06 2014
@@ -92,15 +92,15 @@ public class CacheActivationTest {
     }
 
     private void activateCache() throws Exception {
-        ObjectName on = new ObjectName("openejb.management:ObjectType=persistence-unit,PersistenceUnit=reloadable");
-        MBeanServer server = ManagementFactory.getPlatformMBeanServer();
+        final ObjectName on = new ObjectName("openejb.management:ObjectType=persistence-unit,PersistenceUnit=reloadable");
+        final MBeanServer server = ManagementFactory.getPlatformMBeanServer();
         server.invoke(on, "setProperty", new Object[]{"openjpa.DataCache", "true"}, null);
         server.invoke(on, "setProperty", new Object[]{"openjpa.RemoteCommitProvider", "sjvm"}, null);
         server.invoke(on, "setSharedCacheMode", new Object[]{"ALL"}, null);
         server.invoke(on, "reload", new Object[0], null);
     }
 
-    private void query(long personId) {
+    private void query(final long personId) {
         for (int i = 0; i < 3; i++) { // some multiple time to get if cache works or not
             Person found = mgr.search(personId);
             assertNotNull(found);

Modified: websites/staging/tomee/trunk/content/examples-trunk/scala-basic/build.sbt
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/scala-basic/build.sbt (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/scala-basic/build.sbt Tue Jul  8 12:21:06 2014
@@ -19,16 +19,16 @@ name := "scala-basic"
 
 version := "1.1.0-SNAPSHOT"
 
-scalaVersion := "2.9.1"
+scalaVersion := "2.11.1"
 
 resolvers ++= Seq(
-	"Local Maven Repository" at "file://" + Path.userHome.absolutePath + "/.m2/repository",
-	"Apache Snapshots" at "https://repository.apache.org/content/groups/snapshots/"
+  "Local Maven Repository" at "file://" + Path.userHome.absolutePath + "/.m2/repository",
+  "Apache Snapshots" at "https://repository.apache.org/content/groups/snapshots/"
 )
 
 libraryDependencies ++= Seq(
-    "org.apache.openejb" % "javaee-api" % "6.0-4",
-    "org.apache.openejb" % "openejb-core" % "4.5.1-SNAPSHOT" % "test",
-    "org.scalatest" %% "scalatest" % "1.6.1" % "test"
+  "org.apache.openejb" % "javaee-api" % "6.0-6",
+  "org.apache.openejb" % "openejb-core" % "5.0.0-SNAPSHOT" % "test",
+  "org.scalatest" %% "scalatest_2.11" % "2.2.0" % "test"
 )
 

Modified: websites/staging/tomee/trunk/content/examples-trunk/scala-basic/pom.xml
==============================================================================
Binary files - no diff available.

Modified: websites/staging/tomee/trunk/content/examples-trunk/scala-basic/src/main/scala/org/superbiz/GreetingService.scala
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/scala-basic/src/main/scala/org/superbiz/GreetingService.scala (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/scala-basic/src/main/scala/org/superbiz/GreetingService.scala Tue Jul  8 12:21:06 2014
@@ -6,7 +6,7 @@
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,21 +16,21 @@
  */
 package org.superbiz
 
-import javax.ejb.{Singleton, LocalBean, Lock, LockType}
+import javax.ejb.{LocalBean, Lock, LockType, Singleton}
 
 object GreetingService {
-    val DefaultName = "Scala"
+  val DefaultName = "Scala"
 }
 
 @LocalBean
 @Singleton
 @Lock(LockType.READ)
 class GreetingService {
-    def hi(name: String = GreetingService.DefaultName) = {
-        if (name != null) {
-            "hi " + name
-        } else {
-            "hi " + GreetingService.DefaultName
-        }
+  def hi(name: String = GreetingService.DefaultName) = {
+    if (name != null) {
+      "hi " + name
+    } else {
+      "hi " + GreetingService.DefaultName
     }
+  }
 }

Modified: websites/staging/tomee/trunk/content/examples-trunk/scala-basic/src/test/scala/org/superbiz/GreetingServiceTest.scala
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/scala-basic/src/test/scala/org/superbiz/GreetingServiceTest.scala (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/scala-basic/src/test/scala/org/superbiz/GreetingServiceTest.scala Tue Jul  8 12:21:06 2014
@@ -6,7 +6,7 @@
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,48 +16,48 @@
  */
 package org.superbiz
 
-import org.scalatest._
-
 import javax.ejb.embeddable.EJBContainer
 import javax.inject.Inject
 
+import org.scalatest._
+
 class GreetingServiceTest extends FunSuite with BeforeAndAfterAll with BeforeAndAfterEach {
   @Inject
   private var service: GreetingService = null
 
-  test ("Hi scala") {
+  test("Hi scala") {
     val message = service hi "scala"
-    assert (message == "hi scala")
+    assert(message == "hi scala")
   }
 
-  test ("Default Hi") {
+  test("Default Hi") {
     val message = service.hi()
-    assert (message == "hi Scala")
+    assert(message == "hi Scala")
   }
 
-  test ("Hi null") {
+  test("Hi null") {
     val message = service.hi(null)
-    assert (message == "hi Scala") // when called with null we use default name
+    assert(message == "hi Scala") // when called with null we use default name
   }
 
-  /***************************************************************/
+  /** *************************************************************/
   /** the OpenEJB Hook to be able to inject beans in this class **/
   /** kind of internal of this test class, "hidden" being last  **/
-  /***************************************************************/
+  /** *************************************************************/
 
   private var container: EJBContainer = null
 
-  override def beforeAll () {
-    container = EJBContainer.createEJBContainer ()
+  override def beforeAll() {
+    container = EJBContainer.createEJBContainer()
   }
 
-  override def beforeEach () {
-    container.getContext().bind ("inject", this)
+  override def beforeEach() {
+    container.getContext().bind("inject", this)
   }
 
-  override def afterAll () {
+  override def afterAll() {
     if (container != null) {
-        container.close()
+      container.close()
     }
   }
 }

Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-cmp2/src/main/java/org/superbiz/cmp2/MovieBean.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/simple-cmp2/src/main/java/org/superbiz/cmp2/MovieBean.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/simple-cmp2/src/main/java/org/superbiz/cmp2/MovieBean.java Tue Jul  8 12:21:06 2014
@@ -23,7 +23,7 @@ public abstract class MovieBean implemen
     public MovieBean() {
     }
 
-    public Integer ejbCreate(String director, String title, int year) {
+    public Integer ejbCreate(final String director, String title, final int year) {
         this.setDirector(director);
         this.setTitle(title);
         this.setYear(year);

Modified: websites/staging/tomee/trunk/content/examples-trunk/testing-transactions-bmt/src/main/java/org/superbiz/injection/tx/Movie.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/testing-transactions-bmt/src/main/java/org/superbiz/injection/tx/Movie.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/testing-transactions-bmt/src/main/java/org/superbiz/injection/tx/Movie.java Tue Jul  8 12:21:06 2014
@@ -30,7 +30,7 @@ public class Movie {
     private String title;
     private int year;
 
-    public Movie(String director, String title, int year) {
+    public Movie(final String director, final String title, int year) {
         this.director = director;
         this.title = title;
         this.year = year;
@@ -68,7 +68,7 @@ public class Movie {
         return year;
     }
 
-    public void setYear(int year) {
+    public void setYear(final int year) {
         this.year = year;
     }
 }