You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2007/10/19 02:21:59 UTC

svn commit: r586190 - in /geronimo/samples/trunk/samples/CustomerService: ./ CustomerService-ear/ CustomerService-ear/src/ CustomerService-ear/src/main/ CustomerService-ear/src/main/resources/ CustomerService-ear/src/main/resources/META-INF/ CustomerSe...

Author: gawor
Date: Thu Oct 18 17:21:56 2007
New Revision: 586190

URL: http://svn.apache.org/viewvc?rev=586190&view=rev
Log:
import CustomerService sample into svn

Added:
    geronimo/samples/trunk/samples/CustomerService/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/pom.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerService.sql   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerServicePool.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/META-INF/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/META-INF/geronimo-application.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/pom.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/Customer.java   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionBean.java   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionLocal.java   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/openejb-jar.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/persistence.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/customer.properties   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/pom.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/customer/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/customer/web/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/customer/web/CustomerServiceJavaBean.java   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/customers/
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/customers/index.jsp   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/header.html   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.html   (with props)
    geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.jsp   (with props)
    geronimo/samples/trunk/samples/CustomerService/pom.xml   (with props)

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/pom.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/pom.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/pom.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,111 @@
+<?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: 550875 $ $Date: 2007-06-26 13:40:09 -0400 (Tue, 26 Jun 2007) $ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>CustomerService</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>CustomerService-ear</artifactId>
+    <name>Geronimo Samples :: CustomerService :: EAR</name>
+    <packaging>ear</packaging>
+
+    <description>Geronimo Samples. EAR Module</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.tranql</groupId>
+            <artifactId>tranql-connector-ra</artifactId>
+            <version>1.3</version>
+            <type>rar</type>
+        </dependency>
+                
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>CustomerService-war</artifactId>
+            <version>2.0-SNAPSHOT</version>
+            <type>war</type>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>CustomerService-ejb</artifactId>
+            <version>2.0-SNAPSHOT</version>
+            <type>ejb</type>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-ear-plugin</artifactId>
+                <configuration>
+                    <displayName>Geronimo Sample EAR for CustomerService</displayName>
+                    <description>Geronimo Sample EAR for CustomerService</description>
+                    <version>5</version>
+                    <modules>
+                      <ejbModule>
+                            <groupId>org.apache.geronimo.samples</groupId>
+                            <artifactId>CustomerService-ejb</artifactId>
+                            <bundleFileName>CustomerService-ejb-2.0-SNAPSHOT.jar</bundleFileName>
+                        </ejbModule>
+
+                        <webModule>
+                            <groupId>org.apache.geronimo.samples</groupId>
+                            <artifactId>CustomerService-war</artifactId>
+                            <contextRoot>/CustomerService</contextRoot>
+                            <bundleFileName>CustomerService-war-2.0-SNAPSHOT.war</bundleFileName>
+                        </webModule>
+                    </modules>
+                </configuration>
+            </plugin>
+
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>install</phase>
+                        <id>copy-parent-target</id>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <echo>Copying ${pom.build.finalName}.ear file to parent</echo>
+                                <copy file ="${project.build.directory}/${pom.artifactId}-${pom.version}.ear" todir="${pom.basedir}/.." failonerror="false" overwrite="true" />
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
+

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerService.sql
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerService.sql?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerService.sql (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerService.sql Thu Oct 18 17:21:56 2007
@@ -0,0 +1,9 @@
+create table customer (
+   customerid varchar(10) primary key,
+   fullname varchar(30),
+   emailaddress varchar(30),
+   interests varchar(100)
+);
+
+insert into customer values ('A100','John Doe10','Doe10@work.com','Java,Open Source, Computer Graphics');
+insert into customer values ('b100','Jane Doe20','Doe20@home.net','Budget Travel, New Zealand, Martial Arts');

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerService.sql
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerServicePool.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerServicePool.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerServicePool.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerServicePool.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,56 @@
+<?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.
+-->
+
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
+    <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+        <dep:moduleId>
+            <dep:groupId>console.dbpool</dep:groupId>
+            <dep:artifactId>CustomerServicePool</dep:artifactId>
+            <dep:version>1.0</dep:version>
+            <dep:type>rar</dep:type>
+        </dep:moduleId>
+        <dep:dependencies>
+            <dep:dependency>
+                <dep:groupId>org.apache.geronimo.configs</dep:groupId>
+                <dep:artifactId>system-database</dep:artifactId>
+                <dep:type>car</dep:type>
+            </dep:dependency>
+        </dep:dependencies>
+    </dep:environment>
+    <resourceadapter>
+        <outbound-resourceadapter>
+            <connection-definition>
+                <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
+                <connectiondefinition-instance>
+                    <name>CustomerServicePool</name>
+                    <config-property-setting name="Driver">org.apache.derby.jdbc.EmbeddedDriver</config-property-setting>
+                    <config-property-setting name="ConnectionURL">jdbc:derby:CustomerDB</config-property-setting>
+                    <connectionmanager>
+                        <local-transaction/>
+                        <single-pool>
+                            <max-size>10</max-size>
+                            <min-size>0</min-size>
+                            <match-one/>
+                        </single-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+            </connection-definition>
+        </outbound-resourceadapter>
+    </resourceadapter>
+</connector>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/CustomerServicePool.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/META-INF/geronimo-application.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/META-INF/geronimo-application.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/META-INF/geronimo-application.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/META-INF/geronimo-application.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,37 @@
+<!--
+   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.
+ -->
+
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1">
+   <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
+      <dep:moduleId>
+         <dep:groupId>default</dep:groupId>
+         <dep:artifactId>CustomerService</dep:artifactId>
+         <dep:version>1.0</dep:version>
+         <dep:type>ear</dep:type>
+      </dep:moduleId>
+
+      <dep:dependencies/>
+      <dep:hidden-classes/>
+      <dep:non-overridable-classes/>
+   </dep:environment>
+   
+   <module>
+        <connector>tranql-connector-ra-1.3.rar</connector>
+        <alt-dd>CustomerServicePool.xml</alt-dd>
+   </module>
+   
+</application>

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ear/src/main/resources/META-INF/geronimo-application.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/pom.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/pom.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/pom.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,42 @@
+<?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: 508080 $ $Date: 2007-02-15 14:06:57 -0500 (Thu, 15 Feb 2007) $ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>CustomerService</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>CustomerService-ejb</artifactId>
+    <name>Geronimo Samples :: CustomerService :: EJB</name>
+    <packaging>jar</packaging>
+
+    <description>Geronimo Samples. EJB Module</description>
+
+
+</project>
+

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/Customer.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/Customer.java?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/Customer.java (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/Customer.java Thu Oct 18 17:21:56 2007
@@ -0,0 +1,77 @@
+/**
+ *  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 com.service.customer.ejb;
+
+import java.io.Serializable;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+
+@Entity
+@Table(name = "customer")
+public class Customer implements Serializable {
+    private String customerId;
+    private String fullName;
+    private String emailAddress;
+    private String interests;
+
+    public Customer() {
+
+    }
+
+    public Customer(String customerId, String fullName, String emailAddress,
+                    String interests) {
+        this.customerId = customerId;
+        this.fullName = fullName;
+        this.emailAddress = emailAddress;
+        this.interests = interests;
+    }
+
+    @Id
+    public String getCustomerId() {
+        return customerId;
+    }
+
+    public String getFullName() {
+        return fullName;
+    }
+
+    public String getEmailAddress() {
+        return emailAddress;
+    }
+
+    public String getInterests() {
+        return interests;
+    }
+
+    public void setCustomerId(String customerId) {
+        this.customerId = customerId;
+    }
+
+    public void setFullName(String fullName) {
+        this.fullName = fullName;
+    }
+
+    public void setEmailAddress(String emailAddress) {
+        this.emailAddress = emailAddress;
+    }
+
+    public void setInterests(String interests) {
+        this.interests = interests;
+    }
+} // end Customer

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/Customer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionBean.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionBean.java?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionBean.java (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionBean.java Thu Oct 18 17:21:56 2007
@@ -0,0 +1,63 @@
+/**
+ *  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 com.service.customer.ejb;
+
+import java.rmi.RemoteException;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.persistence.PersistenceUnit;
+import javax.ejb.EJBException;
+import javax.ejb.Stateless;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import javax.persistence.EntityManager;
+import javax.persistence.EntityManagerFactory;
+
+@Stateless
+public class ProcessCustomerSessionBean implements ProcessCustomerSessionLocal {
+    @PersistenceUnit
+    protected EntityManagerFactory emf;
+
+    public ProcessCustomerSessionBean() {
+    
+    }
+
+    public List<Customer> findAllCustomers() {
+        EntityManager em = emf.createEntityManager();
+        String query = "SELECT * FROM customer";
+        List<Customer> customerList =
+            (List<Customer>)em.createNativeQuery(query, Customer.class).getResultList();
+        em.close();
+        return customerList;
+    }
+
+    public Customer findCustomer(String key) {
+        EntityManager em = emf.createEntityManager();
+        String query = "SELECT * FROM customer WHERE id='"+key+"'";
+        List<Customer> customerList =
+            (List<Customer>)em.createNativeQuery(query, Customer.class).getResultList();
+        if(customerList.size() == 1) {
+            return (Customer)customerList.get(0);
+        } else {
+            return null;
+        }
+    }
+}

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionLocal.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionLocal.java?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionLocal.java (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionLocal.java Thu Oct 18 17:21:56 2007
@@ -0,0 +1,26 @@
+/**
+ *  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 com.service.customer.ejb;
+
+import com.service.customer.ejb.Customer;
+
+public interface ProcessCustomerSessionLocal {
+    public java.util.List<Customer> findAllCustomers();
+
+    public Customer findCustomer(String key);
+}

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/java/com/service/customer/ejb/ProcessCustomerSessionLocal.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/openejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/openejb-jar.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/openejb-jar.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/openejb-jar.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"
+             xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
+             xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
+             xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+   <dep:environment>
+      <dep:moduleId>
+         <dep:groupId>default</dep:groupId>
+         <dep:artifactId>ProcessCustomerSession</dep:artifactId>
+         <dep:version>1.0</dep:version>
+         <dep:type>jar</dep:type>
+      </dep:moduleId>
+
+      <dep:dependencies>
+      </dep:dependencies>
+      <dep:hidden-classes/>
+      <dep:non-overridable-classes/>
+   </dep:environment>
+</openejb-jar>

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/persistence.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/persistence.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/persistence.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +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.
+-->
+
+<persistence    xmlns="http://java.sun.com/xml/ns/persistence"
+                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0"
+                xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
+    <persistence-unit name="CustomerPU">
+        <description>Entity Beans for Customer</description>
+        <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+        <class>com.service.customer.ejb.Customer</class>
+        <properties>
+            <property name="openjpa.jdbc.SynchronizeMappings" value="false"/>
+        </properties>
+        <jta-data-source>CustomerServicePool</jta-data-source>
+        <non-jta-data-source>CustomerServicePool</non-jta-data-source>
+    </persistence-unit>
+</persistence>

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/META-INF/persistence.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/customer.properties
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/customer.properties?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/customer.properties (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/customer.properties Thu Oct 18 17:21:56 2007
@@ -0,0 +1,17 @@
+#   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.
+ 
+# Specify JNDI names here
+jndi.process.ejb = java:comp/env/ejb/ProcessCustomerSessionBean

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-ejb/src/main/resources/customer.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-war/pom.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-war/pom.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-war/pom.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,74 @@
+<?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: 550875 $ $Date: 2007-06-26 13:40:09 -0400 (Tue, 26 Jun 2007) $ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>CustomerService</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>CustomerService-war</artifactId>
+    <name>Geronimo Samples :: CustomerService :: WAR</name>
+    <packaging>war</packaging>
+
+    <description>Geronimo Samples. WEB Module</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>CustomerService-ejb</artifactId>
+            <version>2.0-SNAPSHOT</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+    
+    <build>
+        <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>process-resources</phase>
+                        <id>copy-parent-site</id>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                              <echo>Copying site directory from parent</echo>
+                                <copy todir="${project.build.directory}/${pom.artifactId}-2.0-SNAPSHOT" failonerror="false" overwrite="true">
+                                    <fileset dir="${pom.basedir}/../docs"/>
+                                </copy>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/customer/web/CustomerServiceJavaBean.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/customer/web/CustomerServiceJavaBean.java?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/customer/web/CustomerServiceJavaBean.java (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/customer/web/CustomerServiceJavaBean.java Thu Oct 18 17:21:56 2007
@@ -0,0 +1,69 @@
+/**
+ *  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 com.service.customer.web;
+
+import com.service.customer.ejb.Customer;
+import com.service.customer.ejb.ProcessCustomerSessionLocal;
+
+import java.util.Locale;
+import java.util.ResourceBundle;
+import java.util.List;
+import javax.naming.InitialContext;
+
+public class CustomerServiceJavaBean
+{
+   private ProcessCustomerSessionLocal process = null;
+   private ResourceBundle      bundle = null;
+
+   public CustomerServiceJavaBean()
+   {
+      InitialContext initial = null;
+
+      bundle = ResourceBundle.getBundle("customer", Locale.getDefault(), CustomerServiceJavaBean.class.getClassLoader());
+      String jndiName = bundle.getString("jndi.process.ejb");
+
+      try
+      {
+         initial = new InitialContext();
+		 process = (ProcessCustomerSessionLocal) initial.lookup(jndiName.trim());
+         System.out.println("Successful looking up: '" + jndiName.trim() + "'");
+      } // end try
+
+      catch (Exception e)
+      {
+         e.printStackTrace();
+      } // end catch
+   } // end CustomerServiceJavaBean
+
+
+   public List<Customer> getAllCustomers()
+   {
+      List<Customer> customerList = null;
+
+      try
+      {
+         customerList = process.findAllCustomers();
+      } // end try
+      catch (Exception e)
+      {
+         e.printStackTrace();
+      } // end catch
+
+      return customerList;
+   } // end getAllCustomerss
+} // end CustomerServiceJavaBean

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/java/com/service/customer/web/CustomerServiceJavaBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/geronimo-web.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/geronimo-web.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,37 @@
+<?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.
+-->
+
+<web-app
+	xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
+   <environment>
+      <moduleId>
+         <groupId>default</groupId>
+         <artifactId>CustomerService-web</artifactId>
+         <version>1.0</version>
+         <type>war</type>
+      </moduleId>
+
+      <dependencies>
+      </dependencies>		
+      <hidden-classes/>
+      <non-overridable-classes/>
+   </environment>
+   
+   <context-root>/service</context-root>
+</web-app>

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/web.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/web.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<web-app 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/web-app_2_4.xsd"
+         version="2.4">
+
+  <welcome-file-list>
+    <welcome-file>index.html</welcome-file>
+  </welcome-file-list>
+
+  <ejb-local-ref>
+    <ejb-ref-name>ejb/ProcessCustomerSessionBean</ejb-ref-name>
+    <ejb-ref-type>Session</ejb-ref-type>
+    <local>com.service.customer.ejb.ProcessCustomerSessionLocal</local>
+  </ejb-local-ref>
+</web-app>
+

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/customers/index.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/customers/index.jsp?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/customers/index.jsp (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/customers/index.jsp Thu Oct 18 17:21:56 2007
@@ -0,0 +1,84 @@
+<%
+// index.jsp - Edit customer information no this page
+%>
+
+<%@ page import="com.service.customer.ejb.Customer" %>
+<%@ page import="com.service.customer.ejb.ProcessCustomerSessionLocal" %>
+<%@ page import="java.util.List"                     %>
+
+<jsp:useBean id="serviceBean" scope="session" class="com.service.customer.web.CustomerServiceJavaBean"/>
+<jsp:setProperty name="serviceBean" property="*"/>
+
+<HTML>
+   <%! Customer customer            = null; %>
+   <%! String message               = null; %>
+   <%! List<Customer> customerList  = null; %>
+
+   <% message = ""; %>
+   <% customerList = serviceBean.getAllCustomers(); %>
+
+   <HEAD>
+   <TITLE>Customer Service - JNDI Series</TITLE>
+   </HEAD>
+
+   <BODY bgcolor="white">
+    <CENTER>
+        <H1>Customer Processing Page</H1>
+    </CENTER>
+
+    <% if ((customerList == null) || (customerList.size() == 0)) { %>
+      <% message = "No Customers Available"; %>
+    <% } // end if %>
+
+    <!-- Display status message here -->
+    <H2><%= message %></H2>
+
+    <TABLE border="0">
+      <TR>
+         <TD align="left">
+         Customer ID
+         </TD>
+
+         <TD align="left">
+         Full Name
+         </TD>
+
+         <TD align="left">
+         Email Address
+         </TD>
+
+         <TD align="left">
+         Interests
+         </TD>
+      </TR>
+
+      <% if (customerList != null) { %>
+      <% for (int x = 0; x < customerList.size(); x++) { %>
+      <TR>
+         <% customer = (Customer)customerList.get(x); %>
+
+         <TD align="left">
+         <INPUT type="radio" name="customerID" value="<%= customer.getCustomerId() %>">
+         <%= customer.getCustomerId() %>
+         </TD>
+
+         <TD align="left">
+         <INPUT type="hidden" name="fullName" value="<%= customer.getFullName() %>">
+         <%= customer.getFullName() %>
+         </TD>
+
+         <TD align="left">
+         <INPUT type="hidden" name="emailAddress" value="<%= customer.getEmailAddress() %>">
+         <%= customer.getEmailAddress() %>
+         </TD>
+
+         <TD align="left">
+         <INPUT type="hidden" name="interests" value="<%= customer.getInterests() %>">
+         <%= customer.getInterests() %>
+         </TD>
+      </TR>
+      <% } // end for %>
+      <% } // end if %>
+    </TABLE>
+   </BODY>
+</HTML>

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/customers/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/header.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/header.html?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/header.html (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/header.html Thu Oct 18 17:21:56 2007
@@ -0,0 +1,55 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<html>
+    <head>
+        <link type="text/css" rel="stylesheet" href="http://geronimo.apache.org/style/default.css">
+        <link rel="SHORTCUT ICON" href="http://geronimo.apache.org/images/favicon.ico">   
+        <script src="http://geronimo.apache.org/functions.js" type="text/javascript"></script><title>Apache Geronimo Sample Applications</title>
+        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    </head>
+    
+    <body onload="init()">
+        
+        <table valign="top" background="http://geronimo.apache.org/images/header_bg_1x86.gif" border="0" cellpadding="0" cellspacing="0" width="100%">
+            <tbody>
+                <tr>
+                    <td valing="top" align="left">
+                        <a href="http://geronimo.apache.org/"><img src="http://geronimo.apache.org/images/topleft_logo_437x64.gif" border="0"></a>
+                    </td>
+                    <td width="100%">
+                        &nbsp;
+                    </td>
+                </tr>
+            </tbody>
+        </table>
+        
+        <table border="0" cellpadding="2" cellspacing="0" width="100%">
+            <tbody>
+                <tr class="topBar">
+                    <td class="topBarDiv" align="left" nowrap="true" valign="middle" width="100%">
+                        &nbsp;<a href="http://geronimo.apache.org/" title="Apache Geronimo Home" target="_blank">Apache Geronimo Home</a> | <a href="http://cwiki.apache.org/geronimo/" title="Geronimo Documentation"target="_blank">Documentation</a> | <a href="http://cwiki.apache.org/GMOxSAMPLES/" title="Sample Applications"target="_blank">Sample Applications</a>
+                    </td>
+                    <td class="topBarDiv" align="left" nowrap="true" valign="middle">
+                        <a href="xref/index.html" target="source_window">Source Code</a> | <a href="apidocs/index.html" target="source_window">Java Docs</a>&nbsp;&nbsp;
+                    </td>
+                </tr>
+            </tbody>
+        </table>
+
+    </body>
+</html>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.html?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.html (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.html Thu Oct 18 17:21:56 2007
@@ -0,0 +1,29 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd class="cell"">
+<html>
+<head>
+  <title>Apache Geronimo Sample Application</title>
+  <meta content="text/html; CHARSET=iso-8859-1" http-equiv="Content-Type">
+</head>
+
+<FRAMESET rows="86px,*" frameborder="0">
+    <FRAME src="./header.html" name="headerFrame" title="Header" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no">
+    <FRAME src="./index.jsp" name="sampleDocumentFrame" title="Sample Document Description" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no">
+</FRAMESET>
+  
+</html>

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.jsp?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.jsp (added)
+++ geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.jsp Thu Oct 18 17:21:56 2007
@@ -0,0 +1,19 @@
+<HTML>
+<HEAD>
+   <TITLE>Customer Service - JNDI Series</TITLE>
+</HEAD>
+
+<BODY bgcolor="white">
+<CENTER>
+   <H1>Welcome to Customer Service</H1>
+
+   <TABLE>
+      <TR>
+      <TD align="left">
+      <H2><a href="customers/index.jsp">View Customers</a></H2>
+      </TD>
+      </TR>
+   </TABLE>
+</CENTER>
+</BODY>
+</HTML>

Propchange: geronimo/samples/trunk/samples/CustomerService/CustomerService-war/src/main/webapp/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/samples/trunk/samples/CustomerService/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/CustomerService/pom.xml?rev=586190&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/CustomerService/pom.xml (added)
+++ geronimo/samples/trunk/samples/CustomerService/pom.xml Thu Oct 18 17:21:56 2007
@@ -0,0 +1,101 @@
+<?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: 550875 $ $Date: 2007-06-26 13:40:09 -0400 (Tue, 26 Jun 2007) $ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    
+    <modelVersion>4.0.0</modelVersion>
+    
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>samples</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    
+    <artifactId>CustomerService</artifactId>
+    <name>Geronimo Samples :: CustomerService</name>
+    <packaging>pom</packaging>
+    
+    <description>
+        Geronimo CustomerService sample created from an archetype.
+    </description>
+    
+   <modules>
+        <module>CustomerService-ejb</module>
+        <module>CustomerService-war</module>
+        <module>CustomerService-ear</module>
+   </modules>
+
+   <dependencies>
+    <dependency>
+        <groupId>org.apache.geronimo.specs</groupId>
+        <artifactId>geronimo-annotation_1.0_spec</artifactId>
+        <version>1.1</version>
+        <type>jar</type>
+        <scope>provided</scope>
+    </dependency>
+    <dependency>
+        <groupId>org.apache.activemq</groupId>
+        <artifactId>activemq-core</artifactId>
+        <version>4.1.1</version>
+        <type>jar</type>
+        <scope>provided</scope>
+    </dependency>
+    <dependency>
+        <groupId>org.apache.geronimo.specs</groupId>
+        <artifactId>geronimo-jpa_3.0_spec</artifactId>
+        <version>1.1</version>
+        <type>jar</type>
+        <scope>provided</scope>
+    </dependency>
+   </dependencies>
+
+   <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-site-plugin</artifactId>
+                <inherited>false</inherited>
+                <configuration>
+                  <outputDirectory>${project.basedir}/docs</outputDirectory>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <repositories>
+        <repository>
+            <id>apache-snapshots</id>
+            <name>Apache Snapshots Repository</name>
+            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>true</enabled>
+                <updatePolicy>daily</updatePolicy>
+                <checksumPolicy>ignore</checksumPolicy>
+            </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </repository>
+    </repositories> 
+
+</project>

Propchange: geronimo/samples/trunk/samples/CustomerService/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native