geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r489963 [1/2] - in /geronimo/server/trunk: configs/ configs/cxf/ configs/jee-specs/ configs/jetty6/ configs/openejb/ configs/tomcat6-deployer/src/plan/ configs/tomcat6/ configs/webservices-common/ configs/webservices-common/src/ configs/web...
Date Sun, 24 Dec 2006 01:28:10 GMT
Author: djencks
Date: Sat Dec 23 17:28:06 2006
New Revision: 489963

URL: http://svn.apache.org/viewvc?view=rev&rev=489963
Log:
GERONIMO-2671 support for stax and jaxb, with integration tests

Added:
    geronimo/server/trunk/configs/webservices-common/
    geronimo/server/trunk/configs/webservices-common/pom.xml   (with props)
    geronimo/server/trunk/configs/webservices-common/src/
    geronimo/server/trunk/configs/webservices-common/src/plan/
    geronimo/server/trunk/configs/webservices-common/src/plan/plan.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/pom.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/pom.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBBean.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBHome.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBObject.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBTest.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/Account.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/account.xsd   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/package-info.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/ejb-jar.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/openejb-jar.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBJAXBTest.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/pom.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBServlet.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBTest.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/Account.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/account.xsd   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/package-info.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/webapp/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/webapp/JAXBJSP.jsp   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/webapp/WEB-INF/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/test/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/test/java/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/test/java/org/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/test/java/org/apache/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/test/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/test/java/org/apache/geronimo/testsuite/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/test/java/org/apache/geronimo/testsuite/testset/
    geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/test/java/org/apache/geronimo/testsuite/testset/WebJAXBTest.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/pom.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/pom.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/pom.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/org/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/org/apache/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/org/apache/geronimo/test/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/org/apache/geronimo/test/StaxBean.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/org/apache/geronimo/test/StaxHome.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/org/apache/geronimo/test/StaxObject.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/java/org/apache/geronimo/test/StaxTest.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/resources/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/resources/META-INF/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/resources/META-INF/ejb-jar.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/main/resources/META-INF/openejb-jar.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/test/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/test/java/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/test/java/org/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/test/java/org/apache/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/test/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/test/java/org/apache/geronimo/testsuite/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBStaxTest.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/pom.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/java/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/java/org/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/java/org/apache/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/java/org/apache/geronimo/test/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/java/org/apache/geronimo/test/StaxServlet.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/java/org/apache/geronimo/test/StaxTest.java   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/webapp/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/webapp/StaxJSP.jsp   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/webapp/WEB-INF/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/test/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/test/java/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/test/java/org/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/test/java/org/apache/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/test/java/org/apache/geronimo/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/test/java/org/apache/geronimo/testsuite/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/test/java/org/apache/geronimo/testsuite/testset/
    geronimo/server/trunk/testsuite/jee5-testsuite/stax/test-war/src/test/java/org/apache/geronimo/testsuite/testset/WebStaxTest.java   (with props)
Modified:
    geronimo/server/trunk/configs/cxf/pom.xml
    geronimo/server/trunk/configs/jee-specs/pom.xml
    geronimo/server/trunk/configs/jetty6/pom.xml
    geronimo/server/trunk/configs/openejb/pom.xml
    geronimo/server/trunk/configs/pom.xml
    geronimo/server/trunk/configs/tomcat6-deployer/src/plan/plan.xml
    geronimo/server/trunk/configs/tomcat6/pom.xml
    geronimo/server/trunk/testsuite/pom.xml

Modified: geronimo/server/trunk/configs/cxf/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/cxf/pom.xml?view=diff&rev=489963&r1=489962&r2=489963
==============================================================================
--- geronimo/server/trunk/configs/cxf/pom.xml (original)
+++ geronimo/server/trunk/configs/cxf/pom.xml Sat Dec 23 17:28:06 2006
@@ -42,6 +42,13 @@
             <version>${version}</version>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>webservices-common</artifactId>
+            <type>car</type>
+            <version>${version}</version>
+        </dependency>
+
        <dependency>
             <groupId>org.apache.geronimo.modules</groupId>
             <artifactId>geronimo-cxf</artifactId>
@@ -101,15 +108,6 @@
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-tools-common</artifactId>
         </dependency>
-
-        <dependency>
-             <groupId>stax</groupId>
-             <artifactId>stax-api</artifactId>
-         </dependency>
-         <dependency>
-             <groupId>woodstox</groupId>
-             <artifactId>wstx-asl</artifactId>
-         </dependency>
          <dependency>
              <groupId>org.apache.ws.commons</groupId>
              <artifactId>XmlSchema</artifactId>
@@ -119,17 +117,8 @@
              <artifactId>saaj-api</artifactId>
          </dependency>
          <dependency>
-             <groupId>javax.xml.bind</groupId>
-             <artifactId>jaxb-api</artifactId>
-         </dependency>
-         <dependency>
              <groupId>com.sun.xml.messaging.saaj</groupId>
              <artifactId>saaj-impl</artifactId>
-         </dependency>
-
-         <dependency>
-             <groupId>com.sun.xml.bind</groupId>
-             <artifactId>jaxb-impl</artifactId>
          </dependency>
          <dependency>
              <groupId>org.springframework</groupId>

Modified: geronimo/server/trunk/configs/jee-specs/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/jee-specs/pom.xml?view=diff&rev=489963&r1=489962&r2=489963
==============================================================================
--- geronimo/server/trunk/configs/jee-specs/pom.xml (original)
+++ geronimo/server/trunk/configs/jee-specs/pom.xml Sat Dec 23 17:28:06 2006
@@ -120,6 +120,17 @@
             <artifactId>geronimo-servlet_2.5_spec</artifactId>
         </dependency>
 
+        <!-- WS API -->
+
+        <dependency>
+            <groupId>stax</groupId>
+            <artifactId>stax-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+        </dependency>
+
         <!-- build order hint -->
         <dependency>
             <groupId>org.apache.geronimo.configs</groupId>

Modified: geronimo/server/trunk/configs/jetty6/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/jetty6/pom.xml?view=diff&rev=489963&r1=489962&r2=489963
==============================================================================
--- geronimo/server/trunk/configs/jetty6/pom.xml (original)
+++ geronimo/server/trunk/configs/jetty6/pom.xml Sat Dec 23 17:28:06 2006
@@ -90,6 +90,13 @@
             <artifactId>myfaces-impl</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>webservices-common</artifactId>
+            <type>car</type>
+            <version>${version}</version>
+        </dependency>
+
     </dependencies>
 
     <!--

Modified: geronimo/server/trunk/configs/openejb/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/openejb/pom.xml?view=diff&rev=489963&r1=489962&r2=489963
==============================================================================
--- geronimo/server/trunk/configs/openejb/pom.xml (original)
+++ geronimo/server/trunk/configs/openejb/pom.xml Sat Dec 23 17:28:06 2006
@@ -90,6 +90,13 @@
             <!--<artifactId>concurrent</artifactId>-->
         <!--</dependency>-->
 
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>webservices-common</artifactId>
+            <type>car</type>
+            <version>${version}</version>
+        </dependency>
+
     </dependencies>
 
 </project>

Modified: geronimo/server/trunk/configs/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/pom.xml?view=diff&rev=489963&r1=489962&r2=489963
==============================================================================
--- geronimo/server/trunk/configs/pom.xml (original)
+++ geronimo/server/trunk/configs/pom.xml Sat Dec 23 17:28:06 2006
@@ -172,6 +172,7 @@
         <module>transaction-jta11</module>
         <module>uddi-jetty6</module>
         <module>webconsole-jetty6</module>
+        <module>webservices-common</module>
 
     </modules>
 

Modified: geronimo/server/trunk/configs/tomcat6-deployer/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/tomcat6-deployer/src/plan/plan.xml?view=diff&rev=489963&r1=489962&r2=489963
==============================================================================
--- geronimo/server/trunk/configs/tomcat6-deployer/src/plan/plan.xml (original)
+++ geronimo/server/trunk/configs/tomcat6-deployer/src/plan/plan.xml Sat Dec 23 17:28:06 2006
@@ -30,6 +30,9 @@
         </reference>
         <references name="WebServiceBuilder">
             <pattern>
+                <name>CXFBuilder</name>
+            </pattern>
+            <pattern>
                 <name>WebServiceBuilder</name>
             </pattern>
             <pattern>
@@ -45,11 +48,6 @@
         <xml-attribute name="defaultEnvironment">
             <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-${geronimoSchemaVersion}">
                 <dependencies>
-                    <dependency>
-                        <groupId>${pom.groupId}</groupId>
-                        <artifactId>j2ee-server</artifactId>
-                        <type>car</type>
-                    </dependency>
                     <dependency>
                         <groupId>${pom.groupId}</groupId>
                         <artifactId>tomcat6</artifactId>

Modified: geronimo/server/trunk/configs/tomcat6/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/tomcat6/pom.xml?view=diff&rev=489963&r1=489962&r2=489963
==============================================================================
--- geronimo/server/trunk/configs/tomcat6/pom.xml (original)
+++ geronimo/server/trunk/configs/tomcat6/pom.xml Sat Dec 23 17:28:06 2006
@@ -77,6 +77,13 @@
             <artifactId>myfaces-impl</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>webservices-common</artifactId>
+            <type>car</type>
+            <version>${version}</version>
+        </dependency>
+
     </dependencies>
 
     <repositories>

Added: geronimo/server/trunk/configs/webservices-common/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/webservices-common/pom.xml?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/configs/webservices-common/pom.xml (added)
+++ geronimo/server/trunk/configs/webservices-common/pom.xml Sat Dec 23 17:28:06 2006
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.configs</groupId>
+        <artifactId>configs</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>webservices-common</artifactId>
+    <name>Geronimo Configs :: WebServices Common</name>
+    <packaging>car</packaging>
+    
+    <dependencies>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>j2ee-server</artifactId>
+            <version>${pom.version}</version>
+            <type>car</type>
+        </dependency>
+
+        <!-- StAX implementation -->
+        <dependency>
+            <groupId>woodstox</groupId>
+            <artifactId>wstx-asl</artifactId>
+        </dependency>
+
+        <!-- JAXB implementation -->
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-impl</artifactId>
+        </dependency>
+
+    </dependencies>
+    
+</project>

Propchange: geronimo/server/trunk/configs/webservices-common/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/webservices-common/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/configs/webservices-common/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/configs/webservices-common/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/webservices-common/src/plan/plan.xml?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/configs/webservices-common/src/plan/plan.xml (added)
+++ geronimo/server/trunk/configs/webservices-common/src/plan/plan.xml Sat Dec 23 17:28:06 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
+
+</module>

Propchange: geronimo/server/trunk/configs/webservices-common/src/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/webservices-common/src/plan/plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/configs/webservices-common/src/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/pom.xml?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/pom.xml (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/pom.xml Sat Dec 23 17:28:06 2006
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <artifactId>jee5-testsuite</artifactId>
+    <groupId>org.apache.geronimo.testsuite</groupId>
+    <version>2.0-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jaxb-testsuite</artifactId>
+  <packaging>pom</packaging>
+  <name>Geronimo TestSuite, JEE5 Test Suite, JAXB</name>
+  <description>Geronimo jee5-testsuite testsuite created from an archetype.</description>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.geronimo.plugins</groupId>
+        <artifactId>testsuite-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>generate-surefire-xml</id>
+            <phase>install</phase>
+            <goals>
+              <goal>generate-surefire-xml</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <profiles>
+    <profile>
+      <id>default</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.geronimo.plugins</groupId>
+            <artifactId>geronimo-maven-plugin</artifactId>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.geronimo.genesis.plugins</groupId>
+            <artifactId>maven-maven-plugin</artifactId>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>child</id>
+    </profile>
+  </profiles>
+
+</project>

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/pom.xml?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/pom.xml (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/pom.xml Sat Dec 23 17:28:06 2006
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.testsuite</groupId>
+        <artifactId>jaxb-testsuite</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>test-ejb</artifactId>
+    <name>Geronimo TestSuite, JEE5 Test Suite, JAXB :: Test EJB</name>
+    <packaging>jar</packaging>
+
+    <description>This project executes testcases for your testsuite</description>
+
+    <dependencies>
+      <dependency>
+           <groupId>org.apache.geronimo.specs</groupId>
+           <artifactId>geronimo-ejb_2.1_spec</artifactId>
+       </dependency>
+
+       <dependency>
+           <groupId>org.apache.openejb</groupId>
+           <artifactId>openejb-core</artifactId>
+       </dependency>
+
+       <dependency>
+            <groupId>org.apache.geronimo.modules</groupId>
+            <artifactId>geronimo-kernel</artifactId>
+            <version>${version}</version>
+       </dependency>
+
+       <dependency>
+            <groupId>org.apache.geronimo.modules</groupId>
+            <artifactId>geronimo-security</artifactId>
+            <version>${version}</version>
+       </dependency>
+
+       <dependency>
+             <groupId>javax.xml.bind</groupId>
+             <artifactId>jaxb-api</artifactId>
+             <scope>provided</scope>
+       </dependency>
+
+   </dependencies>
+
+   <profiles>
+        <profile>
+            <id>child</id>
+            <build>
+                <plugins>
+
+                  <plugin>
+                    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                    <artifactId>tools-maven-plugin</artifactId>
+                    <extensions>true</extensions>
+                  </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.geronimo.plugins</groupId>
+                        <artifactId>geronimo-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>deploy-ejb</id>
+                                <phase>pre-integration-test</phase>
+                                <goals>
+                                    <goal>deploy-module</goal>
+                                </goals>
+                                <configuration>
+                                  <moduleArchive>${project.build.directory}/${artifactId}-${version}.jar</moduleArchive>
+                                </configuration>
+                            </execution>
+                            
+                            <execution>
+                                <id>undeploy-ejb-as-moduleId</id>
+                                <phase>post-integration-test</phase>
+                                <goals>
+                                    <goal>undeploy-module</goal>
+                                </goals>
+                                <configuration>
+                                    <moduleId>JEE5/JAXBEJB/1.1/car</moduleId>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+</project>
+

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBBean.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBBean.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBBean.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,62 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.apache.geronimo.test;
+
+import java.rmi.RemoteException;
+import java.util.List;
+import java.util.ArrayList;
+import javax.ejb.SessionBean;
+import javax.ejb.SessionContext;
+
+public class JAXBBean implements SessionBean {
+
+    private SessionContext sessionContext;
+
+    public void ejbCreate() {
+    }
+
+    public void ejbRemove() {
+    }
+
+    public void ejbActivate() {
+    }
+
+    public void ejbPassivate() {
+    }
+
+    public void setSessionContext(SessionContext sessionContext) {
+        this.sessionContext = sessionContext;
+    }
+    
+    public List testJAXB() throws RemoteException {
+        List output = new ArrayList();
+        try {
+            JAXBTest t = new JAXBTest();
+            output.add(t.getImplementation());
+            t.testMarshall();
+            t.testUnmarshall();
+        } catch (Exception e) {
+            e.printStackTrace();
+            throw new RemoteException("Error", e);
+        }
+        
+        return output;
+    }
+
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBHome.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBHome.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBHome.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBHome.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,29 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.apache.geronimo.test;
+
+import java.rmi.RemoteException;
+import javax.ejb.EJBHome;
+import javax.ejb.CreateException;
+
+public interface JAXBHome extends EJBHome {
+    
+    public JAXBObject create() throws RemoteException, CreateException;
+    
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBHome.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBHome.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBHome.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBObject.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBObject.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBObject.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBObject.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,29 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.apache.geronimo.test;
+
+import java.rmi.RemoteException;
+import java.util.List;
+import javax.ejb.EJBObject;
+
+public interface JAXBObject extends EJBObject {
+    
+    public List testJAXB() throws RemoteException;
+
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBObject.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBObject.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBTest.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBTest.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBTest.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,86 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.apache.geronimo.test;
+
+import java.io.StringWriter;
+import java.io.StringReader;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.Marshaller;
+import javax.xml.bind.Unmarshaller;
+
+import org.apache.geronimo.test.generated.Account;
+
+/**
+ * Performs basic tests using the JAXB 2.0 API. 
+ */
+public class JAXBTest {
+
+    private static final String EXPECTED_OUTPUT = 
+        "<FirstName>foo</FirstName><LastName>bar</LastName>";
+
+    private static final String INPUT =
+        "<foo:Account xmlns:foo=\"http://geronimo.apache.org\">\r\n" +
+        "<FirstName>first</FirstName>\r\n" +
+        "<LastName>last</LastName>\r\n" +
+        "</foo:Account>\r\n";
+    
+    JAXBContext jc = null;
+
+    public JAXBTest() throws Exception {
+        this.jc = 
+            JAXBContext.newInstance("org.apache.geronimo.test.generated");
+    }
+
+    public String getImplementation() {
+        return this.jc.getClass().getName();
+    }
+
+    public void testMarshall() throws Exception {
+        
+        Account bean = new Account();
+        bean.setFirstName("foo");
+        bean.setLastName("bar");
+
+        Marshaller m = this.jc.createMarshaller();
+        StringWriter writer = new StringWriter();
+        m.marshal(bean, writer);
+        writer.flush();
+        
+        String xml = writer.toString();
+        System.out.println(xml);
+
+        if (xml.indexOf(EXPECTED_OUTPUT) == -1) {
+            throw new Exception("Unexpected xml generated");
+        }
+    }
+
+    public void testUnmarshall() throws Exception {
+        
+        Unmarshaller m = this.jc.createUnmarshaller();
+        Account bean = (Account)m.unmarshal(new StringReader(INPUT));
+        
+        if (!(bean.getFirstName().equals("first") &&
+              bean.getLastName().equals("last"))) {
+            throw new Exception("Unexpected data");
+        }
+    }
+
+
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/JAXBTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/Account.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/Account.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/Account.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/Account.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,113 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.
+ */
+
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+
+package org.apache.geronimo.test.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType>
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "firstName",
+    "lastName"
+})
+@XmlRootElement(name = "Account")
+public class Account {
+
+    @XmlElement(name = "FirstName", required = true)
+    protected String firstName;
+    @XmlElement(name = "LastName", required = true)
+    protected String lastName;
+
+    /**
+     * Gets the value of the firstName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getFirstName() {
+        return firstName;
+    }
+
+    /**
+     * Sets the value of the firstName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setFirstName(String value) {
+        this.firstName = value;
+    }
+
+    /**
+     * Gets the value of the lastName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getLastName() {
+        return lastName;
+    }
+
+    /**
+     * Sets the value of the lastName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setLastName(String value) {
+        this.lastName = value;
+    }
+
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/Account.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/Account.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/Account.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,61 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.
+ */
+
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+
+package org.apache.geronimo.test.generated;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the org.apache.geronimo.test.generated package. 
+ * <p>An ObjectFactory allows you to programatically 
+ * construct new instances of the Java representation 
+ * for XML content. The Java representation of XML 
+ * content can consist of schema derived interfaces 
+ * and classes representing the binding of schema 
+ * type definitions, element declarations and model 
+ * groups.  Factory methods for each of these are 
+ * provided in this class.
+ * 
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.geronimo.test.generated
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Account }
+     * 
+     */
+    public Account createAccount() {
+        return new Account();
+    }
+
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/ObjectFactory.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/account.xsd
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/account.xsd?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/account.xsd (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/account.xsd Sat Dec 23 17:28:06 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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.
+-->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="http://geronimo.apache.org"
+            xmlns:tns="http://geronimo.apache.org">
+
+  <xsd:element name="Account">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element name="FirstName" type="xsd:string"
+                     minOccurs="1"  maxOccurs="1"/>
+        <xsd:element name="LastName" type="xsd:string"
+                     minOccurs="1"  maxOccurs="1"/>
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+</xsd:schema>

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/account.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/account.xsd
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/account.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/package-info.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/package-info.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/package-info.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,24 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.
+ */
+
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://geronimo.apache.org")
+package org.apache.geronimo.test.generated;

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/package-info.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/java/org/apache/geronimo/test/generated/package-info.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/ejb-jar.xml?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/ejb-jar.xml (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/ejb-jar.xml Sat Dec 23 17:28:06 2006
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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.
+-->
+<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1">
+  <enterprise-beans>
+    <session>
+      <ejb-name>JAXB</ejb-name>
+      <home>org.apache.geronimo.test.JAXBHome</home>
+      <remote>org.apache.geronimo.test.JAXBObject</remote>
+      <ejb-class>org.apache.geronimo.test.JAXBBean</ejb-class>
+      <session-type>Stateless</session-type>
+      <transaction-type>Container</transaction-type>
+    </session>
+  </enterprise-beans>
+  <assembly-descriptor>
+    <container-transaction>
+      <method>
+        <ejb-name>JAXB</ejb-name>
+        <method-name>*</method-name>
+      </method>
+      <trans-attribute>Required</trans-attribute>
+    </container-transaction>
+  </assembly-descriptor>
+</ejb-jar>

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/openejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/openejb-jar.xml?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/openejb-jar.xml (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/openejb-jar.xml Sat Dec 23 17:28:06 2006
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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.
+-->
+<openejb-jar xmlns="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+  xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
+  xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+    <environment>
+        <moduleId>
+            <groupId>JEE5</groupId>
+            <artifactId>JAXBEJB</artifactId>
+            <version>1.1</version>
+            <type>car</type>
+        </moduleId>
+   </environment>
+
+ <enterprise-beans>
+    <session>
+      <ejb-name>JAXB</ejb-name>
+      <jndi-name>JAXB</jndi-name>
+    </session>
+  </enterprise-beans>
+
+</openejb-jar>

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBJAXBTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBJAXBTest.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBJAXBTest.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBJAXBTest.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,66 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.apache.geronimo.testsuite.testset;
+
+import java.util.Properties;
+import java.util.List;
+import javax.naming.InitialContext;
+import javax.rmi.PortableRemoteObject;
+
+import org.apache.geronimo.test.JAXBHome;
+import org.apache.geronimo.test.JAXBObject;
+
+import org.apache.geronimo.testsupport.TestSupport;
+import org.testng.annotations.Test;
+
+public class EJBJAXBTest extends TestSupport {
+
+    @Test
+    public void testEJB() throws Exception {
+        Properties p = new Properties();
+    
+        p.put("java.naming.factory.initial", 
+              "org.apache.openejb.client.RemoteInitialContextFactory");
+        p.put("java.naming.provider.url", 
+              "127.0.0.1:4201");
+        p.put("java.naming.security.principal", 
+              "myuser");
+        p.put("java.naming.security.credentials", 
+              "mypass");    
+        
+        InitialContext ctx = new InitialContext(p);
+        
+        Object obj = ctx.lookup("/JAXB");
+        
+        JAXBHome ejbHome = 
+            (JAXBHome)PortableRemoteObject.narrow(obj, JAXBHome.class);
+
+        JAXBObject ejbObject = ejbHome.create();
+    
+        List factoryList = ejbObject.testJAXB();
+
+        assertEquals(1, factoryList.size());
+        assertEquals("Implementation", 
+                     "com.sun.xml.bind.v2.runtime.JAXBContextImpl",
+                     factoryList.get(0));
+
+        System.out.println( factoryList );
+    }
+    
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBJAXBTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBJAXBTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-ejb/src/test/java/org/apache/geronimo/testsuite/testset/EJBJAXBTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/pom.xml?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/pom.xml (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/pom.xml Sat Dec 23 17:28:06 2006
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.testsuite</groupId>
+        <artifactId>jaxb-testsuite</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>test-war</artifactId>
+    <name>Geronimo TestSuite, JEE5 Test Suite, JAXB :: Test WAR</name>
+    <packaging>war</packaging>
+
+    <description>This project executes testcases for your testsuite</description>
+
+    <dependencies>
+         <dependency>
+             <groupId>javax.xml.bind</groupId>
+             <artifactId>jaxb-api</artifactId>
+             <scope>provided</scope>
+         </dependency>
+    </dependencies>
+
+   <profiles>
+        <profile>
+            <id>child</id>
+            <build>
+                <plugins>
+
+                  <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <configuration>
+                       <systemProperties>
+                          <property>
+                             <name>webAppName</name>
+                             <value>${artifactId}-${version}</value>
+                          </property>
+                       </systemProperties>
+                    </configuration>
+                  </plugin>
+
+                  <plugin>
+                    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                    <artifactId>tools-maven-plugin</artifactId>
+                    <extensions>true</extensions>
+                  </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-war-plugin</artifactId>
+                        <configuration>
+                            <webXml>${pom.basedir}/src/main/webapp/WEB-INF/web.xml</webXml>
+                            <warSourceIncludes>WEB-INF/lib/${artifactId}-${version}.jar, **/*.jsp, **/*.xml, **/*.class</warSourceIncludes>
+                        </configuration>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.geronimo.plugins</groupId>
+                        <artifactId>geronimo-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>deploy-wars</id>
+                                <phase>pre-integration-test</phase>
+                                <goals>
+                                    <goal>deploy-module</goal>
+                                </goals>
+                                <configuration>
+                                  <moduleArchive>${project.build.directory}/${artifactId}-${version}.war</moduleArchive>
+                                </configuration>
+                            </execution>
+                            
+                            <execution>
+                                <id>undeploy-war-as-moduleId</id>
+                                <phase>post-integration-test</phase>
+                                <goals>
+                                    <goal>undeploy-module</goal>
+                                </goals>
+                                <configuration>
+                                    <moduleId>JEE5/JAXBServlet/1.1/car</moduleId>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+</project>
+

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBServlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBServlet.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBServlet.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBServlet.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,55 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.apache.geronimo.test;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+public class JAXBServlet extends HttpServlet {
+
+    public void doGet(HttpServletRequest theRequest,
+                      HttpServletResponse theResponse) 
+        throws IOException {
+
+        PrintWriter pw = theResponse.getWriter();
+
+        theResponse.setContentType("text/html");
+        pw.println("<html><head><title>Servlet</title></head>");
+        pw.println("<body>");
+
+        try {
+            JAXBTest t = new JAXBTest();
+            pw.println(t.getImplementation());
+            t.testMarshall();
+            t.testUnmarshall();
+        } catch (Exception e) {
+            e.printStackTrace();
+            IOException exception = new IOException("Error");
+            exception.initCause(e);
+            throw exception;
+        }
+        
+        pw.println("</body></html>");
+    }
+
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBTest.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBTest.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBTest.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,86 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.apache.geronimo.test;
+
+import java.io.StringWriter;
+import java.io.StringReader;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.Marshaller;
+import javax.xml.bind.Unmarshaller;
+
+import org.apache.geronimo.test.generated.Account;
+
+/**
+ * Performs basic tests using the JAXB 2.0 API. 
+ */
+public class JAXBTest {
+
+    private static final String EXPECTED_OUTPUT = 
+        "<FirstName>foo</FirstName><LastName>bar</LastName>";
+
+    private static final String INPUT =
+        "<foo:Account xmlns:foo=\"http://geronimo.apache.org\">\r\n" +
+        "<FirstName>first</FirstName>\r\n" +
+        "<LastName>last</LastName>\r\n" +
+        "</foo:Account>\r\n";
+    
+    JAXBContext jc = null;
+
+    public JAXBTest() throws Exception {
+        this.jc = 
+            JAXBContext.newInstance("org.apache.geronimo.test.generated");
+    }
+
+    public String getImplementation() {
+        return this.jc.getClass().getName();
+    }
+
+    public void testMarshall() throws Exception {
+        
+        Account bean = new Account();
+        bean.setFirstName("foo");
+        bean.setLastName("bar");
+
+        Marshaller m = this.jc.createMarshaller();
+        StringWriter writer = new StringWriter();
+        m.marshal(bean, writer);
+        writer.flush();
+        
+        String xml = writer.toString();
+        System.out.println(xml);
+
+        if (xml.indexOf(EXPECTED_OUTPUT) == -1) {
+            throw new Exception("Unexpected xml generated");
+        }
+    }
+
+    public void testUnmarshall() throws Exception {
+        
+        Unmarshaller m = this.jc.createUnmarshaller();
+        Account bean = (Account)m.unmarshal(new StringReader(INPUT));
+        
+        if (!(bean.getFirstName().equals("first") &&
+              bean.getLastName().equals("last"))) {
+            throw new Exception("Unexpected data");
+        }
+    }
+
+
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/JAXBTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/Account.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/Account.java?view=auto&rev=489963
==============================================================================
--- geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/Account.java (added)
+++ geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/Account.java Sat Dec 23 17:28:06 2006
@@ -0,0 +1,113 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.
+ */
+
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+
+package org.apache.geronimo.test.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType>
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "firstName",
+    "lastName"
+})
+@XmlRootElement(name = "Account")
+public class Account {
+
+    @XmlElement(name = "FirstName", required = true)
+    protected String firstName;
+    @XmlElement(name = "LastName", required = true)
+    protected String lastName;
+
+    /**
+     * Gets the value of the firstName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getFirstName() {
+        return firstName;
+    }
+
+    /**
+     * Sets the value of the firstName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setFirstName(String value) {
+        this.firstName = value;
+    }
+
+    /**
+     * Gets the value of the lastName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getLastName() {
+        return lastName;
+    }
+
+    /**
+     * Sets the value of the lastName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setLastName(String value) {
+        this.lastName = value;
+    }
+
+}

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/Account.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/Account.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/jee5-testsuite/jaxb/test-war/src/main/java/org/apache/geronimo/test/generated/Account.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message