openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r801733 - in /openjpa/sandboxes/dwoods/sample: ./ customers-ear/ customers-ejb/ customers-ejb/src/ customers-ejb/src/main/ customers-ejb/src/main/java/ customers-ejb/src/main/java/org/ customers-ejb/src/main/java/org/apache/ customers-ejb/s...
Date Thu, 06 Aug 2009 17:18:03 GMT
Author: dwoods
Date: Thu Aug  6 17:18:02 2009
New Revision: 801733

URL: http://svn.apache.org/viewvc?rev=801733&view=rev
Log:
initial set of files for JPA2 + BV sample

Added:
    openjpa/sandboxes/dwoods/sample/
    openjpa/sandboxes/dwoods/sample/README.txt   (with props)
    openjpa/sandboxes/dwoods/sample/customers-ear/
    openjpa/sandboxes/dwoods/sample/customers-ear/pom.xml   (with props)
    openjpa/sandboxes/dwoods/sample/customers-ejb/
    openjpa/sandboxes/dwoods/sample/customers-ejb/pom.xml   (with props)
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/entities/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/entities/JPACustomer.java   (with props)
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/Company.java   (with props)
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/CompanyBean.java   (with props)
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/ejb-jar.xml   (with props)
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/openejb-jar.xml   (with props)
    openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/persistence.xml   (with props)
    openjpa/sandboxes/dwoods/sample/customers-war/
    openjpa/sandboxes/dwoods/sample/customers-war/pom.xml   (with props)
    openjpa/sandboxes/dwoods/sample/customers-war/src/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/customers/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/customers/web/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/customers/web/CompanyServlet.java   (with props)
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/WEB-INF/
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/WEB-INF/web.xml   (with props)
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/create.jsp   (with props)
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/index.htm   (with props)
    openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/list.jsp   (with props)
    openjpa/sandboxes/dwoods/sample/dd/
    openjpa/sandboxes/dwoods/sample/dd/CreateCustomerTable.ddl
    openjpa/sandboxes/dwoods/sample/pom.xml   (with props)

Added: openjpa/sandboxes/dwoods/sample/README.txt
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/README.txt?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/README.txt (added)
+++ openjpa/sandboxes/dwoods/sample/README.txt Thu Aug  6 17:18:02 2009
@@ -0,0 +1,39 @@
+(C) Copyright 2005,2009 The Apache Software Foundation.  All rights reserved.
+-----------------------------------------------------------------------------
+
+This sample demonstrates using Bean Validation with the Java Persistence API.
+It has two parts:
+ - The first (customers-ejb) shows a JPA Entity Bean.
+ - The second (customers-war) is a simple web ui that uses the JPA Entity Bean.
+
+Note:  The application server environment must provide the Servlet 2.5, EJB 3.0,       JTA 1.1 and JPA 2.0 Spec API and implementations.
+
+BUILD
+-----
+Refer to %SAMPLE_HOME%/readme.txt for build instructions. 
+
+   
+INSTALL
+-------
+Start the Java EE 5 or later application server if it is not already running.
+
+Create the required database.
+
+Deploy the built application EAR:
+	customers-ear/target/customers-ear-2.0.0-SNAPSHOT.ear
+   
+
+RUN
+---
+1. Open the following link in a web browser:
+        http://localhost:8080/customers/
+2. Select the "Add Customer" link, and enter a sample customer. For example:
+   Customer ID = 10
+   Full name = Barney Rubble
+   SS Number = 123-45-6789
+   Birth Date: 01/02/2003
+   Address = Anywhere
+   Annual Salary = 50000
+   Loan Amount = 10000
+   
+

Propchange: openjpa/sandboxes/dwoods/sample/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-ear/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-ear/pom.xml?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-ear/pom.xml (added)
+++ openjpa/sandboxes/dwoods/sample/customers-ear/pom.xml Thu Aug  6 17:18:02 2009
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!--
+  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.openjpa.openjpa-examples</groupId>
+        <artifactId>customers</artifactId>
+        <version>2.0.0-SNAPSHOT</version>
+    </parent>
+    
+    <artifactId>customers-ear</artifactId>
+    <name>Apache OpenJPA Examples :: Customers - EAR</name>
+    <packaging>ear</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.openjpa.openjpa-examples.customers</groupId>
+            <artifactId>customers-ejb</artifactId>
+            <version>${version}</version>
+            <type>ejb</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.openjpa.openjpa-examples.customers</groupId>
+            <artifactId>customers-war</artifactId>
+            <version>${version}</version>
+            <type>war</type>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-ear-plugin</artifactId>
+                <configuration>
+                    <displayName>OpenJPA Examples - Customers EAR</displayName>
+                    <description>OpenJPA Examples - Customers EAR</description>
+                    <version>5</version>
+                    <modules>
+                        <webModule>
+                            <groupId>org.apache.openjpa.openjpa-examples.customers</groupId>
+                            <artifactId>customers-war</artifactId>
+                            <contextRoot>/jpa</contextRoot>
+                            <bundleFileName>web.war</bundleFileName>
+                        </webModule>
+                        <ejbModule>
+                            <groupId>org.apache.openjpa.openjpa-examples.customers</groupId>
+                            <artifactId>customers-ejb</artifactId>
+                            <bundleFileName>ejb.jar</bundleFileName>
+                        </ejbModule>
+                    </modules>
+                    <earSourceDirectory>${pom.basedir}/../dd</earSourceDirectory>
+                    <resourcesDir>${project.build.outputDirectory}</resourcesDir>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-ear/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-ejb/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-ejb/pom.xml?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-ejb/pom.xml (added)
+++ openjpa/sandboxes/dwoods/sample/customers-ejb/pom.xml Thu Aug  6 17:18:02 2009
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<!--
+  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.openjpa.openjpa-examples</groupId>
+        <artifactId>customers</artifactId>
+        <version>2.0.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>customers-ejb</artifactId>
+    <name>Apache OpenJPA Examples :: Customers - JAR</name>
+    <packaging>ejb</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jpa_2.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jta_1.1_spec</artifactId>
+            <scope>test</scope>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-ejb_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-ejb-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+    
+</project>
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-ejb/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/entities/JPACustomer.java
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/entities/JPACustomer.java?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/entities/JPACustomer.java (added)
+++ openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/entities/JPACustomer.java Thu Aug  6 17:18:02 2009
@@ -0,0 +1,89 @@
+/*
+ * 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.openjpa.openjpa-examples.customers.entities;
+
+import java.io.Serializable;
+import java.util.Date;
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+
+
+@Entity
+public class JPACustomer implements Serializable {
+
+	@Id
+	private int id;
+	private String name;
+	private Date birthday;
+	private String sss_no;
+	private String address;
+	private double annual_salary;
+	private double loan_amount;
+	
+	public int getId() {
+		return id;
+	}
+	public void setId(int id) {
+		this.id = id;
+	}
+
+	public String getName() {
+		return name;
+	}
+	public void setName(String name) {
+		this.name = name;
+	}
+	
+	public Date getBirthday() {
+		return birthday;
+	}
+	public void setBirthday(Date birthday) {
+		this.birthday = birthday;
+	}
+	
+	public String getSss_no() {
+		return sss_no;
+	}
+	public void setSss_no(String sss_no) {
+		this.sss_no = sss_no;
+	}
+	
+	public String getAddress() {
+		return address;
+	}
+	public void setAddress(String address) {
+		this.address = address;
+	}
+	
+	public double getAnnual_salary() {
+		return annual_salary;
+	}
+	public void setAnnual_salary(double annual_salary) {
+		this.annual_salary = annual_salary;
+	}
+	
+	public double getLoan_amount() {
+		return loan_amount;
+	}
+	public void setLoan_amount(double loan_amount) {
+		this.loan_amount = loan_amount;
+	}
+}
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/entities/JPACustomer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/Company.java
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/Company.java?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/Company.java (added)
+++ openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/Company.java Thu Aug  6 17:18:02 2009
@@ -0,0 +1,30 @@
+/*
+ * 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.openjpa.openjpa-examples.customers.stateless;
+
+import java.util.List;
+
+import org.apache.openjpa.openjpa-examples.customers.entities.JPACustomer;
+
+public interface Company {
+
+	public void addCustomer( JPACustomer customer );
+	public List<JPACustomer> getAllCustomers();
+}
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/Company.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/CompanyBean.java
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/CompanyBean.java?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/CompanyBean.java (added)
+++ openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/CompanyBean.java Thu Aug  6 17:18:02 2009
@@ -0,0 +1,49 @@
+/*
+ * 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.openjpa.openjpa-examples.customers.stateless;
+
+import java.util.List;
+
+import javax.ejb.Remote;
+import javax.ejb.Stateless;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+import javax.persistence.Query;
+
+import org.apache.openjpa.openjpa-examples.customers.entities.JPACustomer;
+
+@Remote( Company.class )
+@Stateless
+public class CompanyBean implements Company {
+
+	@PersistenceContext
+	private EntityManager manager;
+	
+	public void addCustomer( JPACustomer customer ) {
+		manager.persist( customer );
+		
+	}
+
+	public List<JPACustomer> getAllCustomers() {
+		Query query = manager.createQuery( "select c from JPACustomer c" );
+		return query.getResultList();
+	}
+
+}
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/java/org/apache/openjpa/openjpa-examples/customers/stateless/CompanyBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/ejb-jar.xml?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/ejb-jar.xml (added)
+++ openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/ejb-jar.xml Thu Aug  6 17:18:02 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2006 The Apache Software Foundation
+Licensed  under the  Apache License,  Version 2.0  (the "License");
+you may not use  this file  except in  compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed  under the  License is distributed on an "AS IS" BASIS,
+WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<ejb-jar version="2.1"
+         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">
+    <display-name>jpa itest ejb</display-name>
+</ejb-jar>

Propchange: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/openejb-jar.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/openejb-jar.xml?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/openejb-jar.xml (added)
+++ openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/openejb-jar.xml Thu Aug  6 17:18:02 2009
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2006 The Apache Software Foundation
+Licensed  under the  Apache License,  Version 2.0  (the "License");
+you may not use  this file  except in  compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed  under the  License is distributed on an "AS IS" BASIS,
+WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.2">
+    <environment>
+        <moduleId>
+            <groupId>default</groupId>
+            <artifactId>jpa-ejb</artifactId>
+            <version>2.1.1.2</version>
+            <type>car</type>
+        </moduleId>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.geronimo.configs</groupId>
+                <artifactId>system-database</artifactId>
+                <type>car</type>
+            </dependency>
+
+            <dependency>
+                <groupId>org.apache.geronimo.configs</groupId>
+                <artifactId>openjpa</artifactId>
+                <type>car</type>
+            </dependency>
+
+        </dependencies>
+    </environment>
+
+</openejb-jar>
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/persistence.xml?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/persistence.xml (added)
+++ openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/persistence.xml Thu Aug  6 17:18:02 2009
@@ -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.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
+
+    <persistence-unit transaction-type="JTA" name="test-unit">
+
+
+        <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+        <jta-data-source>SystemDatasource</jta-data-source>
+        <non-jta-data-source>NoTxDatasource</non-jta-data-source>
+        <class>org.apache.geronimo.itest.jpa.AllFieldTypes</class>
+        <class>com.ibm.wasce.demo.jpa.entities.JPACustomer</class>
+        <exclude-unlisted-classes/>
+        <properties>
+            <property name="openjpa.jdbc.DBDictionary" value="org.apache.openjpa.jdbc.sql.DerbyDictionary"/>
+            <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
+            <property name="openjpa.Sequence" value="table(Table=OPENJPASEQ, Increment=100)"/>
+        </properties>
+    </persistence-unit>
+</persistence>

Propchange: openjpa/sandboxes/dwoods/sample/customers-ejb/src/main/resources/META-INF/persistence.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-war/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-war/pom.xml?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-war/pom.xml (added)
+++ openjpa/sandboxes/dwoods/sample/customers-war/pom.xml Thu Aug  6 17:18:02 2009
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!--
+  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.openjpa.openjpa-examples</groupId>
+        <artifactId>customers</artifactId>
+        <version>2.0.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>customers-war</artifactId>
+    <name>Apache OpenJPA Examples :: Customers - WAR</name>
+    <packaging>war</packaging>
+
+     <dependencies>
+        <dependency>
+            <groupId>org.apache.openjpa.openjpa-examples.customers</groupId>
+            <artifactId>customers-ejb</artifactId>
+            <version>${version}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-servlet_2.5_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-ejb_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+         <dependency>
+             <groupId>org.apache.geronimo.specs</groupId>
+             <artifactId>geronimo-jta_1.1_spec</artifactId>
+             <scope>provided</scope>
+         </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <webXml>${pom.basedir}/src/main/webapp/WEB-INF/web.xml</webXml>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+</project>

Propchange: openjpa/sandboxes/dwoods/sample/customers-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/customers/web/CompanyServlet.java
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/customers/web/CompanyServlet.java?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/customers/web/CompanyServlet.java (added)
+++ openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/customers/web/CompanyServlet.java Thu Aug  6 17:18:02 2009
@@ -0,0 +1,76 @@
+/*
+ * 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.openjpa.openjpa-examples.customers.web;
+
+import java.io.IOException;
+import java.text.SimpleDateFormat;
+import java.util.List;
+
+import javax.ejb.EJB;
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletContext;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.openjpa.openjpa-examples.customers.entities.JPACustomer;
+import org.apache.openjpa.openjpa-examples.customers.stateless.Company;
+
+public class CompanyServlet extends HttpServlet {
+
+    @EJB
+    private Company cum = null;
+    
+    protected void service( HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse ) throws ServletException, IOException {
+    	try {
+    		String action = httpServletRequest.getParameter( "action" );
+    		if ( "add".equals( action ) ) {
+		    	JPACustomer customer = new JPACustomer();
+			    customer.setId( Integer.parseInt( httpServletRequest.getParameter( "clientID" ) ) );
+			    customer.setName( httpServletRequest.getParameter( "clientName" ) );
+			    customer.setSss_no( httpServletRequest.getParameter( "clientSSS" ) );
+			    customer.setAddress( httpServletRequest.getParameter( "clientAddress" ) );
+			    customer.setBirthday( new SimpleDateFormat( "MM/dd/yyyy" ).parse( httpServletRequest.getParameter( "clientBirthdate") ) );
+			    customer.setAnnual_salary( Double.parseDouble( httpServletRequest.getParameter( "clientSalary" ) ) );
+			    customer.setLoan_amount( Double.parseDouble( httpServletRequest.getParameter( "loanAmt") ) );
+
+			    cum.addCustomer( customer );
+			    
+			    httpServletResponse.sendRedirect("company?action=list");
+    		} else if ( "list".equals( action ) ) {
+	            List customers = cum.getAllCustomers();
+	            System.out.println( "customer number:" + customers.size() );
+
+	            for( int i = 0; i < customers.size(); i ++ ){
+	            	JPACustomer customer = (JPACustomer)customers.get( i );
+	            	System.out.println( "customer name:" + customer.getName() );
+	            }
+	            
+	            httpServletRequest.setAttribute( "customers", customers );
+	            
+	            ServletContext ctx = getServletConfig().getServletContext();
+	            ctx.getRequestDispatcher( "/list.jsp" ).include( httpServletRequest, httpServletResponse );
+    		}
+    	} catch ( Exception e ) {
+    		e.printStackTrace();
+    	}
+    }
+}
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-war/src/main/java/org/apache/openjpa/openjpa-examples/customers/web/CompanyServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/WEB-INF/web.xml?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/WEB-INF/web.xml (added)
+++ openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/WEB-INF/web.xml Thu Aug  6 17:18:02 2009
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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/web-app_2_5.xsd"
+         version="2.5"
+        >
+
+    <display-name>Apache OpenJPA Customers Example</display-name>
+
+    <servlet>
+        <servlet-name>company</servlet-name>
+        <servlet-class>org.apache.openjpa.openjpa-examples.customers.web.CompanyServlet</servlet-class>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>company</servlet-name>
+        <url-pattern>/company</url-pattern>
+    </servlet-mapping>
+
+</web-app>

Propchange: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/create.jsp
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/create.jsp?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/create.jsp (added)
+++ openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/create.jsp Thu Aug  6 17:18:02 2009
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<%--
+   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.
+--%>
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+    pageEncoding="ISO-8859-1"%>
+
+<HTML>
+<HEAD>
+<META http-equiv="Cache-Control" content="no-cache">
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<TITLE>Apache OpenJPA Customers Exmaple - Create Customers</TITLE>
+</HEAD>
+<BODY>
+<form action="company" method="post">
+<input type="hidden" name="action" value="add">
+<table border="1">
+<tr>
+	<td align="center" colspan="2">Create a Customer</td>     
+</tr>
+<tr>
+    <td>Customer ID (Integer):</td>
+    <td><input type="text" name="clientID"></td>    
+</tr>    
+<tr>
+    <td>Full Name:</td>
+    <td><input type="text" name="clientName"></td>    
+</tr>    
+<tr>
+    <td>SSS Number:</td>
+    <td><input type="text" name="clientSSS"></td>    
+</tr>    
+<tr>
+    <td>Address:</td>
+    <td><input type="text" name="clientAddress"></td>    
+</tr>    
+<tr>
+    <td>Birthdate:</td>
+    <td><input type="text" name="clientBirthdate"></td>    
+</tr>    
+<tr>
+    <td>Annual Salary:</td>
+    <td>$<input type="text" name="clientSalary"></td>    
+</tr>    
+<tr>
+    <td>Loan Amount:</td>
+    <td>$<input type="text" name="loanAmt"></td>    
+</tr>    
+<tr>
+	<td align="center" colspan="2"><input type="submit" value="Create"></td>     
+</tr>
+<tr>
+	<td align="center" colspan="2"><a href="company?action=list">List Customers</a></td>     
+</tr>
+</table>
+</form>
+</body>
+</html>
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/create.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/index.htm
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/index.htm?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/index.htm (added)
+++ openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/index.htm Thu Aug  6 17:18:02 2009
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
+g/TR/html4/loose.dtd">
+<!--
+   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.
+-->
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <title>Apache OpenJPA Customers Example</title>
+</head>
+<body>
+  <a href="create.jsp">Add Customer</a>
+  <a href="company?action=list">List Customers</a>
+</body>
+</html>

Propchange: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/index.htm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/index.htm
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/list.jsp
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/list.jsp?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/list.jsp (added)
+++ openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/list.jsp Thu Aug  6 17:18:02 2009
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  "http://www.w3.org/TR/html4/strict.dtd">
+<%--
+   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.
+--%>
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+    pageEncoding="ISO-8859-1"%>
+<%@ page import="java.util.*" %>
+<%@ page import="org.apache.openjpa-openjpa-examples.customers.entities.*" %>
+<%@ page import="java.text.SimpleDateFormat" %>
+<%@ page import="java.text.DecimalFormat" %>
+
+<HTML>
+<HEAD>
+<META http-equiv="Cache-Control" content="no-cache">
+<META http-equiv="Expires" content="Tue, 20 Aug 1996 14:25:27 GMT">
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<TITLE>Apache OpenJPA Customers Exmaple - List Customers</TITLE>
+</HEAD>
+<BODY>
+
+<%
+JPACustomer customer = null;
+List customers = (List)request.getAttribute( "customers" );
+%>
+
+<table border="1">
+	<tr>
+		<td align="center" colspan="6">Customers</td>
+	</tr>	
+	<tr>
+		<td>NAME</td>
+		<td>SSS NO.</td>
+		<td>ADDRESS</td>
+		<td>BIRTHDATE</td>
+		<td>ANNUAL SALARY</td>
+		<td>LOAN AMOUNT</td>
+	</tr>
+
+<% 
+customers.size();
+for( int i = 0; i < customers.size(); i ++ ){
+	customer = (JPACustomer)customers.get( i );
+%>
+	<tr>
+		<td>
+		<%=customer.getName()%>
+		</td>
+		<td>
+		<%=customer.getSss_no()%>
+		</td>
+		<td>
+		<%=customer.getAddress()%>
+		</td>
+		<td>
+		<%=new SimpleDateFormat("MM/dd/yyyy").format(customer.getBirthday())%>
+		</td>
+		<td align="right">
+		<%=new DecimalFormat("$###,##0.00").format(customer.getAnnual_salary())%>
+		</td>
+		<td align="right">
+		<%=new DecimalFormat("$###,##0.00").format(customer.getLoan_amount())%>
+		</td>
+	</tr>
+
+<% 
+}
+%>
+<tr>
+	<td align="center" colspan="6"><a href="create.jsp">Add Customer</a></td>
+</tr>	
+</table>
+</BODY>
+</HTML>
+

Propchange: openjpa/sandboxes/dwoods/sample/customers-war/src/main/webapp/list.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openjpa/sandboxes/dwoods/sample/dd/CreateCustomerTable.ddl
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/dd/CreateCustomerTable.ddl?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/dd/CreateCustomerTable.ddl (added)
+++ openjpa/sandboxes/dwoods/sample/dd/CreateCustomerTable.ddl Thu Aug  6 17:18:02 2009
@@ -0,0 +1,17 @@
+-- setup Customers database for JPA sample;
+
+-- connect 'SystemDatabase';
+
+-- drop table JPACUSTOMER;
+
+CREATE TABLE JPACUSTOMER (
+	ID 		INTEGER NOT NULL PRIMARY KEY,
+	NAME	 	VARCHAR(255),
+	BIRTHDAY	DATE,
+	SSS_NO	 	VARCHAR(255),
+	ADDRESS		VARCHAR(255),
+	ANNUAL_SALARY	DOUBLE,
+	LOAN_AMOUNT	DOUBLE
+	);
+
+-- disconnect;

Added: openjpa/sandboxes/dwoods/sample/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/dwoods/sample/pom.xml?rev=801733&view=auto
==============================================================================
--- openjpa/sandboxes/dwoods/sample/pom.xml (added)
+++ openjpa/sandboxes/dwoods/sample/pom.xml Thu Aug  6 17:18:02 2009
@@ -0,0 +1,39 @@
+<?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.openjpa</groupId>
+        <artifactId>openjpa-examples</artifactId>
+        <version>2.0.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>customers</artifactId>
+    <packaging>pom</packaging>
+    <name>Apache OpenJPA Examples :: Customers</name>
+    <description>Apache OpenJPA Customers Example which uses JSP + JPA + BV</description>
+    
+    <modules>
+        <module>customers-ejb</module>
+        <module>customers-war</module>
+        <module>customers-ear</module>
+    </modules>
+
+</project>

Propchange: openjpa/sandboxes/dwoods/sample/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message