You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2012/02/19 23:32:13 UTC

svn commit: r1291077 [4/4] - in /openejb/trunk/openejb/examples: bean-validation-design-by-contract/ bean-validation-design-by-contract/src/main/java/org/superbiz/designbycontract/ bean-validation-design-by-contract/src/test/java/ cdi-interceptors/ cdi...

Modified: openejb/trunk/openejb/examples/simple-mdb-with-descriptor/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-mdb-with-descriptor/README.md?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-mdb-with-descriptor/README.md (original)
+++ openejb/trunk/openejb/examples/simple-mdb-with-descriptor/README.md Sun Feb 19 22:32:10 2012
@@ -75,50 +75,50 @@ Title: Simple MDB with Descriptor
 
 ## ejb-jar.xml
 
-    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" metadata-complete="true">
-      <enterprise-beans>
-    
-        <message-driven>
-    
-          <ejb-name>ChatBean</ejb-name>
-          <ejb-class>org.superbiz.mdbdesc.ChatBean</ejb-class>
-    
-          <messaging-type>javax.jms.MessageListener</messaging-type>
-    
-          <activation-config>
-            <activation-config-property>
-              <activation-config-property-name>destination</activation-config-property-name>
-              <activation-config-property-value>ChatBean</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-              <activation-config-property-name>destinationType</activation-config-property-name>
-              <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
-            </activation-config-property>
-          </activation-config>
-    
-          <resource-ref>
-            <res-ref-name>java:comp/env/org.superbiz.mdbdesc.ChatBean/connectionFactory</res-ref-name>
-            <res-type>javax.jms.ConnectionFactory</res-type>
-            <injection-target>
-              <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
-              <injection-target-name>connectionFactory</injection-target-name>
-            </injection-target>
-          </resource-ref>
-    
-          <resource-env-ref>
-            <resource-env-ref-name>java:comp/env/AnswerQueue</resource-env-ref-name>
-            <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
-            <mapped-name>AnswerQueue</mapped-name>
-            <injection-target>
-              <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
-              <injection-target-name>answerQueue</injection-target-name>
-            </injection-target>
-          </resource-env-ref>
-    
-        </message-driven>
-    
-      </enterprise-beans>
-    </ejb-jar>
+    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" metadata-complete="true">
+      <enterprise-beans>
+    
+        <message-driven>
+    
+          <ejb-name>ChatBean</ejb-name>
+          <ejb-class>org.superbiz.mdbdesc.ChatBean</ejb-class>
+    
+          <messaging-type>javax.jms.MessageListener</messaging-type>
+    
+          <activation-config>
+            <activation-config-property>
+              <activation-config-property-name>destination</activation-config-property-name>
+              <activation-config-property-value>ChatBean</activation-config-property-value>
+            </activation-config-property>
+            <activation-config-property>
+              <activation-config-property-name>destinationType</activation-config-property-name>
+              <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+            </activation-config-property>
+          </activation-config>
+    
+          <resource-ref>
+            <res-ref-name>java:comp/env/org.superbiz.mdbdesc.ChatBean/connectionFactory</res-ref-name>
+            <res-type>javax.jms.ConnectionFactory</res-type>
+            <injection-target>
+              <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
+              <injection-target-name>connectionFactory</injection-target-name>
+            </injection-target>
+          </resource-ref>
+    
+          <resource-env-ref>
+            <resource-env-ref-name>java:comp/env/AnswerQueue</resource-env-ref-name>
+            <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
+            <mapped-name>AnswerQueue</mapped-name>
+            <injection-target>
+              <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
+              <injection-target-name>answerQueue</injection-target-name>
+            </injection-target>
+          </resource-env-ref>
+    
+        </message-driven>
+    
+      </enterprise-beans>
+    </ejb-jar>
     
 
 ## ChatBeanTest

Modified: openejb/trunk/openejb/examples/simple-mdb-with-descriptor/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-mdb-with-descriptor/build.xml?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-mdb-with-descriptor/build.xml (original)
+++ openejb/trunk/openejb/examples/simple-mdb-with-descriptor/build.xml Sun Feb 19 22:32:10 2012
@@ -1,119 +1,119 @@
-<?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: 635408 $ $Date: 2008-03-09 17:48:40 -0700 (Sun, 09 Mar 2008) $ -->
-
-<project name="MyProject" default="dist" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant">
-
-  <!-- ===============================================================
-
-  HOW TO RUN
-
-    Download http://archive.apache.org/dist/maven/binaries/maven-ant-tasks-2.0.9.jar
-    Then execute ant as follows:
-
-    ant -lib maven-ant-tasks-2.0.9.jar
-
-  NOTE
-
-    You do NOT need maven-ant-tasks-2.0.9.jar to use OpenEJB for embedded EJB
-    testing with Ant.  It is simply used in this example to make the build.xml
-    a bit simpler.  As long as OpenEJB and it's required libraries are in the
-    <junit> classpath, the tests will run with OpenEJB embedded.
-
-  ================================================================= -->
-
-  <artifact:remoteRepository id="apache.snapshot.repository" url="http://repository.apache.org/snapshots/"/>
-  <artifact:remoteRepository id="m2.repository" url="http://repo1.maven.org/maven2/"/>
-
-  <!-- Build Classpath -->
-  <artifact:dependencies pathId="classpath.main">
-    <dependency groupId="org.apache.openejb" artifactId="javaee-api-embedded" version="6.0-3"/>
-  </artifact:dependencies>
-
-  <!-- Test Build Classpath -->
-  <artifact:dependencies pathId="classpath.test.build">
-    <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
-  </artifact:dependencies>
-
-  <!-- Test Run Classpath -->
-  <artifact:dependencies pathId="classpath.test.run">
-    <remoteRepository refid="apache.snapshot.repository"/>
-    <remoteRepository refid="m2.repository"/>
-
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="4.0.0-beta-1"/>
-    <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
-  </artifact:dependencies>
-
-  <!-- Properties -->
-
-  <property name="src.main.java" location="src/main/java"/>
-  <property name="src.main.resources" location="src/main/resources"/>
-  <property name="src.test.java" location="src/test/java"/>
-  <property name="build.main" location="target/classes"/>
-  <property name="build.test" location="target/test-classes"/>
-  <property name="test.reports" location="target/test-reports"/>
-  <property name="dist" location="target"/>
-
-
-  <target name="init">
-    <mkdir dir="${build.main}"/>
-    <mkdir dir="${build.test}"/>
-    <mkdir dir="${test.reports}"/>
-  </target>
-
-  <target name="compile" depends="init">
-
-    <javac srcdir="${src.main.java}" destdir="${build.main}">
-      <classpath refid="classpath.main"/>
-    </javac>
-    <copy todir="${build.main}">
-      <fileset dir="${src.main.resources}"/>
-    </copy>
-
-    <javac srcdir="${src.test.java}" destdir="${build.test}">
-      <classpath location="${build.main}"/>
-      <classpath refid="classpath.main"/>
-      <classpath refid="classpath.test.build"/>
-    </javac>
-  </target>
-
-  <target name="test" depends="compile">
-    <junit fork="yes" printsummary="yes">
-      <classpath location="${build.main}"/>
-      <classpath location="${build.test}"/>
-      <classpath refid="classpath.main"/>
-      <classpath refid="classpath.test.build"/>
-      <classpath refid="classpath.test.run"/>
-
-      <formatter type="plain"/>
-
-      <batchtest fork="yes" todir="${test.reports}">
-        <fileset dir="${src.test.java}">
-          <include name="**/*Test.java"/>
-        </fileset>
-      </batchtest>
-    </junit>
-  </target>
-
-  <target name="dist" depends="test">
-    <jar jarfile="${dist}/myproject-1.0.jar" basedir="${build.main}"/>
-  </target>
-
-</project>
+<?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: 635408 $ $Date: 2008-03-09 17:48:40 -0700 (Sun, 09 Mar 2008) $ -->
+
+<project name="MyProject" default="dist" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant">
+
+  <!-- ===============================================================
+
+  HOW TO RUN
+
+    Download http://archive.apache.org/dist/maven/binaries/maven-ant-tasks-2.0.9.jar
+    Then execute ant as follows:
+
+    ant -lib maven-ant-tasks-2.0.9.jar
+
+  NOTE
+
+    You do NOT need maven-ant-tasks-2.0.9.jar to use OpenEJB for embedded EJB
+    testing with Ant.  It is simply used in this example to make the build.xml
+    a bit simpler.  As long as OpenEJB and it's required libraries are in the
+    <junit> classpath, the tests will run with OpenEJB embedded.
+
+  ================================================================= -->
+
+  <artifact:remoteRepository id="apache.snapshot.repository" url="http://repository.apache.org/snapshots/"/>
+  <artifact:remoteRepository id="m2.repository" url="http://repo1.maven.org/maven2/"/>
+
+  <!-- Build Classpath -->
+  <artifact:dependencies pathId="classpath.main">
+    <dependency groupId="org.apache.openejb" artifactId="javaee-api-embedded" version="6.0-3"/>
+  </artifact:dependencies>
+
+  <!-- Test Build Classpath -->
+  <artifact:dependencies pathId="classpath.test.build">
+    <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
+  </artifact:dependencies>
+
+  <!-- Test Run Classpath -->
+  <artifact:dependencies pathId="classpath.test.run">
+    <remoteRepository refid="apache.snapshot.repository"/>
+    <remoteRepository refid="m2.repository"/>
+
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="4.0.0-beta-1"/>
+    <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
+  </artifact:dependencies>
+
+  <!-- Properties -->
+
+  <property name="src.main.java" location="src/main/java"/>
+  <property name="src.main.resources" location="src/main/resources"/>
+  <property name="src.test.java" location="src/test/java"/>
+  <property name="build.main" location="target/classes"/>
+  <property name="build.test" location="target/test-classes"/>
+  <property name="test.reports" location="target/test-reports"/>
+  <property name="dist" location="target"/>
+
+
+  <target name="init">
+    <mkdir dir="${build.main}"/>
+    <mkdir dir="${build.test}"/>
+    <mkdir dir="${test.reports}"/>
+  </target>
+
+  <target name="compile" depends="init">
+
+    <javac srcdir="${src.main.java}" destdir="${build.main}">
+      <classpath refid="classpath.main"/>
+    </javac>
+    <copy todir="${build.main}">
+      <fileset dir="${src.main.resources}"/>
+    </copy>
+
+    <javac srcdir="${src.test.java}" destdir="${build.test}">
+      <classpath location="${build.main}"/>
+      <classpath refid="classpath.main"/>
+      <classpath refid="classpath.test.build"/>
+    </javac>
+  </target>
+
+  <target name="test" depends="compile">
+    <junit fork="yes" printsummary="yes">
+      <classpath location="${build.main}"/>
+      <classpath location="${build.test}"/>
+      <classpath refid="classpath.main"/>
+      <classpath refid="classpath.test.build"/>
+      <classpath refid="classpath.test.run"/>
+
+      <formatter type="plain"/>
+
+      <batchtest fork="yes" todir="${test.reports}">
+        <fileset dir="${src.test.java}">
+          <include name="**/*Test.java"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+
+  <target name="dist" depends="test">
+    <jar jarfile="${dist}/myproject-1.0.jar" basedir="${build.main}"/>
+  </target>
+
+</project>

Modified: openejb/trunk/openejb/examples/simple-mdb-with-descriptor/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-mdb-with-descriptor/src/main/resources/META-INF/ejb-jar.xml?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-mdb-with-descriptor/src/main/resources/META-INF/ejb-jar.xml (original)
+++ openejb/trunk/openejb/examples/simple-mdb-with-descriptor/src/main/resources/META-INF/ejb-jar.xml Sun Feb 19 22:32:10 2012
@@ -1,63 +1,63 @@
-<?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/javaee" metadata-complete="true">
-  <enterprise-beans>
-
-    <message-driven>
-
-      <ejb-name>ChatBean</ejb-name>
-      <ejb-class>org.superbiz.mdbdesc.ChatBean</ejb-class>
-
-      <messaging-type>javax.jms.MessageListener</messaging-type>
-
-      <activation-config>
-        <activation-config-property>
-          <activation-config-property-name>destination</activation-config-property-name>
-          <activation-config-property-value>ChatBean</activation-config-property-value>
-        </activation-config-property>
-        <activation-config-property>
-          <activation-config-property-name>destinationType</activation-config-property-name>
-          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
-        </activation-config-property>
-      </activation-config>
-
-      <resource-ref>
-        <res-ref-name>java:comp/env/org.superbiz.mdbdesc.ChatBean/connectionFactory</res-ref-name>
-        <res-type>javax.jms.ConnectionFactory</res-type>
-        <injection-target>
-          <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
-          <injection-target-name>connectionFactory</injection-target-name>
-        </injection-target>
-      </resource-ref>
-
-      <resource-env-ref>
-        <resource-env-ref-name>java:comp/env/AnswerQueue</resource-env-ref-name>
-        <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
-        <mapped-name>AnswerQueue</mapped-name>
-        <injection-target>
-          <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
-          <injection-target-name>answerQueue</injection-target-name>
-        </injection-target>
-      </resource-env-ref>
-
-    </message-driven>
-
-  </enterprise-beans>
-</ejb-jar>
+<?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/javaee" metadata-complete="true">
+  <enterprise-beans>
+
+    <message-driven>
+
+      <ejb-name>ChatBean</ejb-name>
+      <ejb-class>org.superbiz.mdbdesc.ChatBean</ejb-class>
+
+      <messaging-type>javax.jms.MessageListener</messaging-type>
+
+      <activation-config>
+        <activation-config-property>
+          <activation-config-property-name>destination</activation-config-property-name>
+          <activation-config-property-value>ChatBean</activation-config-property-value>
+        </activation-config-property>
+        <activation-config-property>
+          <activation-config-property-name>destinationType</activation-config-property-name>
+          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+        </activation-config-property>
+      </activation-config>
+
+      <resource-ref>
+        <res-ref-name>java:comp/env/org.superbiz.mdbdesc.ChatBean/connectionFactory</res-ref-name>
+        <res-type>javax.jms.ConnectionFactory</res-type>
+        <injection-target>
+          <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
+          <injection-target-name>connectionFactory</injection-target-name>
+        </injection-target>
+      </resource-ref>
+
+      <resource-env-ref>
+        <resource-env-ref-name>java:comp/env/AnswerQueue</resource-env-ref-name>
+        <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
+        <mapped-name>AnswerQueue</mapped-name>
+        <injection-target>
+          <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
+          <injection-target-name>answerQueue</injection-target-name>
+        </injection-target>
+      </resource-env-ref>
+
+    </message-driven>
+
+  </enterprise-beans>
+</ejb-jar>

Modified: openejb/trunk/openejb/examples/simple-osgi/simple-osgi-api/src/main/java/org/superbiz/osgi/calculator/CalculatorLocal.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-osgi/simple-osgi-api/src/main/java/org/superbiz/osgi/calculator/CalculatorLocal.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-osgi/simple-osgi-api/src/main/java/org/superbiz/osgi/calculator/CalculatorLocal.java (original)
+++ openejb/trunk/openejb/examples/simple-osgi/simple-osgi-api/src/main/java/org/superbiz/osgi/calculator/CalculatorLocal.java Sun Feb 19 22:32:10 2012
@@ -1,34 +1,34 @@
-/**
- * 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.superbiz.osgi.calculator;
-
-import javax.ejb.Local;
-
-@Local
-public interface CalculatorLocal {
-    int add(int a, int b);
-
-    int subtract(int a, int b);
-
-    int multiply(int a, int b);
-
-    int divide(int a, int b);
-
-    int remainder(int a, int b);
-
-    String sayHello();
-}
+/**
+ * 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.superbiz.osgi.calculator;
+
+import javax.ejb.Local;
+
+@Local
+public interface CalculatorLocal {
+    int add(int a, int b);
+
+    int subtract(int a, int b);
+
+    int multiply(int a, int b);
+
+    int divide(int a, int b);
+
+    int remainder(int a, int b);
+
+    String sayHello();
+}

Modified: openejb/trunk/openejb/examples/simple-osgi/simple-osgi-api/src/main/java/org/superbiz/osgi/calculator/CalculatorRemote.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-osgi/simple-osgi-api/src/main/java/org/superbiz/osgi/calculator/CalculatorRemote.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-osgi/simple-osgi-api/src/main/java/org/superbiz/osgi/calculator/CalculatorRemote.java (original)
+++ openejb/trunk/openejb/examples/simple-osgi/simple-osgi-api/src/main/java/org/superbiz/osgi/calculator/CalculatorRemote.java Sun Feb 19 22:32:10 2012
@@ -1,34 +1,34 @@
-/**
- * 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.superbiz.osgi.calculator;
-
-import javax.ejb.Remote;
-
-@Remote
-public interface CalculatorRemote {
-    int add(int a, int b);
-
-    int subtract(int a, int b);
-
-    int multiply(int a, int b);
-
-    int divide(int a, int b);
-
-    int remainder(int a, int b);
-
-    String sayHello();
-}
+/**
+ * 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.superbiz.osgi.calculator;
+
+import javax.ejb.Remote;
+
+@Remote
+public interface CalculatorRemote {
+    int add(int a, int b);
+
+    int subtract(int a, int b);
+
+    int multiply(int a, int b);
+
+    int divide(int a, int b);
+
+    int remainder(int a, int b);
+
+    String sayHello();
+}

Modified: openejb/trunk/openejb/examples/simple-osgi/simple-osgi-camel-client/src/main/resources/META-INF/spring/calculator-camel-ctx.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-osgi/simple-osgi-camel-client/src/main/resources/META-INF/spring/calculator-camel-ctx.xml?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-osgi/simple-osgi-camel-client/src/main/resources/META-INF/spring/calculator-camel-ctx.xml (original)
+++ openejb/trunk/openejb/examples/simple-osgi/simple-osgi-camel-client/src/main/resources/META-INF/spring/calculator-camel-ctx.xml Sun Feb 19 22:32:10 2012
@@ -1,41 +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.
--->
-
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:camel="http://camel.apache.org/schema/spring"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
-       http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring-2.8.3.xsd">
-
-  <camel:camelContext id="helloContext">
-    <camel:route id="TimerHelloRoute">
-      <camel:from uri="timer://helloTimer?fixedRate=true&amp;period=2000"/>
-      <camel:delay>
-        <camel:constant>1000</camel:constant>
-      </camel:delay>
-      <camel:log message="%%% Say Hello"/>
-    </camel:route>
-  </camel:camelContext>
-
-  <camel:camelContext id="calcRoute">
-    <camel:route id="TimerCalcRoute">
-      <camel:from uri="timer://calcTimer?fixedRate=true&amp;period=5000"/>
-      <camel:to uri="bean:org.superbiz.osgi.calculator.CalculatorRemote?method=sayHello"/>
-      <camel:log message=">>> Result : ${body}"/>
-    </camel:route>
-  </camel:camelContext>
-</beans>
+<?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.
+-->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:camel="http://camel.apache.org/schema/spring"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+       http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring-2.8.3.xsd">
+
+  <camel:camelContext id="helloContext">
+    <camel:route id="TimerHelloRoute">
+      <camel:from uri="timer://helloTimer?fixedRate=true&amp;period=2000"/>
+      <camel:delay>
+        <camel:constant>1000</camel:constant>
+      </camel:delay>
+      <camel:log message="%%% Say Hello"/>
+    </camel:route>
+  </camel:camelContext>
+
+  <camel:camelContext id="calcRoute">
+    <camel:route id="TimerCalcRoute">
+      <camel:from uri="timer://calcTimer?fixedRate=true&amp;period=5000"/>
+      <camel:to uri="bean:org.superbiz.osgi.calculator.CalculatorRemote?method=sayHello"/>
+      <camel:log message=">>> Result : ${body}"/>
+    </camel:route>
+  </camel:camelContext>
+</beans>

Modified: openejb/trunk/openejb/examples/simple-osgi/simple-osgi-core/src/main/java/org/superbiz/osgi/calculator/impl/CalculatorBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-osgi/simple-osgi-core/src/main/java/org/superbiz/osgi/calculator/impl/CalculatorBean.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-osgi/simple-osgi-core/src/main/java/org/superbiz/osgi/calculator/impl/CalculatorBean.java (original)
+++ openejb/trunk/openejb/examples/simple-osgi/simple-osgi-core/src/main/java/org/superbiz/osgi/calculator/impl/CalculatorBean.java Sun Feb 19 22:32:10 2012
@@ -1,51 +1,51 @@
-/**
- * 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.superbiz.osgi.calculator.impl;
-
-import org.superbiz.osgi.calculator.CalculatorLocal;
-import org.superbiz.osgi.calculator.CalculatorRemote;
-
-import javax.ejb.Stateless;
-
-@Stateless
-public class CalculatorBean implements CalculatorLocal, CalculatorRemote {
-
-    public int add(int a, int b) {
-        return a + b;
-    }
-
-    public int subtract(int a, int b) {
-        return a - b;
-    }
-
-    public int multiply(int a, int b) {
-        return a * b;
-    }
-
-    public int divide(int a, int b) {
-        return a / b;
-    }
-
-    public int remainder(int a, int b) {
-        return a % b;
-    }
-
-    public String sayHello() {
-        return "Hello World!";
-    }
-
+/**
+ * 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.superbiz.osgi.calculator.impl;
+
+import org.superbiz.osgi.calculator.CalculatorLocal;
+import org.superbiz.osgi.calculator.CalculatorRemote;
+
+import javax.ejb.Stateless;
+
+@Stateless
+public class CalculatorBean implements CalculatorLocal, CalculatorRemote {
+
+    public int add(int a, int b) {
+        return a + b;
+    }
+
+    public int subtract(int a, int b) {
+        return a - b;
+    }
+
+    public int multiply(int a, int b) {
+        return a * b;
+    }
+
+    public int divide(int a, int b) {
+        return a / b;
+    }
+
+    public int remainder(int a, int b) {
+        return a % b;
+    }
+
+    public String sayHello() {
+        return "Hello World!";
+    }
+
 }
\ No newline at end of file

Modified: openejb/trunk/openejb/examples/simple-stateless-with-descriptor/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-stateless-with-descriptor/build.xml?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-stateless-with-descriptor/build.xml (original)
+++ openejb/trunk/openejb/examples/simple-stateless-with-descriptor/build.xml Sun Feb 19 22:32:10 2012
@@ -1,119 +1,119 @@
-<?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: 635408 $ $Date: 2008-03-10 00:48:40 +0000 (Mon, 10 Mar 2008) $ -->
-
-<project name="MyProject" default="dist" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant">
-
-  <!-- ===============================================================
-
-  HOW TO RUN
-
-    Download http://archive.apache.org/dist/maven/binaries/maven-ant-tasks-2.0.9.jar
-    Then execute ant as follows:
-
-    ant -lib maven-ant-tasks-2.0.9.jar
-
-  NOTE
-
-    You do NOT need maven-ant-tasks-2.0.9.jar to use OpenEJB for embedded EJB
-    testing with Ant.  It is simply used in this example to make the build.xml
-    a bit simpler.  As long as OpenEJB and it's required libraries are in the
-    <junit> classpath, the tests will run with OpenEJB embedded.
-
-  ================================================================= -->
-
-  <artifact:remoteRepository id="apache.snapshot.repository" url="http://repository.apache.org/snapshots/"/>
-  <artifact:remoteRepository id="m2.repository" url="http://repo1.maven.org/maven2/"/>
-
-  <!-- Build Classpath -->
-  <artifact:dependencies pathId="classpath.main">
-    <dependency groupId="org.apache.openejb" artifactId="javaee-api-embedded" version="6.0-3"/>
-  </artifact:dependencies>
-
-  <!-- Test Build Classpath -->
-  <artifact:dependencies pathId="classpath.test.build">
-    <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
-  </artifact:dependencies>
-
-  <!-- Test Run Classpath -->
-  <artifact:dependencies pathId="classpath.test.run">
-    <remoteRepository refid="apache.snapshot.repository"/>
-    <remoteRepository refid="m2.repository"/>
-
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="4.0.0-beta-1"/>
-    <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
-  </artifact:dependencies>
-
-  <!-- Properties -->
-
-  <property name="src.main.java" location="src/main/java"/>
-  <property name="src.main.resources" location="src/main/resources"/>
-  <property name="src.test.java" location="src/test/java"/>
-  <property name="build.main" location="target/classes"/>
-  <property name="build.test" location="target/test-classes"/>
-  <property name="test.reports" location="target/test-reports"/>
-  <property name="dist" location="target"/>
-
-
-  <target name="init">
-    <mkdir dir="${build.main}"/>
-    <mkdir dir="${build.test}"/>
-    <mkdir dir="${test.reports}"/>
-  </target>
-
-  <target name="compile" depends="init">
-
-    <javac srcdir="${src.main.java}" destdir="${build.main}">
-      <classpath refid="classpath.main"/>
-    </javac>
-    <copy todir="${build.main}">
-      <fileset dir="${src.main.resources}"/>
-    </copy>
-
-    <javac srcdir="${src.test.java}" destdir="${build.test}">
-      <classpath location="${build.main}"/>
-      <classpath refid="classpath.main"/>
-      <classpath refid="classpath.test.build"/>
-    </javac>
-  </target>
-
-  <target name="test" depends="compile">
-    <junit fork="yes" printsummary="yes">
-      <classpath location="${build.main}"/>
-      <classpath location="${build.test}"/>
-      <classpath refid="classpath.main"/>
-      <classpath refid="classpath.test.build"/>
-      <classpath refid="classpath.test.run"/>
-
-      <formatter type="plain"/>
-
-      <batchtest fork="yes" todir="${test.reports}">
-        <fileset dir="${src.test.java}">
-          <include name="**/*Test.java"/>
-        </fileset>
-      </batchtest>
-    </junit>
-  </target>
-
-  <target name="dist" depends="test">
-    <jar jarfile="${dist}/myproject-1.0.jar" basedir="${build.main}"/>
-  </target>
-
-</project>
+<?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: 635408 $ $Date: 2008-03-10 00:48:40 +0000 (Mon, 10 Mar 2008) $ -->
+
+<project name="MyProject" default="dist" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant">
+
+  <!-- ===============================================================
+
+  HOW TO RUN
+
+    Download http://archive.apache.org/dist/maven/binaries/maven-ant-tasks-2.0.9.jar
+    Then execute ant as follows:
+
+    ant -lib maven-ant-tasks-2.0.9.jar
+
+  NOTE
+
+    You do NOT need maven-ant-tasks-2.0.9.jar to use OpenEJB for embedded EJB
+    testing with Ant.  It is simply used in this example to make the build.xml
+    a bit simpler.  As long as OpenEJB and it's required libraries are in the
+    <junit> classpath, the tests will run with OpenEJB embedded.
+
+  ================================================================= -->
+
+  <artifact:remoteRepository id="apache.snapshot.repository" url="http://repository.apache.org/snapshots/"/>
+  <artifact:remoteRepository id="m2.repository" url="http://repo1.maven.org/maven2/"/>
+
+  <!-- Build Classpath -->
+  <artifact:dependencies pathId="classpath.main">
+    <dependency groupId="org.apache.openejb" artifactId="javaee-api-embedded" version="6.0-3"/>
+  </artifact:dependencies>
+
+  <!-- Test Build Classpath -->
+  <artifact:dependencies pathId="classpath.test.build">
+    <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
+  </artifact:dependencies>
+
+  <!-- Test Run Classpath -->
+  <artifact:dependencies pathId="classpath.test.run">
+    <remoteRepository refid="apache.snapshot.repository"/>
+    <remoteRepository refid="m2.repository"/>
+
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="4.0.0-beta-1"/>
+    <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
+  </artifact:dependencies>
+
+  <!-- Properties -->
+
+  <property name="src.main.java" location="src/main/java"/>
+  <property name="src.main.resources" location="src/main/resources"/>
+  <property name="src.test.java" location="src/test/java"/>
+  <property name="build.main" location="target/classes"/>
+  <property name="build.test" location="target/test-classes"/>
+  <property name="test.reports" location="target/test-reports"/>
+  <property name="dist" location="target"/>
+
+
+  <target name="init">
+    <mkdir dir="${build.main}"/>
+    <mkdir dir="${build.test}"/>
+    <mkdir dir="${test.reports}"/>
+  </target>
+
+  <target name="compile" depends="init">
+
+    <javac srcdir="${src.main.java}" destdir="${build.main}">
+      <classpath refid="classpath.main"/>
+    </javac>
+    <copy todir="${build.main}">
+      <fileset dir="${src.main.resources}"/>
+    </copy>
+
+    <javac srcdir="${src.test.java}" destdir="${build.test}">
+      <classpath location="${build.main}"/>
+      <classpath refid="classpath.main"/>
+      <classpath refid="classpath.test.build"/>
+    </javac>
+  </target>
+
+  <target name="test" depends="compile">
+    <junit fork="yes" printsummary="yes">
+      <classpath location="${build.main}"/>
+      <classpath location="${build.test}"/>
+      <classpath refid="classpath.main"/>
+      <classpath refid="classpath.test.build"/>
+      <classpath refid="classpath.test.run"/>
+
+      <formatter type="plain"/>
+
+      <batchtest fork="yes" todir="${test.reports}">
+        <fileset dir="${src.test.java}">
+          <include name="**/*Test.java"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+
+  <target name="dist" depends="test">
+    <jar jarfile="${dist}/myproject-1.0.jar" basedir="${build.main}"/>
+  </target>
+
+</project>

Modified: openejb/trunk/openejb/examples/simple-stateless-with-descriptor/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-stateless-with-descriptor/src/main/resources/META-INF/ejb-jar.xml?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-stateless-with-descriptor/src/main/resources/META-INF/ejb-jar.xml (original)
+++ openejb/trunk/openejb/examples/simple-stateless-with-descriptor/src/main/resources/META-INF/ejb-jar.xml Sun Feb 19 22:32:10 2012
@@ -1,33 +1,33 @@
-<?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/javaee"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
-         version="3.0">
-  <enterprise-beans>
-    <session>
-      <ejb-name>CalculatorImpl</ejb-name>
-      <business-local>org.superbiz.calculator.CalculatorLocal</business-local>
-      <business-remote>org.superbiz.calculator.CalculatorRemote</business-remote>
-      <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class>
-      <session-type>Stateless</session-type>
-      <transaction-type>Container</transaction-type>
-    </session>
-  </enterprise-beans>
-</ejb-jar>
+<?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/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
+         version="3.0">
+  <enterprise-beans>
+    <session>
+      <ejb-name>CalculatorImpl</ejb-name>
+      <business-local>org.superbiz.calculator.CalculatorLocal</business-local>
+      <business-remote>org.superbiz.calculator.CalculatorRemote</business-remote>
+      <ejb-class>org.superbiz.calculator.CalculatorImpl</ejb-class>
+      <session-type>Stateless</session-type>
+      <transaction-type>Container</transaction-type>
+    </session>
+  </enterprise-beans>
+</ejb-jar>

Modified: openejb/trunk/openejb/examples/webapps/rest-example/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/rest-example/README.md?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/rest-example/README.md (original)
+++ openejb/trunk/openejb/examples/webapps/rest-example/README.md Sun Feb 19 22:32:10 2012
@@ -4,60 +4,60 @@ Title: REST Example
 
 ## CommentDAO
 
-    package org.superbiz.rest.dao;
-    
-    import org.superbiz.rest.model.Comment;
-    import org.superbiz.rest.model.Post;
-    
-    import javax.ejb.EJB;
-    import javax.ejb.Stateless;
-    import java.util.Collections;
-    import java.util.List;
-    
-    /**
-     * @author Romain Manni-Bucau
-     */
-    @Stateless
-    public class CommentDAO extends DAO {
-        @EJB
-        private DAO dao;
-    
-        public List<Comment> list(long postId) {
-            Post post = dao.find(Post.class, postId);
-            if (post == null) {
-                throw new IllegalArgumentException("post with id " + postId + " not found");
-            }
-            return Collections.unmodifiableList(post.getComments());
-        }
-    
-        public Comment create(String author, String content, long postId) {
-            Post post = dao.find(Post.class, postId);
-            if (post == null) {
-                throw new IllegalArgumentException("post with id " + postId + " not found");
-            }
-    
-            Comment comment = new Comment();
-            comment.setAuthor(author);
-            comment.setContent(content);
-            dao.create(comment);
-            comment.setPost(post);
-            return comment;
-        }
-    
-        public void delete(long id) {
-            dao.delete(Comment.class, id);
-        }
-    
-        public Comment update(long id, String author, String content) {
-            Comment comment = dao.find(Comment.class, id);
-            if (comment == null) {
-                throw new IllegalArgumentException("comment with id " + id + " not found");
-            }
-    
-            comment.setAuthor(author);
-            comment.setContent(content);
-            return dao.update(comment);
-        }
+    package org.superbiz.rest.dao;
+    
+    import org.superbiz.rest.model.Comment;
+    import org.superbiz.rest.model.Post;
+    
+    import javax.ejb.EJB;
+    import javax.ejb.Stateless;
+    import java.util.Collections;
+    import java.util.List;
+    
+    /**
+     * @author Romain Manni-Bucau
+     */
+    @Stateless
+    public class CommentDAO extends DAO {
+        @EJB
+        private DAO dao;
+    
+        public List<Comment> list(long postId) {
+            Post post = dao.find(Post.class, postId);
+            if (post == null) {
+                throw new IllegalArgumentException("post with id " + postId + " not found");
+            }
+            return Collections.unmodifiableList(post.getComments());
+        }
+    
+        public Comment create(String author, String content, long postId) {
+            Post post = dao.find(Post.class, postId);
+            if (post == null) {
+                throw new IllegalArgumentException("post with id " + postId + " not found");
+            }
+    
+            Comment comment = new Comment();
+            comment.setAuthor(author);
+            comment.setContent(content);
+            dao.create(comment);
+            comment.setPost(post);
+            return comment;
+        }
+    
+        public void delete(long id) {
+            dao.delete(Comment.class, id);
+        }
+    
+        public Comment update(long id, String author, String content) {
+            Comment comment = dao.find(Comment.class, id);
+            if (comment == null) {
+                throw new IllegalArgumentException("comment with id " + id + " not found");
+            }
+    
+            comment.setAuthor(author);
+            comment.setContent(content);
+            return dao.update(comment);
+        }
     }
 
 ## DAO
@@ -252,64 +252,64 @@ Title: REST Example
 
 ## DatedModel
 
-    package org.superbiz.rest.model;
-    
-    import javax.persistence.MappedSuperclass;
-    import javax.persistence.PrePersist;
-    import java.util.Date;
-    
-    /**
-     * @author Romain Manni-Bucau
-     */
-    @MappedSuperclass
-    public abstract class DatedModel extends Model {
-        private Date created;
-    
-        @PrePersist
-        public void create() {
-            created = new Date();
-        }
-    
-        public Date getCreated() {
-            return created;
-        }
-    
-        public void setCreated(Date created) {
-            this.created = created;
-        }
+    package org.superbiz.rest.model;
+    
+    import javax.persistence.MappedSuperclass;
+    import javax.persistence.PrePersist;
+    import java.util.Date;
+    
+    /**
+     * @author Romain Manni-Bucau
+     */
+    @MappedSuperclass
+    public abstract class DatedModel extends Model {
+        private Date created;
+    
+        @PrePersist
+        public void create() {
+            created = new Date();
+        }
+    
+        public Date getCreated() {
+            return created;
+        }
+    
+        public void setCreated(Date created) {
+            this.created = created;
+        }
     }
 
 ## Model
 
-    package org.superbiz.rest.model;
-    
-    import javax.persistence.Access;
-    import javax.persistence.AccessType;
-    import javax.persistence.GeneratedValue;
-    import javax.persistence.Id;
-    import javax.persistence.MappedSuperclass;
-    import javax.xml.bind.annotation.XmlAccessType;
-    import javax.xml.bind.annotation.XmlAccessorType;
-    
-    /**
-     * @author Romain Manni-Bucau
-     */
-    @MappedSuperclass
-    @Access(AccessType.FIELD)
-    @XmlAccessorType(XmlAccessType.FIELD)
-    public abstract class Model {
-    
-        @Id
-        @GeneratedValue
-        protected long id;
-    
-        public long getId() {
-            return id;
-        }
-    
-        public void setId(long id) {
-            this.id = id;
-        }
+    package org.superbiz.rest.model;
+    
+    import javax.persistence.Access;
+    import javax.persistence.AccessType;
+    import javax.persistence.GeneratedValue;
+    import javax.persistence.Id;
+    import javax.persistence.MappedSuperclass;
+    import javax.xml.bind.annotation.XmlAccessType;
+    import javax.xml.bind.annotation.XmlAccessorType;
+    
+    /**
+     * @author Romain Manni-Bucau
+     */
+    @MappedSuperclass
+    @Access(AccessType.FIELD)
+    @XmlAccessorType(XmlAccessType.FIELD)
+    public abstract class Model {
+    
+        @Id
+        @GeneratedValue
+        protected long id;
+    
+        public long getId() {
+            return id;
+        }
+    
+        public void setId(long id) {
+            this.id = id;
+        }
     }
 
 ## Post

Modified: openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/dao/CommentDAO.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/dao/CommentDAO.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/dao/CommentDAO.java (original)
+++ openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/dao/CommentDAO.java Sun Feb 19 22:32:10 2012
@@ -1,68 +1,68 @@
-/*
- * 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.superbiz.rest.dao;
-
-import org.superbiz.rest.model.Comment;
-import org.superbiz.rest.model.Post;
-
-import javax.ejb.EJB;
-import javax.ejb.Stateless;
-import java.util.Collections;
-import java.util.List;
-
-@Stateless
-public class CommentDAO extends DAO {
-    @EJB
-    private DAO dao;
-
-    public List<Comment> list(long postId) {
-        Post post = dao.find(Post.class, postId);
-        if (post == null) {
-            throw new IllegalArgumentException("post with id " + postId + " not found");
-        }
-        return Collections.unmodifiableList(post.getComments());
-    }
-
-    public Comment create(String author, String content, long postId) {
-        Post post = dao.find(Post.class, postId);
-        if (post == null) {
-            throw new IllegalArgumentException("post with id " + postId + " not found");
-        }
-
-        Comment comment = new Comment();
-        comment.setAuthor(author);
-        comment.setContent(content);
-        dao.create(comment);
-        comment.setPost(post);
-        return comment;
-    }
-
-    public void delete(long id) {
-        dao.delete(Comment.class, id);
-    }
-
-    public Comment update(long id, String author, String content) {
-        Comment comment = dao.find(Comment.class, id);
-        if (comment == null) {
-            throw new IllegalArgumentException("comment with id " + id + " not found");
-        }
-
-        comment.setAuthor(author);
-        comment.setContent(content);
-        return dao.update(comment);
-    }
-}
+/*
+ * 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.superbiz.rest.dao;
+
+import org.superbiz.rest.model.Comment;
+import org.superbiz.rest.model.Post;
+
+import javax.ejb.EJB;
+import javax.ejb.Stateless;
+import java.util.Collections;
+import java.util.List;
+
+@Stateless
+public class CommentDAO extends DAO {
+    @EJB
+    private DAO dao;
+
+    public List<Comment> list(long postId) {
+        Post post = dao.find(Post.class, postId);
+        if (post == null) {
+            throw new IllegalArgumentException("post with id " + postId + " not found");
+        }
+        return Collections.unmodifiableList(post.getComments());
+    }
+
+    public Comment create(String author, String content, long postId) {
+        Post post = dao.find(Post.class, postId);
+        if (post == null) {
+            throw new IllegalArgumentException("post with id " + postId + " not found");
+        }
+
+        Comment comment = new Comment();
+        comment.setAuthor(author);
+        comment.setContent(content);
+        dao.create(comment);
+        comment.setPost(post);
+        return comment;
+    }
+
+    public void delete(long id) {
+        dao.delete(Comment.class, id);
+    }
+
+    public Comment update(long id, String author, String content) {
+        Comment comment = dao.find(Comment.class, id);
+        if (comment == null) {
+            throw new IllegalArgumentException("comment with id " + id + " not found");
+        }
+
+        comment.setAuthor(author);
+        comment.setContent(content);
+        return dao.update(comment);
+    }
+}

Modified: openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/model/DatedModel.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/model/DatedModel.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/model/DatedModel.java (original)
+++ openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/model/DatedModel.java Sun Feb 19 22:32:10 2012
@@ -1,39 +1,39 @@
-/*
- * 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.superbiz.rest.model;
-
-import javax.persistence.MappedSuperclass;
-import javax.persistence.PrePersist;
-import java.util.Date;
-
-@MappedSuperclass
-public abstract class DatedModel extends Model {
-    private Date created;
-
-    @PrePersist
-    public void create() {
-        created = new Date();
-    }
-
-    public Date getCreated() {
-        return created;
-    }
-
-    public void setCreated(Date created) {
-        this.created = created;
-    }
-}
+/*
+ * 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.superbiz.rest.model;
+
+import javax.persistence.MappedSuperclass;
+import javax.persistence.PrePersist;
+import java.util.Date;
+
+@MappedSuperclass
+public abstract class DatedModel extends Model {
+    private Date created;
+
+    @PrePersist
+    public void create() {
+        created = new Date();
+    }
+
+    public Date getCreated() {
+        return created;
+    }
+
+    public void setCreated(Date created) {
+        this.created = created;
+    }
+}

Modified: openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/model/Model.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/model/Model.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/model/Model.java (original)
+++ openejb/trunk/openejb/examples/webapps/rest-example/src/main/java/org/superbiz/rest/model/Model.java Sun Feb 19 22:32:10 2012
@@ -1,43 +1,43 @@
-/*
- * 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.superbiz.rest.model;
-
-import javax.persistence.Access;
-import javax.persistence.AccessType;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.MappedSuperclass;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-
-@MappedSuperclass
-@Access(AccessType.FIELD)
-@XmlAccessorType(XmlAccessType.FIELD)
-public abstract class Model {
-
-    @Id
-    @GeneratedValue
-    protected long id;
-
-    public long getId() {
-        return id;
-    }
-
-    public void setId(long id) {
-        this.id = id;
-    }
-}
+/*
+ * 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.superbiz.rest.model;
+
+import javax.persistence.Access;
+import javax.persistence.AccessType;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+import javax.persistence.MappedSuperclass;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+
+@MappedSuperclass
+@Access(AccessType.FIELD)
+@XmlAccessorType(XmlAccessType.FIELD)
+public abstract class Model {
+
+    @Id
+    @GeneratedValue
+    protected long id;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+}

Modified: openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Item.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Item.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Item.java (original)
+++ openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Item.java Sun Feb 19 22:32:10 2012
@@ -1,68 +1,68 @@
-/**
- * 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.superbiz.inheritance;
-
-import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.GenerationType;
-import javax.persistence.Id;
-import javax.persistence.Inheritance;
-import javax.persistence.InheritanceType;
-import java.io.Serializable;
-
-@Entity
-@Inheritance(strategy = InheritanceType.JOINED)
-public class Item implements Serializable {
-    @Id
-    @GeneratedValue(strategy = GenerationType.AUTO)
-    private Long id;
-    private String brand;
-    private String itemName;
-    private double price;
-
-    public Long getId() {
-        return id;
-    }
-
-    public void setId(Long id) {
-        this.id = id;
-    }
-
-    public String getBrand() {
-        return brand;
-    }
-
-    public void setBrand(String brand) {
-        this.brand = brand;
-    }
-
-    public String getItemName() {
-        return itemName;
-    }
-
-    public void setItemName(String itemName) {
-        this.itemName = itemName;
-    }
-
-    public double getPrice() {
-        return price;
-    }
-
-    public void setPrice(double price) {
-        this.price = price;
-    }
-}
+/**
+ * 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.superbiz.inheritance;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import java.io.Serializable;
+
+@Entity
+@Inheritance(strategy = InheritanceType.JOINED)
+public class Item implements Serializable {
+    @Id
+    @GeneratedValue(strategy = GenerationType.AUTO)
+    private Long id;
+    private String brand;
+    private String itemName;
+    private double price;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getBrand() {
+        return brand;
+    }
+
+    public void setBrand(String brand) {
+        this.brand = brand;
+    }
+
+    public String getItemName() {
+        return itemName;
+    }
+
+    public void setItemName(String itemName) {
+        this.itemName = itemName;
+    }
+
+    public double getPrice() {
+        return price;
+    }
+
+    public void setPrice(double price) {
+        this.price = price;
+    }
+}

Modified: openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Tower.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Tower.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Tower.java (original)
+++ openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Tower.java Sun Feb 19 22:32:10 2012
@@ -1,47 +1,47 @@
-/**
- * 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.superbiz.inheritance;
-
-import javax.persistence.Entity;
-
-@Entity
-public class Tower extends Item {
-    private Fit fit;
-    private String tubing;
-
-    public static enum Fit {
-        Custom, Exact, Universal
-    }
-
-    public Fit getFit() {
-        return fit;
-    }
-
-    public void setFit(Fit fit) {
-        this.fit = fit;
-    }
-
-    public String getTubing() {
-        return tubing;
-    }
-
-    public void setTubing(String tubing) {
-        this.tubing = tubing;
-    }
-
-    ;
+/**
+ * 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.superbiz.inheritance;
+
+import javax.persistence.Entity;
+
+@Entity
+public class Tower extends Item {
+    private Fit fit;
+    private String tubing;
+
+    public static enum Fit {
+        Custom, Exact, Universal
+    }
+
+    public Fit getFit() {
+        return fit;
+    }
+
+    public void setFit(Fit fit) {
+        this.fit = fit;
+    }
+
+    public String getTubing() {
+        return tubing;
+    }
+
+    public void setTubing(String tubing) {
+        this.tubing = tubing;
+    }
+
+    ;
 }
\ No newline at end of file

Modified: openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Wakeboard.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Wakeboard.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Wakeboard.java (original)
+++ openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Wakeboard.java Sun Feb 19 22:32:10 2012
@@ -1,23 +1,23 @@
-/**
- * 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.superbiz.inheritance;
-
-import javax.persistence.Entity;
-
-@Entity
-public class Wakeboard extends Wearable {
-}
+/**
+ * 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.superbiz.inheritance;
+
+import javax.persistence.Entity;
+
+@Entity
+public class Wakeboard extends Wearable {
+}

Modified: openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/WakeboardBinding.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/WakeboardBinding.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/WakeboardBinding.java (original)
+++ openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/WakeboardBinding.java Sun Feb 19 22:32:10 2012
@@ -1,23 +1,23 @@
-/**
- * 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.superbiz.inheritance;
-
-import javax.persistence.Entity;
-
-@Entity
-public class WakeboardBinding extends Wearable {
-}
+/**
+ * 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.superbiz.inheritance;
+
+import javax.persistence.Entity;
+
+@Entity
+public class WakeboardBinding extends Wearable {
+}

Modified: openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Wearable.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Wearable.java?rev=1291077&r1=1291076&r2=1291077&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Wearable.java (original)
+++ openejb/trunk/openejb/examples/webservice-inheritance/src/main/java/org/superbiz/inheritance/Wearable.java Sun Feb 19 22:32:10 2012
@@ -1,32 +1,32 @@
-/**
- * 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.superbiz.inheritance;
-
-import javax.persistence.MappedSuperclass;
-
-@MappedSuperclass
-public abstract class Wearable extends Item {
-    protected String size;
-
-    public String getSize() {
-        return size;
-    }
-
-    public void setSize(String size) {
-        this.size = size;
-    }
-}
+/**
+ * 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.superbiz.inheritance;
+
+import javax.persistence.MappedSuperclass;
+
+@MappedSuperclass
+public abstract class Wearable extends Item {
+    protected String size;
+
+    public String getSize() {
+        return size;
+    }
+
+    public void setSize(String size) {
+        this.size = size;
+    }
+}