You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2006/12/28 12:27:48 UTC

svn commit: r490698 - in /incubator/openejb/trunk/openejb3/examples: embedded-remotable/ pom.xml telephone-stateful/ telephone-stateful/pom.xml telephone-stateful/src/test/java/org/apache/openejb/examples/telephone/TelephoneTest.java

Author: dblevins
Date: Thu Dec 28 03:27:43 2006
New Revision: 490698

URL: http://svn.apache.org/viewvc?view=rev&rev=490698
Log:
Renamed the embedded-remotable example and added it to the examples pom

Added:
    incubator/openejb/trunk/openejb3/examples/telephone-stateful/
      - copied from r490697, incubator/openejb/trunk/openejb3/examples/embedded-remotable/
Removed:
    incubator/openejb/trunk/openejb3/examples/embedded-remotable/
Modified:
    incubator/openejb/trunk/openejb3/examples/pom.xml
    incubator/openejb/trunk/openejb3/examples/telephone-stateful/pom.xml
    incubator/openejb/trunk/openejb3/examples/telephone-stateful/src/test/java/org/apache/openejb/examples/telephone/TelephoneTest.java

Modified: incubator/openejb/trunk/openejb3/examples/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/examples/pom.xml?view=diff&rev=490698&r1=490697&r2=490698
==============================================================================
--- incubator/openejb/trunk/openejb3/examples/pom.xml (original)
+++ incubator/openejb/trunk/openejb3/examples/pom.xml Thu Dec 28 03:27:43 2006
@@ -35,5 +35,6 @@
     <module>calculator-stateless-pojo</module>
     <module>counter-stateful-pojo</module>    
     <module>ejb-injection</module>       
+    <module>telephone-stateful</module>       
   </modules>  
 </project>

Modified: incubator/openejb/trunk/openejb3/examples/telephone-stateful/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/examples/telephone-stateful/pom.xml?view=diff&rev=490698&r1=490697&r2=490698
==============================================================================
--- incubator/openejb/trunk/openejb3/examples/telephone-stateful/pom.xml (original)
+++ incubator/openejb/trunk/openejb3/examples/telephone-stateful/pom.xml Thu Dec 28 03:27:43 2006
@@ -20,10 +20,10 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.openejb</groupId>
-  <artifactId>embedded-remotable</artifactId>
+  <artifactId>telephone-stateful</artifactId>
   <packaging>jar</packaging>
   <version>1.0-SNAPSHOT</version>
-  <name>OpenEJB :: Examples :: Calculator Stateless Pojo</name>
+  <name>OpenEJB :: Examples :: Telephone Stateful Pojo</name>
   <build>
     <defaultGoal>install</defaultGoal>
     <plugins>

Modified: incubator/openejb/trunk/openejb3/examples/telephone-stateful/src/test/java/org/apache/openejb/examples/telephone/TelephoneTest.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/examples/telephone-stateful/src/test/java/org/apache/openejb/examples/telephone/TelephoneTest.java?view=diff&rev=490698&r1=490697&r2=490698
==============================================================================
--- incubator/openejb/trunk/openejb3/examples/telephone-stateful/src/test/java/org/apache/openejb/examples/telephone/TelephoneTest.java (original)
+++ incubator/openejb/trunk/openejb3/examples/telephone-stateful/src/test/java/org/apache/openejb/examples/telephone/TelephoneTest.java Thu Dec 28 03:27:43 2006
@@ -30,7 +30,7 @@
     protected void setUp() throws Exception {
         Properties properties = new Properties();
         properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-        properties.setProperty("openejb.deployments.classpath.include", ".*remotable.*");
+        properties.setProperty("openejb.deployments.classpath.include", ".*telephone.*");
         properties.setProperty("openejb.embedded.remotable", "true");
 
         // We really don't need to keep this, though it's fine and even encouraged to do so
@@ -41,7 +41,7 @@
     }
 
     /**
-     * Lookup the Calculator bean via its remote home interface
+     * Lookup the Telephone bean via its remote interface but using the LocalInitialContextFactory
      *
      * @throws Exception
      */
@@ -75,7 +75,7 @@
     }
 
     /**
-     * Lookup the Calculator bean via its local home interface
+     * Lookup the Telephone bean via its remote interface using the RemoteInitialContextFactory 
      *
      * @throws Exception
      */