[webbeans-commits] Webbeans SVN: r790 - in examples/trunk: login and 5 other directories.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Tue Jan 6 13:23:51 EST 2009


Author: pete.muir at jboss.org
Date: 2009-01-06 13:23:50 -0500 (Tue, 06 Jan 2009)
New Revision: 790

Removed:
   examples/trunk/numberguess/WebContent/WEB-INF/jboss-web.xml
Modified:
   examples/trunk/
   examples/trunk/login/
   examples/trunk/login/WebContent/WEB-INF/web.xml
   examples/trunk/login/src/main/java/org/jboss/webbeans/examples/login/Credentials.java
   examples/trunk/login/src/main/java/org/jboss/webbeans/examples/login/Login.java
   examples/trunk/pom.xml
   examples/trunk/translator/webbeans-translator-ear/pom.xml
   examples/trunk/translator/webbeans-translator-war/WebContent/WEB-INF/web.xml
Log:
update for latest metadata simplification


Property changes on: examples/trunk
___________________________________________________________________
Name: svn:ignore
   + target



Property changes on: examples/trunk/login
___________________________________________________________________
Name: svn:ignore
   + .project

target

.classpath

.settings


Modified: examples/trunk/login/WebContent/WEB-INF/web.xml
===================================================================
--- examples/trunk/login/WebContent/WEB-INF/web.xml	2009-01-06 17:59:41 UTC (rev 789)
+++ examples/trunk/login/WebContent/WEB-INF/web.xml	2009-01-06 18:23:50 UTC (rev 790)
@@ -28,9 +28,5 @@
    <session-config>
       <session-timeout>10</session-timeout>
    </session-config>
-   
-    <listener>
-       <listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-class>
-    </listener>
 
 </web-app>

Modified: examples/trunk/login/src/main/java/org/jboss/webbeans/examples/login/Credentials.java
===================================================================
--- examples/trunk/login/src/main/java/org/jboss/webbeans/examples/login/Credentials.java	2009-01-06 17:59:41 UTC (rev 789)
+++ examples/trunk/login/src/main/java/org/jboss/webbeans/examples/login/Credentials.java	2009-01-06 18:23:50 UTC (rev 790)
@@ -1,10 +1,12 @@
 package org.jboss.webbeans.examples.login;
 
+import java.io.Serializable;
+
 import javax.webbeans.Named;
 import javax.webbeans.RequestScoped;
 
 @RequestScoped @Named
-public class Credentials {
+public class Credentials implements Serializable {
 	
     private String username;
     private String password;

Modified: examples/trunk/login/src/main/java/org/jboss/webbeans/examples/login/Login.java
===================================================================
--- examples/trunk/login/src/main/java/org/jboss/webbeans/examples/login/Login.java	2009-01-06 17:59:41 UTC (rev 789)
+++ examples/trunk/login/src/main/java/org/jboss/webbeans/examples/login/Login.java	2009-01-06 18:23:50 UTC (rev 790)
@@ -1,5 +1,6 @@
 package org.jboss.webbeans.examples.login;
 
+import java.io.Serializable;
 import java.util.Arrays;
 import java.util.List;
 
@@ -11,7 +12,7 @@
 import javax.webbeans.SessionScoped;
 
 @SessionScoped @Named
-public class Login {
+public class Login implements Serializable {
 
     @Current Credentials credentials;
     //@PersistenceContext EntityManager userDatabase;

Deleted: examples/trunk/numberguess/WebContent/WEB-INF/jboss-web.xml
===================================================================
--- examples/trunk/numberguess/WebContent/WEB-INF/jboss-web.xml	2009-01-06 17:59:41 UTC (rev 789)
+++ examples/trunk/numberguess/WebContent/WEB-INF/jboss-web.xml	2009-01-06 18:23:50 UTC (rev 790)
@@ -1,8 +0,0 @@
-<jboss-web>  
-  <class-loading java2ClassLoadingCompliance="false">
-    <loader-repository>
-      webbeans.jboss.org:loader=webbeans-numberguess
-      <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
-    </loader-repository>
-  </class-loading>
-</jboss-web>

Modified: examples/trunk/pom.xml
===================================================================
--- examples/trunk/pom.xml	2009-01-06 17:59:41 UTC (rev 789)
+++ examples/trunk/pom.xml	2009-01-06 18:23:50 UTC (rev 790)
@@ -20,6 +20,7 @@
    <modules>
       <module>numberguess</module>
       <module>translator</module>
+      <module>login</module>
    </modules>
 
    <build>

Modified: examples/trunk/translator/webbeans-translator-ear/pom.xml
===================================================================
--- examples/trunk/translator/webbeans-translator-ear/pom.xml	2009-01-06 17:59:41 UTC (rev 789)
+++ examples/trunk/translator/webbeans-translator-ear/pom.xml	2009-01-06 18:23:50 UTC (rev 790)
@@ -73,9 +73,6 @@
                      <contextRoot>/webbeans-translator</contextRoot>
                   </webModule>
                </modules>
-               <jboss>
-                  <loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-repository>
-               </jboss>
             </configuration>
          </plugin>
       </plugins>

Modified: examples/trunk/translator/webbeans-translator-war/WebContent/WEB-INF/web.xml
===================================================================
--- examples/trunk/translator/webbeans-translator-war/WebContent/WEB-INF/web.xml	2009-01-06 17:59:41 UTC (rev 789)
+++ examples/trunk/translator/webbeans-translator-war/WebContent/WEB-INF/web.xml	2009-01-06 18:23:50 UTC (rev 790)
@@ -28,9 +28,5 @@
    <session-config>
       <session-timeout>10</session-timeout>
    </session-config>
-   
-    <listener>
-       <listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-class>
-    </listener>
 
 </web-app>




More information about the weld-commits mailing list