tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r781230 - in /openejb/trunk/openejb3/examples/webapps/moviefun/src/main: java/org/superbiz/moviefun/Movie.java webapp/WEB-INF/web.xml
Date Wed, 03 Jun 2009 00:42:07 GMT
Author: dblevins
Date: Wed Jun  3 00:42:06 2009
New Revision: 781230

URL: http://svn.apache.org/viewvc?rev=781230&view=rev
Log:
Added serialization id and removed cruft from web.xml

Modified:
    openejb/trunk/openejb3/examples/webapps/moviefun/src/main/java/org/superbiz/moviefun/Movie.java
    openejb/trunk/openejb3/examples/webapps/moviefun/src/main/webapp/WEB-INF/web.xml

Modified: openejb/trunk/openejb3/examples/webapps/moviefun/src/main/java/org/superbiz/moviefun/Movie.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/webapps/moviefun/src/main/java/org/superbiz/moviefun/Movie.java?rev=781230&r1=781229&r2=781230&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/webapps/moviefun/src/main/java/org/superbiz/moviefun/Movie.java
(original)
+++ openejb/trunk/openejb3/examples/webapps/moviefun/src/main/java/org/superbiz/moviefun/Movie.java
Wed Jun  3 00:42:06 2009
@@ -16,15 +16,19 @@
  */
 package org.superbiz.moviefun;
 
+import java.io.Serializable;
+
 import javax.persistence.Entity;
 import javax.persistence.Id;
 import javax.persistence.GeneratedValue;
 import javax.persistence.GenerationType;
 
 @Entity
-public class Movie {
+public class Movie implements Serializable {
+
+	private static final long serialVersionUID = 1L;
 
-    @Id
+	@Id
     @GeneratedValue(strategy = GenerationType.AUTO)
     private long id;
 

Modified: openejb/trunk/openejb3/examples/webapps/moviefun/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/webapps/moviefun/src/main/webapp/WEB-INF/web.xml?rev=781230&r1=781229&r2=781230&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/webapps/moviefun/src/main/webapp/WEB-INF/web.xml (original)
+++ openejb/trunk/openejb3/examples/webapps/moviefun/src/main/webapp/WEB-INF/web.xml Wed Jun
 3 00:42:06 2009
@@ -30,61 +30,4 @@
     <servlet-class>org.superbiz.moviefun.ActionServlet</servlet-class>
   </servlet>
 
-
-  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
-    <soap:Body>
-      <ns1:getMoviesResponse xmlns:ns1="http://superbiz.org/wsdl">
-        <return>
-          <director>David Dobkin</director>
-          <genre>Comedy</genre>
-          <id>101</id>
-          <rating>7</rating>
-          <title>Wedding Crashers</title>
-          <year>2005</year>
-        </return>
-        <return>
-          <director>Todd Phillips</director>
-          <genre>Action</genre>
-          <id>102</id>
-          <rating>6</rating>
-          <title>Starsky &amp; Hutch</title>
-          <year>2004</year>
-        </return>
-        <return>
-          <director>David Dobkin</director>
-          <genre>Action</genre>
-          <id>103</id>
-          <rating>6</rating>
-          <title>Shanghai Knights</title>
-          <year>2003</year>
-        </return>
-        <return>
-          <director>Wes Anderson</director>
-          <genre>Comedy</genre>
-          <id>105</id>
-          <rating>8</rating>
-          <title>The Royal Tenenbaums</title>
-          <year>2001</year>
-        </return>
-        <return>
-          <director>Ben Stiller</director>
-          <genre>Comedy</genre>
-          <id>106</id>
-          <rating>6</rating>
-          <title>Zoolander</title>
-          <year>2001</year>
-        </return>
-        <return>
-          <director>Tom Dey</director>
-          <genre>Comedy</genre>
-          <id>107</id>
-          <rating>7</rating>
-          <title>Shanghai Noon</title>
-          <year>2000</year>
-        </return>
-      </ns1:getMoviesResponse>
-    </soap:Body>
-  </soap:Envelope>
-
-
 </web-app>



Mime
View raw message