geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lin...@apache.org
Subject svn commit: r677701 [3/3] - in /geronimo/samples/trunk: ./ buildutil/ buildutil/src/ buildutil/src/main/ buildutil/src/main/java/ buildutil/src/main/java/org/ buildutil/src/main/java/org/apache/ buildutil/src/main/java/org/apache/geronimo/ buildutil/sr...
Date Thu, 17 Jul 2008 19:48:27 GMT
Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-ejb/src/main/java/org/apache/geronimo/samples/order/OrderRecvMDB.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-ejb/src/main/java/org/apache/geronimo/samples/order/OrderRecvMDB.java?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-ejb/src/main/java/org/apache/geronimo/samples/order/OrderRecvMDB.java (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-ejb/src/main/java/org/apache/geronimo/samples/order/OrderRecvMDB.java Thu Jul 17 12:48:20 2008
@@ -0,0 +1,50 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.samples.order;
+
+import javax.ejb.ActivationConfigProperty;
+import javax.ejb.MessageDriven;
+import javax.jms.JMSException;
+import javax.jms.Message;
+import javax.jms.MessageListener;
+import javax.jms.TextMessage;
+
+//
+// MessageDrivenBean that listens to items on the
+// 'OrderQueue' queue and processes them accordingly.
+
+//
+@MessageDriven(activationConfig = {
+@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
+@ActivationConfigProperty(propertyName = "destination", propertyValue = "OrderQueue")
+        })
+public class OrderRecvMDB implements MessageListener {
+
+    /*
+     * Process a message.
+     * 
+     * @param message The message to process. 
+     */
+    public void onMessage(Message message) {
+        TextMessage textMessage = (TextMessage) message;
+        try {
+            System.out.println("(mdb) Order Received \n" + textMessage.getText());
+        } catch (JMSException e) {
+            e.printStackTrace();
+        }
+    }
+}

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-ejb/src/main/java/org/apache/geronimo/samples/order/OrderRecvMDB.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-ejb/src/main/java/org/apache/geronimo/samples/order/OrderRecvMDB.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-ejb/src/main/java/org/apache/geronimo/samples/order/OrderRecvMDB.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/pom.xml?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/pom.xml (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/pom.xml Thu Jul 17 12:48:20 2008
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>jms-mdb</artifactId>
+        <version>2.2-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.geronimo.samples</groupId>
+    <artifactId>jms-mdb-jetty</artifactId>
+    <name>Geronimo Samples :: jms-mdb Plugin for Jetty</name>
+    <packaging>car</packaging>
+
+    <description>Geronimo Samples. jms-mdb Plugin for Jetty</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>jms-mdb-ear</artifactId>
+            <version>${version}</version>
+            <type>ear</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jetty6-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>openejb-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>persistence-jpa10-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jetty6</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>openejb</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.buildsupport</groupId>
+                <artifactId>car-maven-plugin</artifactId>
+                <configuration>
+                    <deploymentConfigs>
+                        <deploymentConfig>${gbeanDeployer}</deploymentConfig>
+                        <deploymentConfig>${j2eeDeployer}</deploymentConfig>
+                        <deploymentConfig>${jetty6Deployer}</deploymentConfig>
+                        <deploymentConfig>${jasperDeployer}</deploymentConfig>
+                        <deploymentConfig>${openejbDeployer}</deploymentConfig>
+                        <deploymentConfig>${jpaDeployer}</deploymentConfig>
+                    </deploymentConfigs>
+                    <module>
+                        <groupId>org.apache.geronimo.samples</groupId>
+                        <artifactId>jms-mdb-ear</artifactId>
+                        <version>${version}</version>
+                        <type>ear</type>
+                    </module>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
+                    <category>Sample</category>
+                    <!--<instance>-->
+                    <!--<plugin-artifact>-->
+                    <!--<prerequisite>-->
+                    <!--<id>-->
+                    <!--<groupId>org.apache.geronimo.configs</groupId>-->
+                    <!--<artifactId>jetty6</artifactId>-->
+                    <!--</id>-->
+                    <!--<resource-type>Web Container</resource-type>-->
+                    <!--<description>-->
+                    <!--This version of the application works with the Geronimo/Jetty distribution. -->
+                    <!--It is not intended to run in the Geronimo/Tomcat distribution. -->
+                    <!--There is a separate version of the application that works with Tomcat. -->
+                    <!--Please install the version appropriate to your Geronimo distribution.-->
+                    <!--</description> -->
+                    <!--</prerequisite>-->
+                    <!--</plugin-artifact>-->
+                    <!--</instance>-->
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/src/main/plan/plan.xml?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/src/main/plan/plan.xml (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/src/main/plan/plan.xml Thu Jul 17 12:48:20 2008
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.2">
+
+    <module>
+        <ejb>jms-mdb-ejb-${pom.version}.jar</ejb>
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
+            <enterprise-beans>
+                <message-driven>
+                    <ejb-name>OrderRecvMDB</ejb-name>
+                    <resource-adapter>
+                        <resource-link>jms-resources</resource-link>
+                    </resource-adapter>
+                </message-driven>
+            </enterprise-beans>
+        </openejb-jar>
+
+    </module>
+    <module>
+        <connector>geronimo-activemq-ra-${geronimoVersion}.rar</connector>
+        <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
+            <resourceadapter>
+                <resourceadapter-instance>
+                    <resourceadapter-name>jms-resources</resourceadapter-name>
+                    <nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
+                        <nam:gbean-link>DefaultWorkManager</nam:gbean-link>
+                    </nam:workmanager>
+                </resourceadapter-instance>
+                <outbound-resourceadapter>
+                    <connection-definition>
+                        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
+                        <connectiondefinition-instance>
+                            <name>OrderConnectionFactory</name>
+                            <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
+                            <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
+                            <connectionmanager>
+                                <xa-transaction>
+                                    <transaction-caching/>
+                                </xa-transaction>
+                                <single-pool>
+                                    <match-one/>
+                                </single-pool>
+                            </connectionmanager>
+                        </connectiondefinition-instance>
+                    </connection-definition>
+                </outbound-resourceadapter>
+            </resourceadapter>
+            <adminobject>
+                <adminobject-interface>javax.jms.Queue</adminobject-interface>
+                <adminobject-class>org.apache.activemq.command.ActiveMQQueue</adminobject-class>
+                <adminobject-instance>
+                    <message-destination-name>OrderQueue</message-destination-name>
+                    <config-property-setting name="PhysicalName">OrderQueue</config-property-setting>
+                </adminobject-instance>
+            </adminobject>
+        </connector>
+    </module>
+
+</application>

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-jetty/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/pom.xml?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/pom.xml (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/pom.xml Thu Jul 17 12:48:20 2008
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>jms-mdb</artifactId>
+        <version>2.2-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.geronimo.samples</groupId>
+    <artifactId>jms-mdb-tomcat</artifactId>
+    <name>Geronimo Samples :: jms-mdb Plugin for Tomcat</name>
+    <packaging>car</packaging>
+
+    <description>Geronimo Samples. jms-mdb Plugin for Tomcat</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>jms-mdb-ear</artifactId>
+            <version>${version}</version>
+            <type>ear</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>tomcat6-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>openejb-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>persistence-jpa10-deployer</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>jasper</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>tomcat6</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>openejb</artifactId>
+            <version>${geronimoVersion}</version>
+            <type>car</type>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.buildsupport</groupId>
+                <artifactId>car-maven-plugin</artifactId>
+                <configuration>
+                    <deploymentConfigs>
+                        <deploymentConfig>${gbeanDeployer}</deploymentConfig>
+                        <deploymentConfig>${j2eeDeployer}</deploymentConfig>
+                        <deploymentConfig>${tomcatDeployer}</deploymentConfig>
+                        <deploymentConfig>${jasperDeployer}</deploymentConfig>
+                        <deploymentConfig>${openejbDeployer}</deploymentConfig>
+                        <deploymentConfig>${jpaDeployer}</deploymentConfig>
+                    </deploymentConfigs>
+                    <module>
+                        <groupId>org.apache.geronimo.samples</groupId>
+                        <artifactId>jms-mdb-ear</artifactId>
+                        <version>${version}</version>
+                        <type>ear</type>
+                    </module>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
+                    <category>Sample</category>
+                    <!--<instance>-->
+                    <!--<plugin-artifact>-->
+                    <!--<prerequisite>-->
+                    <!--<id>-->
+                    <!--<groupId>org.apache.geronimo.configs</groupId>-->
+                    <!--<artifactId>tomcat6</artifactId>-->
+                    <!--</id>-->
+                    <!--<resource-type>Web Container</resource-type>-->
+                    <!--<description>-->
+                    <!--This version of the application works with the Geronimo/Tomcat distribution. -->
+                    <!--It is not intended to run in the Geronimo/Jetty distribution. -->
+                    <!--There is a separate version of the application that works with Jetty. -->
+                    <!--Please install the version appropriate to your Geronimo distribution.-->
+                    <!--</description> -->
+                    <!--</prerequisite>-->
+                    <!--</plugin-artifact>-->
+                    <!--</instance>-->
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/src/main/plan/plan.xml?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/src/main/plan/plan.xml (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/src/main/plan/plan.xml Thu Jul 17 12:48:20 2008
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.2">
+
+    <module>
+        <ejb>jms-mdb-ejb-${pom.version}.jar</ejb>
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
+            <enterprise-beans>
+                <message-driven>
+                    <ejb-name>OrderRecvMDB</ejb-name>
+                    <resource-adapter>
+                        <resource-link>jms-resources</resource-link>
+                    </resource-adapter>
+                </message-driven>
+            </enterprise-beans>
+        </openejb-jar>
+
+    </module>
+    <module>
+        <connector>geronimo-activemq-ra-${geronimoVersion}.rar</connector>
+        <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
+            <resourceadapter>
+                <resourceadapter-instance>
+                    <resourceadapter-name>jms-resources</resourceadapter-name>
+                    <nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
+                        <nam:gbean-link>DefaultWorkManager</nam:gbean-link>
+                    </nam:workmanager>
+                </resourceadapter-instance>
+                <outbound-resourceadapter>
+                    <connection-definition>
+                        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
+                        <connectiondefinition-instance>
+                            <name>OrderConnectionFactory</name>
+                            <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
+                            <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
+                            <connectionmanager>
+                                <xa-transaction>
+                                    <transaction-caching/>
+                                </xa-transaction>
+                                <single-pool>
+                                    <match-one/>
+                                </single-pool>
+                            </connectionmanager>
+                        </connectiondefinition-instance>
+                    </connection-definition>
+                </outbound-resourceadapter>
+            </resourceadapter>
+            <adminobject>
+                <adminobject-interface>javax.jms.Queue</adminobject-interface>
+                <adminobject-class>org.apache.activemq.command.ActiveMQQueue</adminobject-class>
+                <adminobject-instance>
+                    <message-destination-name>OrderQueue</message-destination-name>
+                    <config-property-setting name="PhysicalName">OrderQueue</config-property-setting>
+                </adminobject-instance>
+            </adminobject>
+        </connector>
+    </module>
+
+</application>

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-tomcat/src/main/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/pom.xml?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/pom.xml (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/pom.xml Thu Jul 17 12:48:20 2008
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>jms-mdb</artifactId>
+        <version>2.2-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>jms-mdb-war</artifactId>
+    <name>Geronimo Samples :: jms-mdb :: WAR</name>
+    <packaging>war</packaging>
+
+    <description>Geronimo Samples. WEB Module</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.samples</groupId>
+            <artifactId>jms-mdb-ejb</artifactId>
+            <version>${version}</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}-${version}" failonerror="false" overwrite="true">
+                                    <fileset dir="${pom.basedir}/../docs"/>
+                                </copy>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

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

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/java/org/apache/geronimo/samples/order/OrderSenderServlet.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/java/org/apache/geronimo/samples/order/OrderSenderServlet.java?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/java/org/apache/geronimo/samples/order/OrderSenderServlet.java (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/java/org/apache/geronimo/samples/order/OrderSenderServlet.java Thu Jul 17 12:48:20 2008
@@ -0,0 +1,111 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.samples.order;
+
+import java.io.IOException;
+
+import javax.annotation.Resource;
+import javax.jms.Connection;
+import javax.jms.ConnectionFactory;
+import javax.jms.JMSException;
+import javax.jms.MessageProducer;
+import javax.jms.Queue;
+import javax.jms.Session;
+import javax.jms.TextMessage;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Version $Rev$ $Date$
+ */
+public class OrderSenderServlet extends HttpServlet {
+
+    @Resource(name = "OrderConnectionFactory")
+    private ConnectionFactory factory;
+
+    @Resource(name = "OrderQueue")
+    private Queue receivingQueue;
+
+    @Override
+    public void init() throws ServletException {
+        super.init();
+    }
+
+    @Override
+    protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
+        manageOrders(req, res);
+    }
+
+    @Override
+    protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
+        doGet(req, res);
+    }
+
+    private void manageOrders(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
+        String path = "/error.jsp";
+        Connection connection = null;
+        MessageProducer messageProducer = null;
+        Session sess = null;
+        try {
+            String customerId = req.getParameter("customerId");
+            String orderId = req.getParameter("orderId");
+            String qty = req.getParameter("quantity");
+            String model = req.getParameter("model");
+
+            if (!customerId.equals("") && !orderId.equals("") && !qty.equals("")) {
+                System.out.println("(client) Start Sending Order Request");
+                path = "/order.jsp";
+
+                connection = factory.createConnection();
+                sess = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
+                TextMessage msg = sess.createTextMessage("<CustomerId=" + customerId + " OrderId=" + orderId
+                        + " Quantity=" + qty + " Model=" + model + ">");
+                messageProducer = sess.createProducer(receivingQueue);
+                messageProducer.send(msg);
+                System.out.println("(client) Order Request Sent");
+            } else {
+                String error = "";
+
+                if (customerId.equals("")) {
+                    error = "Customer Id cannot be empty";
+                } else if (orderId.equals("")) {
+                    error = "Order Id cannot be empty";
+                } else if (qty.equals("")) {
+                    error = "Quantity cannot be empty";
+                }
+                req.setAttribute("error", error);
+            }
+        }
+        catch (Exception e) {
+            System.out.println("Error " + e);
+            e.printStackTrace();
+        }
+        finally {
+            try {
+                if (messageProducer != null) messageProducer.close();
+                if (sess != null) sess.close();
+                if (connection != null) connection.close();
+            }
+            catch (JMSException e) {
+                e.printStackTrace();
+            }
+        }
+        getServletContext().getRequestDispatcher(path).forward(req, res);
+    }
+}

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/java/org/apache/geronimo/samples/order/OrderSenderServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/java/org/apache/geronimo/samples/order/OrderSenderServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/java/org/apache/geronimo/samples/order/OrderSenderServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/WEB-INF/web.xml?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/WEB-INF/web.xml Thu Jul 17 12:48:20 2008
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<web-app version="2.5"
+         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">
+    <description>jms-mdb Servlet Sample</description>
+    <servlet>
+        <servlet-name>OrderSenderServlet</servlet-name>
+        <servlet-class>org.apache.geronimo.samples.order.OrderSenderServlet</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>OrderSenderServlet</servlet-name>
+        <url-pattern>/order</url-pattern>
+    </servlet-mapping>
+    <resource-ref>
+        <res-ref-name>OrderConnectionFactory</res-ref-name>
+        <res-type>javax.jms.QueueConnectionFactory</res-type>
+        <res-auth>Container</res-auth>
+        <res-sharing-scope>Shareable</res-sharing-scope>
+    </resource-ref>
+    <message-destination-ref>
+        <message-destination-ref-name>OrderQueue</message-destination-ref-name>
+        <message-destination-type>javax.jms.Queue</message-destination-type>
+        <message-destination-usage>Produces</message-destination-usage>
+        <message-destination-link>OrderQueue</message-destination-link>
+    </message-destination-ref>
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+    </welcome-file-list>
+</web-app>

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

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/error.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/error.jsp?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/error.jsp (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/error.jsp Thu Jul 17 12:48:20 2008
@@ -0,0 +1,31 @@
+<!--
+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><TITLE>Error</TITLE></HEAD>
+<BODY>
+<div align="center">
+    <H2>Error Occured !!!</H2>
+    <BR><BR>
+    <b><%= request.getAttribute("error") %>
+    </b>
+    <BR><BR>
+    <a href="../order/order.jsp">Home</a>
+</div>
+</BODY>
+</HTML>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/error.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/error.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/error.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/header.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/header.html?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/header.html (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/header.html Thu Jul 17 12:48:20 2008
@@ -0,0 +1,57 @@
+<!--
+   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/jms-mdb/jms-mdb-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/header.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/index.html?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/index.html (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/index.html Thu Jul 17 12:48:20 2008
@@ -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="./order.jsp" name="sampleDocumentFrame" title="Order Management System" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="no">
+</FRAMESET>
+
+</html>

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

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/order.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/order.jsp?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/order.jsp (added)
+++ geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/order.jsp Thu Jul 17 12:48:20 2008
@@ -0,0 +1,62 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<HTML>
+<HEAD><TITLE>Welcome</TITLE></HEAD>
+<BODY>
+<div div=true align="center">
+    <strong><H2>Welcome to the Order Management System</H2><br><br><br></strong>
+
+    <FORM method="POST" action="order">
+        <TABLE width="90%" border="0" style="background-color: cyan">
+            <TR>
+                <TD><strong>Customer Id</strong></TD>
+                <TD><strong><INPUT type="text" name="customerId"></strong></TD>
+            </TR>
+            <TR>
+                <TD><strong>Order Id</strong></TD>
+                <TD><strong><INPUT type="text" name="orderId"></strong></TD>
+            </TR>
+            <TR>
+                <TD><strong>Quantity</strong></TD>
+                <TD><strong><INPUT type="text" name="quantity"></strong></TD>
+            </TR>
+            <TR>
+                <TD><strong>Model</strong></TD>
+                <TD>
+                    <strong>
+                        <SELECT name="model">
+                            <OPTION value="101">Type 1</OPTION>
+                            <OPTION value="102">Type 2</OPTION>
+                            <OPTION value="103">Type 3</OPTION>
+                            <OPTION value="104">Type 4</OPTION>
+                            <OPTION value="105">Type 5</OPTION>
+                            <OPTION value="106">Type 6</OPTION>
+                            <OPTION value="107">Type 7</OPTION>
+                        </SELECT>
+                    </strong>
+                </TD>
+            </TR>
+        </TABLE>
+        <BR><BR>
+        <INPUT type="submit" value="Order">
+        <INPUT type="reset" value="Cancel">
+    </FORM>
+</div>
+</BODY>
+</HTML>
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/order.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/order.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/jms-mdb-war/src/main/webapp/order.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/samples/trunk/samples/jms-mdb/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jms-mdb/pom.xml?rev=677701&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/jms-mdb/pom.xml (added)
+++ geronimo/samples/trunk/samples/jms-mdb/pom.xml Thu Jul 17 12:48:20 2008
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>samples</artifactId>
+        <version>2.2-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>jms-mdb</artifactId>
+    <name>Geronimo Samples :: jms-mdb</name>
+    <packaging>pom</packaging>
+
+    <description>
+        Geronimo jms-mdb sample created from an archetype.
+    </description>
+
+    <modules>
+        <module>jms-mdb-ejb</module>
+        <module>jms-mdb-war</module>
+        <module>jms-mdb-ear</module>
+        <module>jms-mdb-jetty</module>
+        <module>jms-mdb-tomcat</module>
+    </modules>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.0_spec</artifactId>
+            <version>1.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>
+</project>

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

Propchange: geronimo/samples/trunk/samples/jms-mdb/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/jms-mdb/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/samples/trunk/samples/jsp-examples/jsp-examples-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/jsp-examples/jsp-examples-war/pom.xml?rev=677701&r1=677700&r2=677701&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/jsp-examples/jsp-examples-war/pom.xml (original)
+++ geronimo/samples/trunk/samples/jsp-examples/jsp-examples-war/pom.xml Thu Jul 17 12:48:20 2008
@@ -32,4 +32,107 @@
     <name>Geronimo Samples :: JSP Examples WAR</name>
     <packaging>war</packaging>
 
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>test-resources</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <!-- Add sources for examples -->
+                                <echo>Generating view source html files based on .java and .jsp files</echo>
+                                <property name="plugin_classpath" refid="maven.plugin.classpath"/>
+                                <echo message="plugin classpath:  ${plugin_classpath}"/>
+                                <taskdef    name="txt2html"
+                                       classname="org.apache.geronimo.samples.buildutil.Txt2Html"
+                                       classpath="${plugin_classpath}" />
+                                <txt2html todir="src/main/webapp/jsp2/simpletag">
+                                    <fileset dir="src/main/java/jsp2/examples">
+                                        <include name="BookBean.java"/>
+                                    </fileset>
+                                    <fileset dir="src/main/java/jsp2/examples/simpletag">
+                                        <include name="FindBookSimpleTag.java"/>
+                                        <include name="RepeatSimpleTag.java"/>
+                                        <include name="HelloWorldSimpleTag.java"/>
+                                    </fileset>
+                                    <fileset dir="src/main/java/jsp2/examples/el">
+                                        <include name="Functions.java"/>
+                                    </fileset>
+                                </txt2html>
+    
+
+                                <txt2html todir="src/main/webapp/jsp2/jspattribute">
+                                    <fileset dir="src/main/java/jsp2/examples">
+                                        <include name="FooBean.java"/>
+                                    </fileset>
+                                    <fileset dir="src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag">
+                                        <include name="ShuffleSimpleTag.java"/>
+                                        <include name="TileSimpleTag.java"/>
+                                        <include name="HelloWorldSimpleTag.java"/>
+                                    </fileset>
+                                </txt2html>
+    
+
+                                <txt2html todir="src/main/webapp/cal">
+                                    <fileset dir="src/main/webapp/WEB-INF/classes/cal">
+                                        <include name="Entries.java"/>
+                                        <include name="Entry.java"/>
+                                        <include name="JspCalendar.java"/>
+                                        <include name="TableBean.java"/>
+                                    </fileset>
+                                </txt2html>
+    
+
+                                <txt2html todir="src/main/webapp/jsptoserv">
+                                    <fileset dir="src/main/webapp/WEB-INF/classes">
+                                        <include name="servletToJsp.java"/>
+                                    </fileset>
+                                </txt2html>
+                  
+
+                                <txt2html todir="src/main/webapp/jsp2/misc">
+                                    <fileset dir="src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag">
+                                        <include name="EchoAttributesTag.java"/>
+                                    </fileset>
+                                </txt2html>
+    
+
+                                <txt2html todir="src/main/webapp/jsp2/tagfiles">
+                                    <fileset dir="src/main/webapp/WEB-INF/tags">
+                                        <include name="**/*.tag" />
+                                    </fileset>
+                                </txt2html>
+    
+
+                                <txt2html todir="src/main/webapp">
+                                    <fileset dir="src/main/webapp">
+                                        <include name="**/*.jsp" />
+                                        <include name="**/*.jspx" />
+                                        <include name="**/*.jspf" />
+                                        <exclude name="error/errorpge.jsp"/>
+                                        <exclude name="forward/one.jsp"/>
+                                        <exclude name="include/foo.jsp"/>
+                                        <exclude name="jsptoserv/hello.jsp"/>
+                                        <exclude name="security/protected/error.jsp"/>
+                                        <exclude name="security/protected/index.jsp"/>
+                                        <exclude name="security/protected/login.jsp"/>
+                                        <exclude name="source.jsp"/>
+                                    </fileset>
+                                </txt2html>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

Modified: geronimo/samples/trunk/samples/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/pom.xml?rev=677701&r1=677700&r2=677701&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/pom.xml (original)
+++ geronimo/samples/trunk/samples/pom.xml Thu Jul 17 12:48:20 2008
@@ -51,16 +51,16 @@
 
     <modules>
         <module>sample-datasource</module>
-        <module>customer-service</module>
+        <module>customer</module>
         <!--
                 <module>async-http</module>
         -->
         <module>bank</module>
-        <module>calculator-stateless-pojo</module>
+        <module>calculator</module>
         <module>dbtester</module>
         <module>inventory</module>
         <module>jaxws-calculator</module>
-        <module>jms-mdb-sample</module>
+        <module>jms-mdb</module>
         <module>ldap-sample-app</module>
         <module>myphonebook</module>
         <module>mytime</module>
@@ -155,6 +155,17 @@
                         </archive>
                     </configuration>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-antrun-plugin</artifactId>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.geronimo.samples</groupId>
+                            <artifactId>buildutil</artifactId>
+                            <version>${version}</version>
+                        </dependency>
+                    </dependencies>
+                </plugin>
             </plugins>
         </pluginManagement>
 



Mime
View raw message