geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r721253 - in /geronimo/plugins/tuscany/trunk: ./ samples/ samples/helloworld-mdb-ejb/ samples/helloworld-mdb-ejb/src/ samples/helloworld-mdb-ejb/src/main/ samples/helloworld-mdb-ejb/src/main/java/ samples/helloworld-mdb-ejb/src/main/java/sa...
Date Thu, 27 Nov 2008 18:24:07 GMT
Author: vamsic007
Date: Thu Nov 27 10:24:05 2008
New Revision: 721253

URL: http://svn.apache.org/viewvc?rev=721253&view=rev
Log:
Adding Helloworld MDB EJB and Helloworld MDB Web samples.

Added:
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/pom.xml   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/Helloworld.java   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/HelloworldMDB.java   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/ejb-jar.composite   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/openejb-jar.xml   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/pom.xml   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/HelloworldMdbServlet.java   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.composite   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.xml   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/error.jsp   (with props)
    geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/hello.html   (with props)
Modified:
    geronimo/plugins/tuscany/trunk/pom.xml
    geronimo/plugins/tuscany/trunk/samples/pom.xml

Modified: geronimo/plugins/tuscany/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/pom.xml?rev=721253&r1=721252&r2=721253&view=diff
==============================================================================
--- geronimo/plugins/tuscany/trunk/pom.xml (original)
+++ geronimo/plugins/tuscany/trunk/pom.xml Thu Nov 27 10:24:05 2008
@@ -285,6 +285,11 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-annotation_1.0_spec</artifactId>
+                <version>1.1.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-commonj_1.1_spec</artifactId>
                 <version>1.0</version>
             </dependency>
@@ -295,9 +300,14 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-jms_1.1_spec</artifactId>
+                <version>1.1.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-jsp_2.1_spec</artifactId>
                 <version>1.0</version>
-        </dependency>
+            </dependency>
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-servlet_2.5_spec</artifactId>

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/pom.xml?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/pom.xml (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/pom.xml Thu Nov 27 10:24:05 2008
@@ -0,0 +1,62 @@
+<?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.plugins</groupId>
+        <artifactId>tuscany-samples</artifactId>
+        <version>1.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>helloworld-mdb-ejb</artifactId>
+    <name>Geronimo Plugins :: Helloworld MDB EJB Sample</name>
+    <packaging>jar</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-sca-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-ejb_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jms_1.1_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+       <finalName>${artifactId}</finalName>
+    </build>
+</project>

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/Helloworld.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/Helloworld.java?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/Helloworld.java (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/Helloworld.java Thu Nov 27 10:24:05 2008
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package sample;
+
+import org.osoa.sca.annotations.Remotable;
+
+/**
+ * Helloworld SCA service interface.
+ * 
+ * @version $Rev$ $Date$
+ */
+@Remotable
+public interface Helloworld {
+    String sayHello(String name);
+}

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/Helloworld.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/Helloworld.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/Helloworld.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/HelloworldMDB.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/HelloworldMDB.java?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/HelloworldMDB.java (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/HelloworldMDB.java Thu Nov 27 10:24:05 2008
@@ -0,0 +1,162 @@
+/*
+ *  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 sample.ejb3;
+
+import javax.ejb.ActivationConfigProperty;
+import javax.ejb.MessageDriven;
+import javax.jms.JMSException;
+import javax.jms.Message;
+import javax.jms.MessageListener;
+import javax.jms.TextMessage;
+
+import org.osoa.sca.ComponentContext;
+import org.osoa.sca.annotations.ComponentName;
+import org.osoa.sca.annotations.Context;
+import org.osoa.sca.annotations.Property;
+import org.osoa.sca.annotations.Reference;
+
+import sample.Helloworld;
+
+/**
+ * MessageDrivenBean that listens to items on the 'NamesQueue' queue and processes them accordingly.
+ * This bean invokes Helloworld SCA service through injected references.
+ * 
+ * @version $Rev$ $Date$
+ */
+@MessageDriven(activationConfig = {
+                   @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
+                   @ActivationConfigProperty(propertyName="destination", propertyValue="NamesQueue")
+               })
+public class HelloworldMDB implements MessageListener {
+    @Reference
+    protected Helloworld service1;
+    
+    // Reference name specified in the annotation
+    @Reference(name="service2")
+    protected Helloworld ser2;
+    
+    // Reference annotation on setter method
+    private Helloworld ser3;
+    @Reference
+    public void setService3(Helloworld service3) {
+        this.ser3 = service3;
+    }
+    
+    /* Test for required */
+    @Reference(required=false)
+    protected Helloworld service4;
+    
+    @Reference(required=false)
+    protected Helloworld service5;
+    
+    @Reference(required=true)
+    protected Helloworld service6;
+
+    @Property
+    protected String property1;
+    
+    // Property name specified in the annotation
+    @Property(name="property2")
+    protected int prop2;
+    
+    // Property annotation on setter method
+    private double prop3;
+    @Property
+    public void setProperty3(double property3) {
+        this.prop3 = property3;
+    }
+    
+    /* Test for required */
+    @Property(required=false)
+    protected String property4;
+
+    @Property(required=false)
+    protected String property5;
+
+    @Property(required=true)
+    protected String property6;
+    
+    @ComponentName
+    protected String scaComponentName;
+
+    // Annotation on setter method
+    private String scaComponentName1;
+    @ComponentName
+    public void setScaComponentName1(String scaComponentName1) {
+        this.scaComponentName1 = scaComponentName1;
+    }
+    
+    @Context
+    protected ComponentContext componentContext;
+
+    // Annotation on setter method
+    private ComponentContext componentContext1;
+    @Context
+    public void setCompContext(ComponentContext ctx) {
+        componentContext1 = ctx;
+    }
+	
+	/*
+     * Process a message.
+     * 
+     * @param message The message to process. 
+     */
+    public void onMessage(Message message) {
+        TextMessage textMessage = (TextMessage) message;
+        try {
+            System.out.println(scaComponentName+": Name Received: "+ textMessage.getText());
+            processMessage(textMessage.getText());
+        } catch ( JMSException e ) {
+            e.printStackTrace();
+        }
+    }
+    
+	private void processMessage(String name) {
+        String greeting = service1.sayHello(name);
+        String greeting2 = ser2.sayHello(name);
+        String greeting3 = ser3.sayHello(name);
+        
+        System.out.println("@Reference");
+        System.out.println("Injected into field. Result: " + greeting);
+        System.out.println("Injected into field with reference name specified in the annotation. Result: " + greeting2);
+        System.out.println("Injected using setter method. Result: " + greeting3);
+        System.out.println("Required is false. Reference is not specified. "+service4);
+        System.out.println("Required is false. Reference is specified. "+service5);
+        System.out.println("Required is true. Reference is specified. "+service6);
+        System.out.println("--------");
+        
+        System.out.println("@Property");
+        System.out.println("Injected into field: property1 = "+property1);
+        System.out.println("Injected into field with property name specified in the annotation: property2 = "+prop2);
+        System.out.println("Injected using setter method: Property3 = "+prop3);
+        System.out.println("Required is false. Property is not specified. "+property4);
+        System.out.println("Required is false. Property is specified. "+property5);
+        System.out.println("Required is true. Property is specified. "+property6);
+        System.out.println("--------");
+        
+        System.out.println("@ComponentName");
+        System.out.println("Injected into annotated field: "+scaComponentName);
+        System.out.println("Injected using annotated method: "+scaComponentName1);
+        System.out.println("--------");
+
+        System.out.println("@Context");
+        System.out.println("Injected into annotated field: "+componentContext);
+        System.out.println("Injected using annotated method: "+componentContext1);
+        System.out.println("--------");
+	}
+    
+}

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/HelloworldMDB.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/HelloworldMDB.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/java/sample/ejb3/HelloworldMDB.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/ejb-jar.composite
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/ejb-jar.composite?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/ejb-jar.composite (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/ejb-jar.composite Thu Nov 27 10:24:05 2008
@@ -0,0 +1,47 @@
+<?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$ -->
+
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+           targetNamespace="http://sample"
+           xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+           name="helloworld-mdb-ejb">
+
+    <component name="HelloworldMdbComponent">
+        <implementation.ejb ejb-link="HelloworldMDB"/>
+
+        <reference name="service1" target="HelloworldComponent" />
+        <reference name="service2" target="HelloworldTeluguComponent" />
+        <reference name="Service3" target="HelloworldFrenchComponent" />
+        <!-- <reference name="service4" target="HelloworldComponent"/> -->
+        <reference name="service5" target="HelloworldComponent"/>
+        <reference name="service6" target="HelloworldComponent"/>
+
+        <property name="property1" type="xsd:string">Prop1</property>
+        <property name="property2" type="xsd:int">7</property>
+        <property name="Property3" type="xsd:double">0.7</property>
+        <!-- <property name="property4" type="xsd:string">Prop4</property> -->
+        <property name="property5" type="xsd:string">Prop5</property>
+        <property name="property6" type="xsd:string">Prop6</property>
+    </component>
+</composite>
+
+

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/ejb-jar.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/ejb-jar.composite
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/ejb-jar.composite
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/openejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/openejb-jar.xml?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/openejb-jar.xml (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/openejb-jar.xml Thu Nov 27 10:24:05 2008
@@ -0,0 +1,54 @@
+<?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$ -->
+
+<openejb-jar 
+	xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.2"
+	xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2" 
+	xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" 
+	xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"
+	xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+	<sys:environment>
+		<sys:moduleId>			
+			<sys:groupId>test</sys:groupId>
+			<sys:artifactId>helloworld-mdb-ejb</sys:artifactId>
+			<sys:version>1.0</sys:version>
+			<sys:type>jar</sys:type>
+		</sys:moduleId>
+		<sys:dependencies>
+		<sys:dependency>
+			<sys:groupId>test</sys:groupId>
+			<sys:artifactId>jms-resources</sys:artifactId>
+			<sys:type>rar</sys:type>
+		</sys:dependency>
+		</sys:dependencies>
+		<sys:hidden-classes/>
+		<sys:non-overridable-classes/>
+	</sys:environment>
+	<enterprise-beans>
+		<message-driven>
+			<ejb-name>HelloworldMDB</ejb-name>
+			<resource-adapter>
+				<resource-link>jms-resources</resource-link>
+			</resource-adapter>
+		</message-driven>
+	</enterprise-beans>
+</openejb-jar>

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

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-ejb/src/main/resources/META-INF/openejb-jar.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/pom.xml?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/pom.xml (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/pom.xml Thu Nov 27 10:24:05 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.plugins</groupId>
+        <artifactId>tuscany-samples</artifactId>
+        <version>1.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>helloworld-mdb-web</artifactId>
+    <name>Geronimo Plugins :: Helloworld MDB Web Sample</name>
+    <packaging>war</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-ejb_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jms_1.1_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-servlet_2.5_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+            </plugin>
+        </plugins>
+       <finalName>${artifactId}</finalName>
+    </build>
+</project>

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/HelloworldMdbServlet.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/HelloworldMdbServlet.java?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/HelloworldMdbServlet.java (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/HelloworldMdbServlet.java Thu Nov 27 10:24:05 2008
@@ -0,0 +1,99 @@
+/*
+ *  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 sample;
+
+import java.io.IOException;
+
+import javax.annotation.Resource;
+import javax.jms.ConnectionFactory;
+import javax.jms.Queue;
+import javax.jms.Connection;
+import javax.jms.Session;
+import javax.jms.MessageProducer;
+import javax.jms.TextMessage;
+import javax.jms.JMSException;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @Version $Rev$ $Date$
+ */
+public class HelloworldMdbServlet extends HttpServlet {
+	private static final long serialVersionUID = 5617533150460279911L;
+
+	@Resource(name="NamesConnectionFactory")
+    private ConnectionFactory factory;
+
+    @Resource(name="NamesQueue")
+    private Queue namesQueue;
+
+    @Override
+    public void init() throws ServletException {
+        super.init();       
+    }
+
+    @Override
+    protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
+        processName(req,res);
+    }
+
+    @Override
+    protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
+        doGet(req,res);
+    }
+
+    private void processName(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
+        String path = "/error.jsp";
+        Connection connection = null;
+        MessageProducer messageProducer = null;
+        Session sess = null;
+        try {
+            String name = req.getParameter("name");
+            if ( name != null && !name.equals("") ) {
+                System.out.println("Sending name "+name+" to JMS queue.");
+                path = "/hello.html";
+
+                connection = factory.createConnection();
+                sess = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);   
+                TextMessage msg = sess.createTextMessage(name);
+                messageProducer = sess.createProducer(namesQueue);
+                messageProducer.send(msg);
+                System.out.println("Name "+name+" sent to JMS queue");
+            }
+            else {
+                req.setAttribute("error", "Enter a name.");
+            }
+        }
+        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/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/HelloworldMdbServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/HelloworldMdbServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/java/sample/HelloworldMdbServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/geronimo-web.xml?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/geronimo-web.xml Thu Nov 27 10:24:05 2008
@@ -0,0 +1,49 @@
+<?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 xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
+    <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
+        <dep:moduleId>
+            <dep:groupId>test</dep:groupId>
+            <dep:artifactId>helloworld-mdb-web</dep:artifactId>
+            <dep:version>1.0</dep:version>
+            <dep:type>war</dep:type>
+        </dep:moduleId>
+        <dep:dependencies>
+            <dep:dependency>
+                <dep:groupId>test</dep:groupId>
+                <dep:artifactId>jms-resources</dep:artifactId>
+                <dep:type>rar</dep:type>
+            </dep:dependency>
+        </dep:dependencies>
+    </dep:environment>
+    <context-root>helloworld-mdb-web</context-root>
+    <nam:resource-ref xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
+        <nam:ref-name>NamesConnectionFactory</nam:ref-name>
+        <nam:pattern>
+            <nam:groupId>test</nam:groupId>
+            <nam:artifactId>jms-resources</nam:artifactId>
+            <nam:version>1.0</nam:version>
+            <nam:name>NamesConnectionFactory</nam:name>
+        </nam:pattern>
+    </nam:resource-ref>
+</web-app>
\ No newline at end of file

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

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

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

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.composite
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.composite?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.composite (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.composite Thu Nov 27 10:24:05 2008
@@ -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.    
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+           targetNamespace="http://sample"
+           xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+           name="helloworld-mdb-web">
+
+    <component name="HelloworldMdbWebComponent">
+        <implementation.web web-uri="helloworld-mdb-web.war"/>
+    </component>
+</composite>
+
+

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.composite
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.composite
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.xml?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/WEB-INF/web.xml Thu Nov 27 10:24:05 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>Helloworld MDB Web sample</description>
+    <servlet>
+        <servlet-name>HelloworldMdbServlet</servlet-name>
+        <servlet-class>sample.HelloworldMdbServlet</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>HelloworldMdbServlet</servlet-name>
+        <url-pattern>/HelloworldMdbServlet</url-pattern>
+    </servlet-mapping>
+    <resource-ref>
+        <res-ref-name>NamesConnectionFactory</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>NamesQueue</message-destination-ref-name>
+        <message-destination-type>javax.jms.Queue</message-destination-type>
+        <message-destination-usage>Produces</message-destination-usage>
+        <message-destination-link>NamesQueue</message-destination-link>
+    </message-destination-ref>
+    <welcome-file-list>
+        <welcome-file>hello.html</welcome-file>
+    </welcome-file-list>
+</web-app>

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

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

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

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/error.jsp
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/error.jsp?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/error.jsp (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/error.jsp Thu Nov 27 10:24:05 2008
@@ -0,0 +1,33 @@
+<!--
+  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$ -->
+
+<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="../helloworld-mdb-web/">Home</a>
+	</div>
+</BODY>
+</HTML>
\ No newline at end of file

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/error.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/error.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/error.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/hello.html
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/hello.html?rev=721253&view=auto
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/hello.html (added)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/hello.html Thu Nov 27 10:24:05 2008
@@ -0,0 +1,53 @@
+<!--
+ * 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$ -->
+
+<html>
+
+<head>
+<title>Apache Tuscany Helloworld MDB Web Sample</title>
+</head>
+
+<body>
+
+<h2>Apache Tuscany Helloworld MDB Web Sample</h2>
+
+This web page posts the data to <b>HelloworldMdbServlet</b>. The servlet puts the name as a message in
+a JMS queue named <b>NamesQueue</b> which activates the <b>HelloworldMDB</b>.  The MDB in turn invokes <b>Helloworld</b> SCA service through proxies injected into EJB fields.
+
+<br/><br/>
+
+<form action="HelloworldMdbServlet" method="post">
+    <table>
+        <tr>
+            <td>Enter your name:</td>
+            <td>
+                <input type="text" name="name" width="10">
+            </td>
+        </tr>
+        <tr>
+            <td align="left" colspan="2">
+                <button name="submit" type="submit">Send to NamesQueue</button>
+            </td>
+        </tr>
+    </table>
+</form>
+</body>
+</html>

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/hello.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/hello.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/plugins/tuscany/trunk/samples/helloworld-mdb-web/src/main/webapp/hello.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Modified: geronimo/plugins/tuscany/trunk/samples/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/pom.xml?rev=721253&r1=721252&r2=721253&view=diff
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/pom.xml (original)
+++ geronimo/plugins/tuscany/trunk/samples/pom.xml Thu Nov 27 10:24:05 2008
@@ -45,6 +45,8 @@
                 <module>helloworld-servlet</module>
                 <module>helloworld-ejb</module>
                 <module>helloworld-web</module>
+                <module>helloworld-mdb-ejb</module>
+                <module>helloworld-mdb-web</module>
             </modules>
         </profile>
     </profiles>



Mime
View raw message