From 637ea8fe17bfa379a67a341e09db2649e2f0e11c Mon Sep 17 00:00:00 2001 From: Max Barkley Date: Thu, 14 Apr 2016 15:45:19 -0400 Subject: [PATCH] Update demos (description below). * Upgrade several demos to EmbeddedWildFlyLauncher (SDM was broken in some demos with the JBossLauncher). * Fix bugs in jpa demos relating to new IoC. * Remove non-Wildfly app server profiles for several demos (don't have resources to maintain them). * Rename jboss7 profiles to wildfly. * Update README.md files to refer to Wildfly instead of JBoss AS 6/7. * Add .gitignore. --- errai-demos/.gitignore | 1 + errai-demos/errai-bus-demo-stock/pom.xml | 4 +- .../{jboss7 => wildfly}/META-INF/MANIFEST.MF | 0 .../src/{jboss7 => wildfly}/WEB-INF/web.xml | 0 .../errai-bus-demo-stress-test/README.md | 2 +- .../errai-bus-demo-stress-test/pom.xml | 6 +- .../src/{jboss7 => wildfly}/WEB-INF/web.xml | 0 errai-demos/errai-cdi-demo-mobile/README.md | 4 +- errai-demos/errai-cdi-demo-mobile/pom.xml | 6 +- .../{jboss7 => wildfly}/META-INF/MANIFEST.MF | 0 .../WEB-INF/jboss-deployment-structure.xml | 0 .../src/{jboss7 => wildfly}/WEB-INF/web.xml | 0 errai-demos/errai-cdi-demo-tagcloud/pom.xml | 6 +- .../{jboss7 => wildfly}/META-INF/MANIFEST.MF | 0 .../WEB-INF/jboss-deployment-structure.xml | 0 .../src/{jboss7 => wildfly}/WEB-INF/web.xml | 0 errai-demos/errai-jaxrs-demo-crud/README.md | 4 +- errai-demos/errai-jaxrs-demo-crud/pom.xml | 12 +- .../src/{jboss7 => wildfly}/WEB-INF/web.xml | 0 errai-demos/errai-jpa-demo-basic/pom.xml | 6 +- .../{jboss7 => wildfly}/META-INF/MANIFEST.MF | 0 .../WEB-INF/jboss-deployment-structure.xml | 0 .../src/{jboss7 => wildfly}/WEB-INF/web.xml | 0 .../errai-jpa-demo-grocery-list/README.md | 4 +- .../errai-jpa-demo-grocery-list/pom.xml | 383 ++---------------- .../src/jboss7/WEB-INF/web.xml | 48 --- .../src/jetty/WEB-INF/jetty-env.xml | 54 --- .../src/jetty/WEB-INF/web.xml | 69 ---- .../errai/demo/grocery/GroceryList.gwt.xml | 1 + .../demo/grocery/client/local/Config.java | 3 +- .../resources}/META-INF/MANIFEST.MF | 0 .../src/main/webapp/WEB-INF/beans.xml | 78 ++++ .../WEB-INF/jboss-deployment-structure.xml | 0 .../src/main/webapp/WEB-INF/jetty-env.xml | 36 -- .../src/main/webapp/WEB-INF/web.xml | 75 ++-- .../src/main/webapp/index.html | 2 +- .../src/tomcat/META-INF/context.xml | 37 -- .../src/tomcat/WEB-INF/web.xml | 69 ---- errai-demos/errai-jpa-demo-todo-list/pom.xml | 42 +- .../todo/client/local/BaseTodoItemWidget.java | 86 ++++ .../client/local/LockedTodoItemWidget.java | 2 +- .../todo/client/local/TodoItemWidget.java | 68 +--- .../main/resources/META-INF/persistence.xml | 2 +- .../src/main/webapp/WEB-INF/beans.xml | 31 ++ errai-demos/errai-security-demo/pom.xml | 11 +- .../src/main/webapp/WEB-INF/beans.xml | 26 ++ 46 files changed, 378 insertions(+), 800 deletions(-) create mode 100644 errai-demos/.gitignore rename errai-demos/errai-bus-demo-stock/src/{jboss7 => wildfly}/META-INF/MANIFEST.MF (100%) rename errai-demos/errai-bus-demo-stock/src/{jboss7 => wildfly}/WEB-INF/web.xml (100%) rename errai-demos/errai-bus-demo-stress-test/src/{jboss7 => wildfly}/WEB-INF/web.xml (100%) rename errai-demos/errai-cdi-demo-mobile/src/{jboss7 => wildfly}/META-INF/MANIFEST.MF (100%) rename errai-demos/errai-cdi-demo-mobile/src/{jboss7 => wildfly}/WEB-INF/jboss-deployment-structure.xml (100%) rename errai-demos/errai-cdi-demo-mobile/src/{jboss7 => wildfly}/WEB-INF/web.xml (100%) rename errai-demos/errai-cdi-demo-tagcloud/src/{jboss7 => wildfly}/META-INF/MANIFEST.MF (100%) rename errai-demos/errai-cdi-demo-tagcloud/src/{jboss7 => wildfly}/WEB-INF/jboss-deployment-structure.xml (100%) rename errai-demos/errai-cdi-demo-tagcloud/src/{jboss7 => wildfly}/WEB-INF/web.xml (100%) rename errai-demos/errai-jaxrs-demo-crud/src/{jboss7 => wildfly}/WEB-INF/web.xml (100%) rename errai-demos/errai-jpa-demo-basic/src/{jboss7 => wildfly}/META-INF/MANIFEST.MF (100%) rename errai-demos/errai-jpa-demo-basic/src/{jboss7 => wildfly}/WEB-INF/jboss-deployment-structure.xml (100%) rename errai-demos/errai-jpa-demo-basic/src/{jboss7 => wildfly}/WEB-INF/web.xml (100%) delete mode 100644 errai-demos/errai-jpa-demo-grocery-list/src/jboss7/WEB-INF/web.xml delete mode 100644 errai-demos/errai-jpa-demo-grocery-list/src/jetty/WEB-INF/jetty-env.xml delete mode 100644 errai-demos/errai-jpa-demo-grocery-list/src/jetty/WEB-INF/web.xml rename errai-demos/errai-jpa-demo-grocery-list/src/{jboss7 => main/resources}/META-INF/MANIFEST.MF (100%) create mode 100644 errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/beans.xml rename errai-demos/errai-jpa-demo-grocery-list/src/{jboss7 => main/webapp}/WEB-INF/jboss-deployment-structure.xml (100%) delete mode 100644 errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/jetty-env.xml delete mode 100644 errai-demos/errai-jpa-demo-grocery-list/src/tomcat/META-INF/context.xml delete mode 100644 errai-demos/errai-jpa-demo-grocery-list/src/tomcat/WEB-INF/web.xml create mode 100644 errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/BaseTodoItemWidget.java diff --git a/errai-demos/.gitignore b/errai-demos/.gitignore new file mode 100644 index 0000000000..d93651dec3 --- /dev/null +++ b/errai-demos/.gitignore @@ -0,0 +1 @@ +**/WEB-INF/lib/ diff --git a/errai-demos/errai-bus-demo-stock/pom.xml b/errai-demos/errai-bus-demo-stock/pom.xml index 021d012252..86cde9b884 100644 --- a/errai-demos/errai-bus-demo-stock/pom.xml +++ b/errai-demos/errai-bus-demo-stock/pom.xml @@ -340,9 +340,9 @@ - jboss7 + wildfly - jboss7 + wildfly compile diff --git a/errai-demos/errai-bus-demo-stock/src/jboss7/META-INF/MANIFEST.MF b/errai-demos/errai-bus-demo-stock/src/wildfly/META-INF/MANIFEST.MF similarity index 100% rename from errai-demos/errai-bus-demo-stock/src/jboss7/META-INF/MANIFEST.MF rename to errai-demos/errai-bus-demo-stock/src/wildfly/META-INF/MANIFEST.MF diff --git a/errai-demos/errai-bus-demo-stock/src/jboss7/WEB-INF/web.xml b/errai-demos/errai-bus-demo-stock/src/wildfly/WEB-INF/web.xml similarity index 100% rename from errai-demos/errai-bus-demo-stock/src/jboss7/WEB-INF/web.xml rename to errai-demos/errai-bus-demo-stock/src/wildfly/WEB-INF/web.xml diff --git a/errai-demos/errai-bus-demo-stress-test/README.md b/errai-demos/errai-bus-demo-stress-test/README.md index 0028d277fc..66be7fbfbb 100644 --- a/errai-demos/errai-bus-demo-stress-test/README.md +++ b/errai-demos/errai-bus-demo-stress-test/README.md @@ -13,7 +13,7 @@ execute the following command: mvn clean package -Pintegration-test -P -Available app server profile names are jboss7, jboss6, jetty, and tomcat. Remember to clean every +Available app server profile names are wildfly and tomcat. Remember to clean every time you build for a different app server. diff --git a/errai-demos/errai-bus-demo-stress-test/pom.xml b/errai-demos/errai-bus-demo-stress-test/pom.xml index 8698cce68d..e026df4f8d 100644 --- a/errai-demos/errai-bus-demo-stress-test/pom.xml +++ b/errai-demos/errai-bus-demo-stress-test/pom.xml @@ -54,7 +54,7 @@ true UTF-8 - jboss7 + wildfly 2.1.1 2.5 @@ -334,9 +334,9 @@ - jboss7 + wildfly - jboss7 + wildfly compile diff --git a/errai-demos/errai-bus-demo-stress-test/src/jboss7/WEB-INF/web.xml b/errai-demos/errai-bus-demo-stress-test/src/wildfly/WEB-INF/web.xml similarity index 100% rename from errai-demos/errai-bus-demo-stress-test/src/jboss7/WEB-INF/web.xml rename to errai-demos/errai-bus-demo-stress-test/src/wildfly/WEB-INF/web.xml diff --git a/errai-demos/errai-cdi-demo-mobile/README.md b/errai-demos/errai-cdi-demo-mobile/README.md index 22a62abdb3..7fe12c89cf 100644 --- a/errai-demos/errai-cdi-demo-mobile/README.md +++ b/errai-demos/errai-cdi-demo-mobile/README.md @@ -12,9 +12,9 @@ To try it in dev mode, ensure you have Maven 3 installed, then type the followin % mvn gwt:run -To build a .war file that you can deploy to JBoss EAP 6, AS 7 or the OpenShift cloud: +To build a .war file that you can deploy to Wildfly 8 or the OpenShift cloud: - % mvn clean package -Pjboss7 + % mvn clean package -Pwildfly Then copy target/errai-cdi-demo-mobile.war to the appropriate location. diff --git a/errai-demos/errai-cdi-demo-mobile/pom.xml b/errai-demos/errai-cdi-demo-mobile/pom.xml index 68e2603624..6112e4b7ea 100644 --- a/errai-demos/errai-cdi-demo-mobile/pom.xml +++ b/errai-demos/errai-cdi-demo-mobile/pom.xml @@ -53,7 +53,7 @@ UTF-8 - jboss7 + wildfly true @@ -423,9 +423,9 @@ - jboss7 + wildfly - jboss7 + wildfly diff --git a/errai-demos/errai-cdi-demo-mobile/src/jboss7/META-INF/MANIFEST.MF b/errai-demos/errai-cdi-demo-mobile/src/wildfly/META-INF/MANIFEST.MF similarity index 100% rename from errai-demos/errai-cdi-demo-mobile/src/jboss7/META-INF/MANIFEST.MF rename to errai-demos/errai-cdi-demo-mobile/src/wildfly/META-INF/MANIFEST.MF diff --git a/errai-demos/errai-cdi-demo-mobile/src/jboss7/WEB-INF/jboss-deployment-structure.xml b/errai-demos/errai-cdi-demo-mobile/src/wildfly/WEB-INF/jboss-deployment-structure.xml similarity index 100% rename from errai-demos/errai-cdi-demo-mobile/src/jboss7/WEB-INF/jboss-deployment-structure.xml rename to errai-demos/errai-cdi-demo-mobile/src/wildfly/WEB-INF/jboss-deployment-structure.xml diff --git a/errai-demos/errai-cdi-demo-mobile/src/jboss7/WEB-INF/web.xml b/errai-demos/errai-cdi-demo-mobile/src/wildfly/WEB-INF/web.xml similarity index 100% rename from errai-demos/errai-cdi-demo-mobile/src/jboss7/WEB-INF/web.xml rename to errai-demos/errai-cdi-demo-mobile/src/wildfly/WEB-INF/web.xml diff --git a/errai-demos/errai-cdi-demo-tagcloud/pom.xml b/errai-demos/errai-cdi-demo-tagcloud/pom.xml index 7c9d1033bd..a6edd2365e 100755 --- a/errai-demos/errai-cdi-demo-tagcloud/pom.xml +++ b/errai-demos/errai-cdi-demo-tagcloud/pom.xml @@ -53,7 +53,7 @@ UTF-8 - jboss7 + wildfly true @@ -349,9 +349,9 @@ - jboss7 + wildfly - jboss7 + wildfly diff --git a/errai-demos/errai-cdi-demo-tagcloud/src/jboss7/META-INF/MANIFEST.MF b/errai-demos/errai-cdi-demo-tagcloud/src/wildfly/META-INF/MANIFEST.MF similarity index 100% rename from errai-demos/errai-cdi-demo-tagcloud/src/jboss7/META-INF/MANIFEST.MF rename to errai-demos/errai-cdi-demo-tagcloud/src/wildfly/META-INF/MANIFEST.MF diff --git a/errai-demos/errai-cdi-demo-tagcloud/src/jboss7/WEB-INF/jboss-deployment-structure.xml b/errai-demos/errai-cdi-demo-tagcloud/src/wildfly/WEB-INF/jboss-deployment-structure.xml similarity index 100% rename from errai-demos/errai-cdi-demo-tagcloud/src/jboss7/WEB-INF/jboss-deployment-structure.xml rename to errai-demos/errai-cdi-demo-tagcloud/src/wildfly/WEB-INF/jboss-deployment-structure.xml diff --git a/errai-demos/errai-cdi-demo-tagcloud/src/jboss7/WEB-INF/web.xml b/errai-demos/errai-cdi-demo-tagcloud/src/wildfly/WEB-INF/web.xml similarity index 100% rename from errai-demos/errai-cdi-demo-tagcloud/src/jboss7/WEB-INF/web.xml rename to errai-demos/errai-cdi-demo-tagcloud/src/wildfly/WEB-INF/web.xml diff --git a/errai-demos/errai-jaxrs-demo-crud/README.md b/errai-demos/errai-jaxrs-demo-crud/README.md index 53e6c6f97b..31b290afc7 100644 --- a/errai-demos/errai-jaxrs-demo-crud/README.md +++ b/errai-demos/errai-jaxrs-demo-crud/README.md @@ -16,9 +16,9 @@ To try it in dev mode, ensure you have Maven 3 installed, then type the followin % mvn gwt:run -To build a .war file that you can deploy to JBoss EAP 6, AS 7 or the OpenShift cloud: +To build a .war file that you can deploy to Wildfly 8 or the OpenShift cloud: - % mvn clean package -Pjboss7 + % mvn clean package -Pwildfly Then copy target/errai-jaxrs-demo-crud.war to the appropriate location. diff --git a/errai-demos/errai-jaxrs-demo-crud/pom.xml b/errai-demos/errai-jaxrs-demo-crud/pom.xml index 5758397e5e..e97789f455 100644 --- a/errai-demos/errai-jaxrs-demo-crud/pom.xml +++ b/errai-demos/errai-jaxrs-demo-crud/pom.xml @@ -52,7 +52,7 @@ UTF-8 - jboss7 + wildfly true 1.8 @@ -168,6 +168,12 @@ org.jboss.resteasy resteasy-jaxrs + + + javassist + javassist + + @@ -194,9 +200,9 @@ - jboss7 + wildfly - jboss7 + wildfly diff --git a/errai-demos/errai-jaxrs-demo-crud/src/jboss7/WEB-INF/web.xml b/errai-demos/errai-jaxrs-demo-crud/src/wildfly/WEB-INF/web.xml similarity index 100% rename from errai-demos/errai-jaxrs-demo-crud/src/jboss7/WEB-INF/web.xml rename to errai-demos/errai-jaxrs-demo-crud/src/wildfly/WEB-INF/web.xml diff --git a/errai-demos/errai-jpa-demo-basic/pom.xml b/errai-demos/errai-jpa-demo-basic/pom.xml index fb1943da2a..67ca27ed36 100644 --- a/errai-demos/errai-jpa-demo-basic/pom.xml +++ b/errai-demos/errai-jpa-demo-basic/pom.xml @@ -53,7 +53,7 @@ UTF-8 - jboss7 + wildfly true 1.1.6.Final @@ -254,9 +254,9 @@ - jboss7 + wildfly - jboss7 + wildfly diff --git a/errai-demos/errai-jpa-demo-basic/src/jboss7/META-INF/MANIFEST.MF b/errai-demos/errai-jpa-demo-basic/src/wildfly/META-INF/MANIFEST.MF similarity index 100% rename from errai-demos/errai-jpa-demo-basic/src/jboss7/META-INF/MANIFEST.MF rename to errai-demos/errai-jpa-demo-basic/src/wildfly/META-INF/MANIFEST.MF diff --git a/errai-demos/errai-jpa-demo-basic/src/jboss7/WEB-INF/jboss-deployment-structure.xml b/errai-demos/errai-jpa-demo-basic/src/wildfly/WEB-INF/jboss-deployment-structure.xml similarity index 100% rename from errai-demos/errai-jpa-demo-basic/src/jboss7/WEB-INF/jboss-deployment-structure.xml rename to errai-demos/errai-jpa-demo-basic/src/wildfly/WEB-INF/jboss-deployment-structure.xml diff --git a/errai-demos/errai-jpa-demo-basic/src/jboss7/WEB-INF/web.xml b/errai-demos/errai-jpa-demo-basic/src/wildfly/WEB-INF/web.xml similarity index 100% rename from errai-demos/errai-jpa-demo-basic/src/jboss7/WEB-INF/web.xml rename to errai-demos/errai-jpa-demo-basic/src/wildfly/WEB-INF/web.xml diff --git a/errai-demos/errai-jpa-demo-grocery-list/README.md b/errai-demos/errai-jpa-demo-grocery-list/README.md index 4e4ab4bf87..41d3cc9d9c 100644 --- a/errai-demos/errai-jpa-demo-grocery-list/README.md +++ b/errai-demos/errai-jpa-demo-grocery-list/README.md @@ -21,9 +21,9 @@ To try it in dev mode, ensure you have Maven 3 installed, then type the followin % mvn gwt:run -To build a .war file that you can deploy to JBoss EAP 6, AS 7 or the OpenShift cloud: +To build a .war file that you can deploy to Wildfly 8 or the OpenShift cloud: - % mvn clean package -Pjboss7 + % mvn clean package -Pwildfly Then copy target/errai-jpa-demo-grocery-list.war to the appropriate location. diff --git a/errai-demos/errai-jpa-demo-grocery-list/pom.xml b/errai-demos/errai-jpa-demo-grocery-list/pom.xml index cf903bdbe8..153e6c1369 100644 --- a/errai-demos/errai-jpa-demo-grocery-list/pom.xml +++ b/errai-demos/errai-jpa-demo-grocery-list/pom.xml @@ -64,6 +64,9 @@ 2.8.2 true + ${project.build.directory}/wildfly-${wildfly.version} + ${project.artifactId} + 8.1.0.Final @@ -136,54 +139,48 @@ org.jboss.errai errai-jpa-client - ${project.version} provided org.jboss.errai errai-ui - ${project.version} provided org.jboss.errai errai-data-binding - ${project.version} + provided org.jboss.errai errai-navigation provided - ${project.version} org.jboss.errai errai-cordova provided - ${project.version} org.jboss.errai errai-validation - ${project.version} + provided javax.validation validation-api - 1.0.0.GA provided javax.validation validation-api - 1.0.0.GA sources provided @@ -191,14 +188,12 @@ org.hibernate hibernate-validator - 4.2.0.Final provided org.hibernate hibernate-validator - 4.2.0.Final provided sources @@ -206,14 +201,12 @@ org.jboss.spec.javax.servlet jboss-servlet-api_3.0_spec - ${servletapi.version} provided javax.enterprise cdi-api - ${cdiapi.version} provided @@ -221,7 +214,6 @@ org.jboss.errai errai-bus - ${project.version} javax.inject @@ -232,7 +224,6 @@ org.jboss.errai errai-ioc - ${project.version} javax.inject @@ -243,52 +234,35 @@ org.jboss.errai errai-tools - ${project.version} org.mvel mvel2 - ${mvel.version} org.jboss.errai errai-cdi-client - ${project.version} + provided org.jboss.errai errai-javax-enterprise - ${project.version} provided org.jboss.errai errai-cdi-server - ${project.version} - - - org.mortbay.jetty - jetty - ${jetty.version} - - - org.mortbay.jetty - jetty-plus - ${jetty.version} - - - - org.mortbay.jetty - jetty-naming - ${jetty.version} + org.jboss.errai + errai-cdi-jboss + provided @@ -302,68 +276,46 @@ com.github.branflake2267 gwt-maps-api - 3.9.0-build-16 + provided com.google.gwt.google-apis gwt-ajaxloader - 1.1.0 + provided org.gwtopenmaps.openlayers gwt-openlayers-client - 1.0 + provided org.slf4j slf4j-api - ${slf4j.version} org.slf4j slf4j-log4j12 - ${slf4j.version} - jetty + wildfly true - - jetty - - - - - org.mortbay.jetty - jetty-naming - ${jetty.version} - compile - - - - - - jboss7 - - jboss7 - org.jboss.errai errai-jboss-as-support - ${project.version} @@ -379,13 +331,11 @@ javax.inject - ${project.version} xml-apis xml-apis - 1.0.b2 provided @@ -393,295 +343,25 @@ org.jboss.errai errai-tools provided - ${project.version} - - - - org.jboss.errai - errai-javax-enterprise - ${project.version} - provided javax.inject javax.inject - 1 provided - - org.jboss.weld.servlet - weld-servlet - ${weld.version} - - - - com.google.gwt - gwt-codeserver - - - - org.jboss.weld.servlet - weld-servlet-core - ${weld.version} - provided - - - - org.jboss.weld - weld-core - ${weld.version} - provided - - - - org.jboss.weld.se - weld-se-core - provided - ${weld.version} - - org.jboss.logging jboss-logging - 3.1.0.GA provided log4j log4j - 1.2.16 - provided - - - - - org.mortbay.jetty - jetty - ${jetty.version} - provided - - - - org.mortbay.jetty - jetty-plus - provided - ${jetty.version} - - - - org.mortbay.jetty - jetty-naming - provided - ${jetty.version} - - - - - - - tomcat - - tomcat - - - - - javax.enterprise - cdi-api - compile - 1.0-SP4 - - - - org.mortbay.jetty - jetty - ${jetty.version} provided - - - org.mortbay.jetty - jetty-plus - ${jetty.version} - provided - - - - org.mortbay.jetty - jetty-naming - ${jetty.version} - provided - - - - org.jboss.weld.se - weld-se-core - ${weld.version} - compile - - - javax.el - el-api - - - - - - - - - integration-test - - src/main/webapp/WEB-INF/classes - jetty - - - - - - src/test/java - - - src/test/resources - - - - - - - org.jboss.spec.javax.servlet - jboss-servlet-api_3.0_spec - ${servletapi.version} - provided - - - log4j - log4j - 1.2.16 - - - - - org.jboss.errai - errai-bus - ${project.version} - - - org.jboss.errai - errai-ioc - ${project.version} - - - javax.inject - javax.inject - - - - - - org.jboss.errai - errai-cdi-client - ${project.version} - compile - - - - org.jboss.errai - errai-tools - ${project.version} - - - org.mvel - mvel2 - ${mvel.version} - - - - - - org.mortbay.jetty - jetty - ${jetty.version} - compile - - - org.mortbay.jetty - jetty-plus - ${jetty.version} - compile - - - org.mortbay.jetty - jetty-naming - ${jetty.version} - compile - - - - - org.jboss.weld.se - weld-se-core - ${weld.version} - compile - - - org.jboss.weld.servlet - weld-servlet-core - ${weld.version} - compile - - - org.glassfish.web - el-impl - runtime - 2.1.2-b04 - - - - - com.google.gwt - gwt-user - provided - - - - com.google.gwt - gwt-dev - provided - - - - javax.validation - validation-api - 1.0.0.GA - compile - - - - javax.validation - validation-api - 1.0.0.GA - sources - compile - - - - - org.jboss - jboss-common-core - 2.2.14.GA - - - - org.jboss.errai - errai-javax-enterprise - ${project.version} - provided - - @@ -726,10 +406,11 @@ gwt-maven-plugin ${gwt.maven.version} + org.jboss.errai.cdi.server.gwt.EmbeddedWildFlyLauncher false INFO - / - ${argLine} -Xmx1g -Xms1g -XX:+AggressiveOpts -XX:+UseNUMA + ${errai.dev.context} + ${argLine} -Xmx1g -Xms1g -XX:+AggressiveOpts -XX:+UseNUMA -Derrai.jboss.home=${errai.jboss.home} -Derrai.dev.context=${errai.dev.context} false src/main/webapp/ true @@ -764,6 +445,31 @@ + + maven-dependency-plugin + 2.8 + + + unpack + process-resources + + unpack + + + + + org.wildfly + wildfly-dist + ${wildfly.version} + zip + false + ${project.build.directory} + + + + + + org.apache.maven.plugins maven-war-plugin @@ -772,13 +478,6 @@ ${project.artifactId} @{artifactId}@-@{baseVersion}@@{dashClassifier?}@.@{extension}@ **/javax/**/*.*,**/client/local/**/*.class,**/persistence.xml - - - - - src/${webDescriptor} - - diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/jboss7/WEB-INF/web.xml b/errai-demos/errai-jpa-demo-grocery-list/src/jboss7/WEB-INF/web.xml deleted file mode 100644 index acfafbb72e..0000000000 --- a/errai-demos/errai-jpa-demo-grocery-list/src/jboss7/WEB-INF/web.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - ErraiServlet - org.jboss.errai.bus.server.servlet.DefaultBlockingServlet - 1 - - - - ErraiServlet - *.erraiBus - - - - errai.properties - /WEB-INF/errai.properties - - - - login.config - /WEB-INF/login.config - - - - users.properties - /WEB-INF/users.properties - - - \ No newline at end of file diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/jetty/WEB-INF/jetty-env.xml b/errai-demos/errai-jpa-demo-grocery-list/src/jetty/WEB-INF/jetty-env.xml deleted file mode 100644 index 5e929324f6..0000000000 --- a/errai-demos/errai-jpa-demo-grocery-list/src/jetty/WEB-INF/jetty-env.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - org.mortbay.jetty.webapp.WebInfConfiguration - org.mortbay.jetty.plus.webapp.EnvConfiguration - org.mortbay.jetty.plus.webapp.Configuration - org.mortbay.jetty.webapp.JettyWebXmlConfiguration - - - - - - - BeanManager - - - javax.enterprise.inject.spi.BeanManager - org.jboss.weld.resources.ManagerObjectFactory - - - - - - - - - - ErraiService - - - org.jboss.errai.bus.server.service.ErraiService - org.jboss.errai.container.ErraiServiceObjectFactory - - - - - \ No newline at end of file diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/jetty/WEB-INF/web.xml b/errai-demos/errai-jpa-demo-grocery-list/src/jetty/WEB-INF/web.xml deleted file mode 100644 index 379b56f518..0000000000 --- a/errai-demos/errai-jpa-demo-grocery-list/src/jetty/WEB-INF/web.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - ErraiServlet - org.jboss.errai.bus.server.servlet.DefaultBlockingServlet - 1 - - - - ErraiServlet - *.erraiBus - - - - org.jboss.weld.environment.servlet.Listener - - - - Object factory for the CDI Bean Manager - BeanManager - javax.enterprise.inject.spi.BeanManager - - - - Object factory for the Errai Service - ErraiService - org.jboss.errai.bus.server.service.ErraiService - - - - errai.properties - /WEB-INF/errai.properties - - - - login.config - /WEB-INF/login.config - - - - users.properties - /WEB-INF/users.properties - - - \ No newline at end of file diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/main/java/org/jboss/errai/demo/grocery/GroceryList.gwt.xml b/errai-demos/errai-jpa-demo-grocery-list/src/main/java/org/jboss/errai/demo/grocery/GroceryList.gwt.xml index 1db7ab9bb4..f78b6399c9 100644 --- a/errai-demos/errai-jpa-demo-grocery-list/src/main/java/org/jboss/errai/demo/grocery/GroceryList.gwt.xml +++ b/errai-demos/errai-jpa-demo-grocery-list/src/main/java/org/jboss/errai/demo/grocery/GroceryList.gwt.xml @@ -34,6 +34,7 @@ + diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/main/java/org/jboss/errai/demo/grocery/client/local/Config.java b/errai-demos/errai-jpa-demo-grocery-list/src/main/java/org/jboss/errai/demo/grocery/client/local/Config.java index fadc99567e..7c05751f94 100644 --- a/errai-demos/errai-jpa-demo-grocery-list/src/main/java/org/jboss/errai/demo/grocery/client/local/Config.java +++ b/errai-demos/errai-jpa-demo-grocery-list/src/main/java/org/jboss/errai/demo/grocery/client/local/Config.java @@ -24,7 +24,6 @@ public class Config implements Configuration { @Override public String getRemoteLocation() { - // return "https://grocery-edewit.rhcloud.com/errai-jpa-demo-grocery-list"; - return "http://127.0.0.1:8888/"; + return "http://127.0.0.1:8888/errai-jpa-demo-grocery-list/"; } } diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/jboss7/META-INF/MANIFEST.MF b/errai-demos/errai-jpa-demo-grocery-list/src/main/resources/META-INF/MANIFEST.MF similarity index 100% rename from errai-demos/errai-jpa-demo-grocery-list/src/jboss7/META-INF/MANIFEST.MF rename to errai-demos/errai-jpa-demo-grocery-list/src/main/resources/META-INF/MANIFEST.MF diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/beans.xml b/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/beans.xml new file mode 100644 index 0000000000..0988b2e279 --- /dev/null +++ b/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/beans.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/jboss7/WEB-INF/jboss-deployment-structure.xml b/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/jboss-deployment-structure.xml similarity index 100% rename from errai-demos/errai-jpa-demo-grocery-list/src/jboss7/WEB-INF/jboss-deployment-structure.xml rename to errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/jboss-deployment-structure.xml diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/jetty-env.xml b/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/jetty-env.xml deleted file mode 100644 index 9ddf454c47..0000000000 --- a/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/jetty-env.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - org.mortbay.jetty.webapp.WebInfConfiguration - org.mortbay.jetty.plus.webapp.EnvConfiguration - org.mortbay.jetty.plus.webapp.Configuration - org.mortbay.jetty.webapp.JettyWebXmlConfiguration - - - - - BeanManager - - - javax.enterprise.inject.spi.BeanManager - org.jboss.weld.resources.ManagerObjectFactory - - - - - - - - ErraiService - - - org.jboss.errai.bus.server.service.ErraiService - org.jboss.errai.container.ErraiServiceObjectFactory - - - - - \ No newline at end of file diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/web.xml b/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/web.xml index 52cfb7c21e..acfafbb72e 100644 --- a/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/web.xml +++ b/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/WEB-INF/web.xml @@ -1,45 +1,48 @@ - + - - 404 - / - - - - ErraiServlet - org.jboss.errai.bus.server.servlet.DefaultBlockingServlet - 1 - + Licensed under the Apache License, Version 2.0 (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 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + - - ErraiServlet - *.erraiBus - + + ErraiServlet + org.jboss.errai.bus.server.servlet.DefaultBlockingServlet + 1 + - - org.jboss.weld.environment.servlet.Listener - + + ErraiServlet + *.erraiBus + - - Object factory for the CDI Bean Manager - BeanManager - javax.enterprise.inject.spi.BeanManager - + + errai.properties + /WEB-INF/errai.properties + - - Object factory for the Errai Service - ErraiService - org.jboss.errai.bus.server.service.ErraiService - + + login.config + /WEB-INF/login.config + - - errai.properties - /WEB-INF/errai.properties - + + users.properties + /WEB-INF/users.properties + \ No newline at end of file diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/index.html b/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/index.html index f7d316d27b..a76b8ad805 100644 --- a/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/index.html +++ b/errai-demos/errai-jpa-demo-grocery-list/src/main/webapp/index.html @@ -32,6 +32,7 @@ + @@ -41,6 +42,5 @@
- diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/tomcat/META-INF/context.xml b/errai-demos/errai-jpa-demo-grocery-list/src/tomcat/META-INF/context.xml deleted file mode 100644 index 28271d7e7a..0000000000 --- a/errai-demos/errai-jpa-demo-grocery-list/src/tomcat/META-INF/context.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - diff --git a/errai-demos/errai-jpa-demo-grocery-list/src/tomcat/WEB-INF/web.xml b/errai-demos/errai-jpa-demo-grocery-list/src/tomcat/WEB-INF/web.xml deleted file mode 100644 index 2dad801125..0000000000 --- a/errai-demos/errai-jpa-demo-grocery-list/src/tomcat/WEB-INF/web.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - ErraiServlet - org.jboss.errai.bus.server.servlet.DefaultBlockingServlet - - 1 - - - - ErraiServlet - *.erraiBus - - - - org.jboss.weld.environment.servlet.Listener - - - - Object factory for the CDI Bean Manager - BeanManager - javax.enterprise.inject.spi.BeanManager - - - - Object factory for the Errai Service - ErraiService - org.jboss.errai.bus.server.service.ErraiService - - - - errai.properties - /WEB-INF/errai.properties - - - - login.config - /WEB-INF/login.config - - - - users.properties - /WEB-INF/users.properties - - - \ No newline at end of file diff --git a/errai-demos/errai-jpa-demo-todo-list/pom.xml b/errai-demos/errai-jpa-demo-todo-list/pom.xml index 4b8ad678c1..3f171db248 100644 --- a/errai-demos/errai-jpa-demo-todo-list/pom.xml +++ b/errai-demos/errai-jpa-demo-todo-list/pom.xml @@ -48,7 +48,6 @@ scm:git:git@github.com:errai/errai.git - ${project.artifactId} 2.6 6.1.25 2.4.1 @@ -60,8 +59,9 @@ true 2.7 - - + 8.1.0.Final + ${project.artifactId} + ${project.build.directory}/wildfly-${wildfly.version} @@ -144,7 +144,6 @@ com.google.gwt gwt-user - provided @@ -160,6 +159,10 @@ org.jboss.errai errai-jboss-as-support + + org.jboss.errai + errai-common + org.jboss.errai errai-bus @@ -340,6 +343,31 @@ + + maven-dependency-plugin + 2.8 + + + unpack + process-resources + + unpack + + + + + org.wildfly + wildfly-dist + ${wildfly.version} + zip + false + ${project.build.directory} + + + + + + org.wildfly.plugins wildfly-maven-plugin @@ -387,12 +415,12 @@ true INFO false - org.jboss.errai.cdi.server.gwt.JBossLauncher + org.jboss.errai.cdi.server.gwt.EmbeddedWildFlyLauncher true ${errai.dev.context}/ false src/main/webapp - -Xmx712m -XX:CompileThreshold=7000 -Derrai.jboss.config.file=standalone.xml -Derrai.jboss.home=${errai.jboss.home} -Derrai.dev.context=${errai.dev.context} -Derrai.jboss.javaagent.path=${settings.localRepository}/org/jboss/errai/errai-client-local-class-hider/${project.version}/errai-client-local-class-hider-${project.version}.jar + -Xmx712m -XX:CompileThreshold=7000 -Derrai.jboss.home=${errai.jboss.home} -Derrai.dev.context=${errai.dev.context} @@ -412,7 +440,7 @@ - jboss7 + wildfly true diff --git a/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/BaseTodoItemWidget.java b/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/BaseTodoItemWidget.java new file mode 100644 index 0000000000..141c31adc3 --- /dev/null +++ b/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/BaseTodoItemWidget.java @@ -0,0 +1,86 @@ +/* + * Copyright (C) 2015 Red Hat, Inc. and/or its affiliates. + * + * Licensed under the Apache License, Version 2.0 (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 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.jboss.errai.demo.todo.client.local; + +import javax.annotation.PostConstruct; +import javax.enterprise.event.Event; +import javax.inject.Inject; + +import org.jboss.errai.databinding.client.api.DataBinder; +import org.jboss.errai.databinding.client.api.StateSync; +import org.jboss.errai.databinding.client.api.handler.property.PropertyChangeEvent; +import org.jboss.errai.databinding.client.api.handler.property.PropertyChangeHandler; +import org.jboss.errai.demo.todo.shared.TodoItem; +import org.jboss.errai.ui.client.widget.HasModel; +import org.jboss.errai.ui.shared.api.annotations.AutoBound; +import org.jboss.errai.ui.shared.api.annotations.Bound; +import org.jboss.errai.ui.shared.api.annotations.DataField; +import org.jboss.errai.ui.shared.api.annotations.EventHandler; +import org.jboss.errai.ui.shared.api.annotations.Templated; + +import com.google.gwt.event.dom.client.ClickEvent; +import com.google.gwt.user.client.ui.CheckBox; +import com.google.gwt.user.client.ui.Composite; +import com.google.gwt.user.client.ui.InlineLabel; + +@Templated("TodoListPage.html#item") +public abstract class BaseTodoItemWidget extends Composite implements HasModel { + + @Inject Event itemChangedEvent; + + @Inject @AutoBound DataBinder itemBinder; + @Inject @Bound @DataField InlineLabel text; + @Inject @Bound @DataField CheckBox done; + + @Override + public void setModel(TodoItem item) { + itemBinder.setModel(item, StateSync.FROM_MODEL); + updateDoneStyle(); + } + + @Override + public TodoItem getModel() { + return itemBinder.getModel(); + } + + @PostConstruct + void setup() { + itemBinder.addPropertyChangeHandler(new PropertyChangeHandler() { + @Override + public void onPropertyChange(PropertyChangeEvent event) { + TodoItem item = itemBinder.getModel(); + updateDoneStyle(); + itemChangedEvent.fire(item); + } + }); + } + + private void updateDoneStyle() { + if (getModel().isDone()) { + text.addStyleName("done"); + } + else { + text.removeStyleName("done"); + } + } + + @EventHandler + protected void onClick(ClickEvent e) { + TodoItem item = getModel(); + item.setDone(!item.isDone()); + } +} diff --git a/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/LockedTodoItemWidget.java b/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/LockedTodoItemWidget.java index 21c0710ef9..aa6b226e04 100644 --- a/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/LockedTodoItemWidget.java +++ b/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/LockedTodoItemWidget.java @@ -23,7 +23,7 @@ import com.google.gwt.event.dom.client.ClickEvent; @Templated("TodoListPage.html#item") -public class LockedTodoItemWidget extends TodoItemWidget { +public class LockedTodoItemWidget extends BaseTodoItemWidget { @PostConstruct private void disableCheckbox() { diff --git a/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/TodoItemWidget.java b/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/TodoItemWidget.java index d192d893ad..19195a353b 100644 --- a/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/TodoItemWidget.java +++ b/errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/client/local/TodoItemWidget.java @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2015 Red Hat, Inc. and/or its affiliates. +/** + * Copyright (C) 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,71 +16,9 @@ package org.jboss.errai.demo.todo.client.local; -import javax.annotation.PostConstruct; -import javax.enterprise.event.Event; -import javax.inject.Inject; - -import org.jboss.errai.databinding.client.api.DataBinder; -import org.jboss.errai.databinding.client.api.StateSync; -import org.jboss.errai.databinding.client.api.handler.property.PropertyChangeEvent; -import org.jboss.errai.databinding.client.api.handler.property.PropertyChangeHandler; -import org.jboss.errai.demo.todo.shared.TodoItem; -import org.jboss.errai.ui.client.widget.HasModel; -import org.jboss.errai.ui.shared.api.annotations.AutoBound; -import org.jboss.errai.ui.shared.api.annotations.Bound; -import org.jboss.errai.ui.shared.api.annotations.DataField; -import org.jboss.errai.ui.shared.api.annotations.EventHandler; import org.jboss.errai.ui.shared.api.annotations.Templated; -import com.google.gwt.event.dom.client.ClickEvent; -import com.google.gwt.user.client.ui.CheckBox; -import com.google.gwt.user.client.ui.Composite; -import com.google.gwt.user.client.ui.InlineLabel; - @Templated("TodoListPage.html#item") -public class TodoItemWidget extends Composite implements HasModel { - - @Inject Event itemChangedEvent; - - @Inject @AutoBound DataBinder itemBinder; - @Inject @Bound @DataField InlineLabel text; - @Inject @Bound @DataField CheckBox done; - - @Override - public void setModel(TodoItem item) { - itemBinder.setModel(item, StateSync.FROM_MODEL); - updateDoneStyle(); - } - - @Override - public TodoItem getModel() { - return itemBinder.getModel(); - } - - @PostConstruct - void setup() { - itemBinder.addPropertyChangeHandler(new PropertyChangeHandler() { - @Override - public void onPropertyChange(PropertyChangeEvent event) { - TodoItem item = itemBinder.getModel(); - updateDoneStyle(); - itemChangedEvent.fire(item); - } - }); - } - - private void updateDoneStyle() { - if (getModel().isDone()) { - text.addStyleName("done"); - } - else { - text.removeStyleName("done"); - } - } +public class TodoItemWidget extends BaseTodoItemWidget { - @EventHandler - protected void onClick(ClickEvent e) { - TodoItem item = getModel(); - item.setDone(!item.isDone()); - } } diff --git a/errai-demos/errai-jpa-demo-todo-list/src/main/resources/META-INF/persistence.xml b/errai-demos/errai-jpa-demo-todo-list/src/main/resources/META-INF/persistence.xml index f68761ad76..92d92a7858 100644 --- a/errai-demos/errai-jpa-demo-todo-list/src/main/resources/META-INF/persistence.xml +++ b/errai-demos/errai-jpa-demo-todo-list/src/main/resources/META-INF/persistence.xml @@ -38,7 +38,7 @@ (it doesn't have to be PostgreSQL; you can use any Hibernate-compatible database) --> - java:jboss/datasources/ErraiTodoDS + java:jboss/datasources/ExampleDS org.picketlink.idm.jpa.model.sample.simple.PartitionTypeEntity org.picketlink.idm.jpa.model.sample.simple.AttributeTypeEntity org.picketlink.idm.jpa.model.sample.simple.AccountTypeEntity diff --git a/errai-demos/errai-jpa-demo-todo-list/src/main/webapp/WEB-INF/beans.xml b/errai-demos/errai-jpa-demo-todo-list/src/main/webapp/WEB-INF/beans.xml index ee1470b19c..08a6dfcc32 100644 --- a/errai-demos/errai-jpa-demo-todo-list/src/main/webapp/WEB-INF/beans.xml +++ b/errai-demos/errai-jpa-demo-todo-list/src/main/webapp/WEB-INF/beans.xml @@ -4,4 +4,35 @@ org.jboss.errai.security.server.ServerSecurityRoleInterceptor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/errai-demos/errai-security-demo/pom.xml b/errai-demos/errai-security-demo/pom.xml index afb1c01b60..b9217b1afe 100644 --- a/errai-demos/errai-security-demo/pom.xml +++ b/errai-demos/errai-security-demo/pom.xml @@ -339,12 +339,12 @@ src/main/webapp INFO false - org.jboss.errai.cdi.server.gwt.JBossLauncher + org.jboss.errai.cdi.server.gwt.EmbeddedWildFlyLauncher true ${errai.dev.context}/ false src/main/webapp - -Xmx1G -XX:CompileThreshold=7000 -Derrai.jboss.home=${errai.jboss.home} -Derrai.jboss.javaopts="-Xmx512M" -Derrai.dev.context=${errai.dev.context} -Derrai.jboss.javaagent.path=${settings.localRepository}/org/jboss/errai/errai-client-local-class-hider/${project.version}/errai-client-local-class-hider-${project.version}.jar + -Xmx1G -XX:CompileThreshold=7000 -Derrai.jboss.home=${errai.jboss.home} -Derrai.dev.context=${errai.dev.context} @@ -364,7 +364,7 @@ - jboss7 + wildfly true @@ -472,11 +472,6 @@ hsqldb provided - - org.mortbay.jetty - jetty-naming - provided - org.jboss.errai errai-codegen-gwt diff --git a/errai-demos/errai-security-demo/src/main/webapp/WEB-INF/beans.xml b/errai-demos/errai-security-demo/src/main/webapp/WEB-INF/beans.xml index 66df9260f6..434000d133 100644 --- a/errai-demos/errai-security-demo/src/main/webapp/WEB-INF/beans.xml +++ b/errai-demos/errai-security-demo/src/main/webapp/WEB-INF/beans.xml @@ -5,4 +5,30 @@ org.jboss.errai.security.server.ServerSecurityRoleInterceptor + + + + + + + + + + + + + + + + + + + + + + + + + +