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 2011/10/30 04:44:35 UTC

svn commit: r1195109 [9/18] - in /openejb/trunk/openejb/examples: access-timeout/ application-composer/ applicationexception/ async-methods/ bean-validation-design-by-contract/ cdi-basic/ cdi-interceptors/ cdi-produces-disposes/ component-interfaces/ c...

Modified: openejb/trunk/openejb/examples/schedule-methods-meta/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/schedule-methods-meta/README.md?rev=1195109&r1=1195108&r2=1195109&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/schedule-methods-meta/README.md (original)
+++ openejb/trunk/openejb/examples/schedule-methods-meta/README.md Sun Oct 30 03:44:33 2011
@@ -1,94 +1,9 @@
-[INFO] Scanning for projects...
-[INFO]                                                                         
-[INFO] ------------------------------------------------------------------------
-[INFO] Building OpenEJB :: Examples :: @Schedule Methods (Meta) 1.0
-[INFO] ------------------------------------------------------------------------
-[INFO] 
-[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ schedule-methods-meta ---
-[INFO] Deleting /Users/dblevins/examples/schedule-methods-meta/target
-[INFO] 
-[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ schedule-methods-meta ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] skip non existing resourceDirectory /Users/dblevins/examples/schedule-methods-meta/src/main/resources
-[INFO] 
-[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ schedule-methods-meta ---
-[INFO] Compiling 10 source files to /Users/dblevins/examples/schedule-methods-meta/target/classes
-[INFO] 
-[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ schedule-methods-meta ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] skip non existing resourceDirectory /Users/dblevins/examples/schedule-methods-meta/src/test/resources
-[INFO] 
-[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ schedule-methods-meta ---
-[INFO] Compiling 1 source file to /Users/dblevins/examples/schedule-methods-meta/target/test-classes
-[INFO] 
-[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ schedule-methods-meta ---
-[INFO] Surefire report directory: /Users/dblevins/examples/schedule-methods-meta/target/surefire-reports
-
--------------------------------------------------------
- T E S T S
--------------------------------------------------------
-Running org.superbiz.corn.meta.FarmerBrownTest
-Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
-http://openejb.apache.org/
-INFO - openejb.home = /Users/dblevins/examples/schedule-methods-meta
-INFO - openejb.base = /Users/dblevins/examples/schedule-methods-meta
-INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
-INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
-INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
-INFO - Found EjbModule in classpath: /Users/dblevins/examples/schedule-methods-meta/target/classes
-INFO - Beginning load: /Users/dblevins/examples/schedule-methods-meta/target/classes
-INFO - Configuring enterprise application: /Users/dblevins/examples/schedule-methods-meta
-INFO - Configuring Service(id=Default Singleton Container, type=Container, provider-id=Default Singleton Container)
-INFO - Auto-creating a container for bean FarmerBrown: Container(type=SINGLETON, id=Default Singleton Container)
-INFO - Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
-INFO - Auto-creating a container for bean org.superbiz.corn.meta.FarmerBrownTest: Container(type=MANAGED, id=Default Managed Container)
-INFO - Enterprise application "/Users/dblevins/examples/schedule-methods-meta" loaded.
-INFO - Assembling app: /Users/dblevins/examples/schedule-methods-meta
-INFO - Jndi(name="java:global/schedule-methods-meta/FarmerBrown!org.superbiz.corn.meta.FarmerBrown")
-INFO - Jndi(name="java:global/schedule-methods-meta/FarmerBrown")
-INFO - Jndi(name="java:global/EjbModule881708381/org.superbiz.corn.meta.FarmerBrownTest!org.superbiz.corn.meta.FarmerBrownTest")
-INFO - Jndi(name="java:global/EjbModule881708381/org.superbiz.corn.meta.FarmerBrownTest")
-INFO - Created Ejb(deployment-id=org.superbiz.corn.meta.FarmerBrownTest, ejb-name=org.superbiz.corn.meta.FarmerBrownTest, container=Default Managed Container)
-INFO - Created Ejb(deployment-id=FarmerBrown, ejb-name=FarmerBrown, container=Default Singleton Container)
-INFO - Started Ejb(deployment-id=org.superbiz.corn.meta.FarmerBrownTest, ejb-name=org.superbiz.corn.meta.FarmerBrownTest, container=Default Managed Container)
-INFO - Started Ejb(deployment-id=FarmerBrown, ejb-name=FarmerBrown, container=Default Singleton Container)
-INFO - Deployed Application(path=/Users/dblevins/examples/schedule-methods-meta)
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.135 sec
-
-Results :
-
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
-[INFO] 
-[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ schedule-methods-meta ---
-[INFO] Building jar: /Users/dblevins/examples/schedule-methods-meta/target/schedule-methods-meta-1.0.jar
-[INFO] 
-[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ schedule-methods-meta ---
-[INFO] Installing /Users/dblevins/examples/schedule-methods-meta/target/schedule-methods-meta-1.0.jar to /Users/dblevins/.m2/repository/org/superbiz/schedule-methods-meta/1.0/schedule-methods-meta-1.0.jar
-[INFO] Installing /Users/dblevins/examples/schedule-methods-meta/pom.xml to /Users/dblevins/.m2/repository/org/superbiz/schedule-methods-meta/1.0/schedule-methods-meta-1.0.pom
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD SUCCESS
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 9.070s
-[INFO] Finished at: Fri Oct 28 17:06:54 PDT 2011
-[INFO] Final Memory: 14M/81M
-[INFO] ------------------------------------------------------------------------
-    /**
-     * 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.
-     */
+Title: Schedule Methods Meta
+
+*Help us document this example! Source available in [svn](http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/schedule-methods-meta) or [git](https://github.com/apache/openejb/tree/trunk/openejb/examples/schedule-methods-meta). Open a [JIRA](https://issues.apache.org/jira/browse/TOMEE) with patch or pull request*
+
+## BiAnnually
+
     package org.superbiz.corn.meta.api;
     
     import javax.ejb.Schedule;
@@ -108,22 +23,10 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             @Schedule(second = "0", minute = "0", hour = "0", dayOfMonth = "1", month = "1,6")
             public void method();
         }
-    }/**
-     * 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.
-     */
+    }
+
+## BiMonthly
+
     package org.superbiz.corn.meta.api;
     
     import javax.ejb.Schedule;
@@ -143,22 +46,10 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             @Schedule(second = "0", minute = "0", hour = "0", dayOfMonth = "1,15")
             public void method();
         }
-    }/**
-     * 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.
-     */
+    }
+
+## Daily
+
     package org.superbiz.corn.meta.api;
     
     import javax.ejb.Schedule;
@@ -178,22 +69,10 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             @Schedule(second = "0", minute = "0", hour = "0", dayOfMonth = "*")
             public void method();
         }
-    }/**
-     * 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.
-     */
+    }
+
+## HarvestTime
+
     package org.superbiz.corn.meta.api;
     
     import javax.ejb.Schedule;
@@ -217,22 +96,10 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             })
             public void method();
         }
-    }/**
-     * 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.
-     */
+    }
+
+## Hourly
+
     package org.superbiz.corn.meta.api;
     
     import javax.ejb.Schedule;
@@ -252,22 +119,10 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             @Schedule(second = "0", minute = "0", hour = "*")
             public void method();
         }
-    }/**
-     * 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.
-     */
+    }
+
+## Metatype
+
     package org.superbiz.corn.meta.api;
     
     import java.lang.annotation.ElementType;
@@ -280,29 +135,14 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
     @Retention(RetentionPolicy.RUNTIME)
     public @interface Metatype {
     }
-    /*
-     * 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.
-     */
+
+## Organic
+
     package org.superbiz.corn.meta.api;
     
     import javax.ejb.Lock;
     import javax.ejb.LockType;
     import javax.ejb.Singleton;
-    import javax.ejb.TransactionAttribute;
-    import javax.ejb.TransactionAttributeType;
     import java.lang.annotation.ElementType;
     import java.lang.annotation.Retention;
     import java.lang.annotation.RetentionPolicy;
@@ -316,22 +156,9 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
     @Lock(LockType.READ)
     public @interface Organic {
     }
-    /**
-     * 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.
-     */
+
+## PlantingTime
+
     package org.superbiz.corn.meta.api;
     
     import javax.ejb.Schedule;
@@ -356,26 +183,12 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             public void method();
         }
     }
-    /**
-     * 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.
-     */
+
+## Secondly
+
     package org.superbiz.corn.meta.api;
     
     import javax.ejb.Schedule;
-    import javax.ejb.Schedules;
     import java.lang.annotation.ElementType;
     import java.lang.annotation.Retention;
     import java.lang.annotation.RetentionPolicy;
@@ -392,22 +205,10 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             @Schedule(second = "*", minute = "*", hour = "*")
             public void method();
         }
-    }/**
-     * 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.
-     */
+    }
+
+## FarmerBrown
+
     package org.superbiz.corn.meta;
     
     import org.superbiz.corn.meta.api.HarvestTime;
@@ -446,22 +247,9 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             return checks.get();
         }
     }
-    /**
-     * 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.
-     */
+
+## FarmerBrownTest
+
     package org.superbiz.corn.meta;
     
     import junit.framework.TestCase;
@@ -488,3 +276,42 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             assertTrue(farmerBrown.getChecks() > 4);
         }
     }
+
+# Running
+
+    
+    -------------------------------------------------------
+     T E S T S
+    -------------------------------------------------------
+    Running org.superbiz.corn.meta.FarmerBrownTest
+    Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
+    http://openejb.apache.org/
+    INFO - openejb.home = /Users/dblevins/examples/schedule-methods-meta
+    INFO - openejb.base = /Users/dblevins/examples/schedule-methods-meta
+    INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
+    INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
+    INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
+    INFO - Found EjbModule in classpath: /Users/dblevins/examples/schedule-methods-meta/target/classes
+    INFO - Beginning load: /Users/dblevins/examples/schedule-methods-meta/target/classes
+    INFO - Configuring enterprise application: /Users/dblevins/examples/schedule-methods-meta
+    INFO - Configuring Service(id=Default Singleton Container, type=Container, provider-id=Default Singleton Container)
+    INFO - Auto-creating a container for bean FarmerBrown: Container(type=SINGLETON, id=Default Singleton Container)
+    INFO - Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
+    INFO - Auto-creating a container for bean org.superbiz.corn.meta.FarmerBrownTest: Container(type=MANAGED, id=Default Managed Container)
+    INFO - Enterprise application "/Users/dblevins/examples/schedule-methods-meta" loaded.
+    INFO - Assembling app: /Users/dblevins/examples/schedule-methods-meta
+    INFO - Jndi(name="java:global/schedule-methods-meta/FarmerBrown!org.superbiz.corn.meta.FarmerBrown")
+    INFO - Jndi(name="java:global/schedule-methods-meta/FarmerBrown")
+    INFO - Jndi(name="java:global/EjbModule1809441479/org.superbiz.corn.meta.FarmerBrownTest!org.superbiz.corn.meta.FarmerBrownTest")
+    INFO - Jndi(name="java:global/EjbModule1809441479/org.superbiz.corn.meta.FarmerBrownTest")
+    INFO - Created Ejb(deployment-id=org.superbiz.corn.meta.FarmerBrownTest, ejb-name=org.superbiz.corn.meta.FarmerBrownTest, container=Default Managed Container)
+    INFO - Created Ejb(deployment-id=FarmerBrown, ejb-name=FarmerBrown, container=Default Singleton Container)
+    INFO - Started Ejb(deployment-id=org.superbiz.corn.meta.FarmerBrownTest, ejb-name=org.superbiz.corn.meta.FarmerBrownTest, container=Default Managed Container)
+    INFO - Started Ejb(deployment-id=FarmerBrown, ejb-name=FarmerBrown, container=Default Singleton Container)
+    INFO - Deployed Application(path=/Users/dblevins/examples/schedule-methods-meta)
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.166 sec
+    
+    Results :
+    
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
+    

Modified: openejb/trunk/openejb/examples/schedule-methods/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/schedule-methods/README.md?rev=1195109&r1=1195108&r2=1195109&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/schedule-methods/README.md (original)
+++ openejb/trunk/openejb/examples/schedule-methods/README.md Sun Oct 30 03:44:33 2011
@@ -1,94 +1,9 @@
-[INFO] Scanning for projects...
-[INFO]                                                                         
-[INFO] ------------------------------------------------------------------------
-[INFO] Building OpenEJB :: Examples :: @Schedule Methods 1.0
-[INFO] ------------------------------------------------------------------------
-[INFO] 
-[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ schedule-methods ---
-[INFO] Deleting /Users/dblevins/examples/schedule-methods/target
-[INFO] 
-[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ schedule-methods ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] skip non existing resourceDirectory /Users/dblevins/examples/schedule-methods/src/main/resources
-[INFO] 
-[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ schedule-methods ---
-[INFO] Compiling 1 source file to /Users/dblevins/examples/schedule-methods/target/classes
-[INFO] 
-[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ schedule-methods ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] skip non existing resourceDirectory /Users/dblevins/examples/schedule-methods/src/test/resources
-[INFO] 
-[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ schedule-methods ---
-[INFO] Compiling 1 source file to /Users/dblevins/examples/schedule-methods/target/test-classes
-[INFO] 
-[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ schedule-methods ---
-[INFO] Surefire report directory: /Users/dblevins/examples/schedule-methods/target/surefire-reports
-
--------------------------------------------------------
- T E S T S
--------------------------------------------------------
-Running org.superbiz.corn.FarmerBrownTest
-Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
-http://openejb.apache.org/
-INFO - openejb.home = /Users/dblevins/examples/schedule-methods
-INFO - openejb.base = /Users/dblevins/examples/schedule-methods
-INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
-INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
-INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
-INFO - Found EjbModule in classpath: /Users/dblevins/examples/schedule-methods/target/classes
-INFO - Beginning load: /Users/dblevins/examples/schedule-methods/target/classes
-INFO - Configuring enterprise application: /Users/dblevins/examples/schedule-methods
-INFO - Configuring Service(id=Default Singleton Container, type=Container, provider-id=Default Singleton Container)
-INFO - Auto-creating a container for bean FarmerBrown: Container(type=SINGLETON, id=Default Singleton Container)
-INFO - Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
-INFO - Auto-creating a container for bean org.superbiz.corn.FarmerBrownTest: Container(type=MANAGED, id=Default Managed Container)
-INFO - Enterprise application "/Users/dblevins/examples/schedule-methods" loaded.
-INFO - Assembling app: /Users/dblevins/examples/schedule-methods
-INFO - Jndi(name="java:global/schedule-methods/FarmerBrown!org.superbiz.corn.FarmerBrown")
-INFO - Jndi(name="java:global/schedule-methods/FarmerBrown")
-INFO - Jndi(name="java:global/EjbModule2027722598/org.superbiz.corn.FarmerBrownTest!org.superbiz.corn.FarmerBrownTest")
-INFO - Jndi(name="java:global/EjbModule2027722598/org.superbiz.corn.FarmerBrownTest")
-INFO - Created Ejb(deployment-id=org.superbiz.corn.FarmerBrownTest, ejb-name=org.superbiz.corn.FarmerBrownTest, container=Default Managed Container)
-INFO - Created Ejb(deployment-id=FarmerBrown, ejb-name=FarmerBrown, container=Default Singleton Container)
-INFO - Started Ejb(deployment-id=org.superbiz.corn.FarmerBrownTest, ejb-name=org.superbiz.corn.FarmerBrownTest, container=Default Managed Container)
-INFO - Started Ejb(deployment-id=FarmerBrown, ejb-name=FarmerBrown, container=Default Singleton Container)
-INFO - Deployed Application(path=/Users/dblevins/examples/schedule-methods)
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.136 sec
-
-Results :
-
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
-[INFO] 
-[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ schedule-methods ---
-[INFO] Building jar: /Users/dblevins/examples/schedule-methods/target/schedule-methods-1.0.jar
-[INFO] 
-[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ schedule-methods ---
-[INFO] Installing /Users/dblevins/examples/schedule-methods/target/schedule-methods-1.0.jar to /Users/dblevins/.m2/repository/org/superbiz/schedule-methods/1.0/schedule-methods-1.0.jar
-[INFO] Installing /Users/dblevins/examples/schedule-methods/pom.xml to /Users/dblevins/.m2/repository/org/superbiz/schedule-methods/1.0/schedule-methods-1.0.pom
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD SUCCESS
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 9.109s
-[INFO] Finished at: Fri Oct 28 17:01:32 PDT 2011
-[INFO] Final Memory: 14M/81M
-[INFO] ------------------------------------------------------------------------
-    /**
-     * 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.
-     */
+Title: Schedule Methods
+
+*Help us document this example! Source available in [svn](http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/schedule-methods) or [git](https://github.com/apache/openejb/tree/trunk/openejb/examples/schedule-methods). Open a [JIRA](https://issues.apache.org/jira/browse/TOMEE) with patch or pull request*
+
+## FarmerBrown
+
     package org.superbiz.corn;
     
     import javax.ejb.Lock;
@@ -134,22 +49,9 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             return checks.get();
         }
     }
-    /**
-     * 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.
-     */
+
+## FarmerBrownTest
+
     package org.superbiz.corn;
     
     import junit.framework.TestCase;
@@ -176,3 +78,42 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             assertTrue(farmerBrown.getChecks() > 4);
         }
     }
+
+# Running
+
+    
+    -------------------------------------------------------
+     T E S T S
+    -------------------------------------------------------
+    Running org.superbiz.corn.FarmerBrownTest
+    Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
+    http://openejb.apache.org/
+    INFO - openejb.home = /Users/dblevins/examples/schedule-methods
+    INFO - openejb.base = /Users/dblevins/examples/schedule-methods
+    INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
+    INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
+    INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
+    INFO - Found EjbModule in classpath: /Users/dblevins/examples/schedule-methods/target/classes
+    INFO - Beginning load: /Users/dblevins/examples/schedule-methods/target/classes
+    INFO - Configuring enterprise application: /Users/dblevins/examples/schedule-methods
+    INFO - Configuring Service(id=Default Singleton Container, type=Container, provider-id=Default Singleton Container)
+    INFO - Auto-creating a container for bean FarmerBrown: Container(type=SINGLETON, id=Default Singleton Container)
+    INFO - Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
+    INFO - Auto-creating a container for bean org.superbiz.corn.FarmerBrownTest: Container(type=MANAGED, id=Default Managed Container)
+    INFO - Enterprise application "/Users/dblevins/examples/schedule-methods" loaded.
+    INFO - Assembling app: /Users/dblevins/examples/schedule-methods
+    INFO - Jndi(name="java:global/schedule-methods/FarmerBrown!org.superbiz.corn.FarmerBrown")
+    INFO - Jndi(name="java:global/schedule-methods/FarmerBrown")
+    INFO - Jndi(name="java:global/EjbModule660493198/org.superbiz.corn.FarmerBrownTest!org.superbiz.corn.FarmerBrownTest")
+    INFO - Jndi(name="java:global/EjbModule660493198/org.superbiz.corn.FarmerBrownTest")
+    INFO - Created Ejb(deployment-id=org.superbiz.corn.FarmerBrownTest, ejb-name=org.superbiz.corn.FarmerBrownTest, container=Default Managed Container)
+    INFO - Created Ejb(deployment-id=FarmerBrown, ejb-name=FarmerBrown, container=Default Singleton Container)
+    INFO - Started Ejb(deployment-id=org.superbiz.corn.FarmerBrownTest, ejb-name=org.superbiz.corn.FarmerBrownTest, container=Default Managed Container)
+    INFO - Started Ejb(deployment-id=FarmerBrown, ejb-name=FarmerBrown, container=Default Singleton Container)
+    INFO - Deployed Application(path=/Users/dblevins/examples/schedule-methods)
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.121 sec
+    
+    Results :
+    
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
+    

Modified: openejb/trunk/openejb/examples/simple-cmp2/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-cmp2/README.md?rev=1195109&r1=1195108&r2=1195109&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-cmp2/README.md (original)
+++ openejb/trunk/openejb/examples/simple-cmp2/README.md Sun Oct 30 03:44:33 2011
@@ -1,98 +1,9 @@
-[INFO] Scanning for projects...
-[INFO]                                                                         
-[INFO] ------------------------------------------------------------------------
-[INFO] Building OpenEJB :: Examples :: Simple CMP2 Entity 1.0
-[INFO] ------------------------------------------------------------------------
-[INFO] 
-[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ simple-cmp2 ---
-[INFO] Deleting /Users/dblevins/examples/simple-cmp2/target
-[INFO] 
-[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ simple-cmp2 ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 2 resources
-[INFO] 
-[INFO] --- maven-dependency-plugin:2.1:copy (copy) @ simple-cmp2 ---
-[INFO] Configured Artifact: org.apache.openejb:openejb-javaagent:4.0.0-beta-1:jar
-[INFO] Copying openejb-javaagent-4.0.0-beta-1.jar to /Users/dblevins/examples/simple-cmp2/target/openejb-javaagent-4.0.0-beta-1.jar
-[INFO] 
-[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ simple-cmp2 ---
-[INFO] Compiling 3 source files to /Users/dblevins/examples/simple-cmp2/target/classes
-[INFO] 
-[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ simple-cmp2 ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] skip non existing resourceDirectory /Users/dblevins/examples/simple-cmp2/src/test/resources
-[INFO] 
-[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ simple-cmp2 ---
-[INFO] Compiling 1 source file to /Users/dblevins/examples/simple-cmp2/target/test-classes
-[INFO] 
-[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ simple-cmp2 ---
-[INFO] Surefire report directory: /Users/dblevins/examples/simple-cmp2/target/surefire-reports
-
--------------------------------------------------------
- T E S T S
--------------------------------------------------------
-Running org.superbiz.cmp2.MoviesTest
-Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
-http://openejb.apache.org/
-INFO - openejb.home = /Users/dblevins/examples/simple-cmp2/target
-INFO - openejb.base = /Users/dblevins/examples/simple-cmp2/target
-INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
-INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
-INFO - Configuring Service(id=movieDatabaseUnmanaged, type=Resource, provider-id=Default JDBC Database)
-INFO - Configuring Service(id=movieDatabase, type=Resource, provider-id=Default JDBC Database)
-INFO - Found EjbModule in classpath: /Users/dblevins/examples/simple-cmp2/target/classes
-INFO - Beginning load: /Users/dblevins/examples/simple-cmp2/target/classes
-INFO - Configuring enterprise application: /Users/dblevins/examples/simple-cmp2/target/classpath.ear
-INFO - Configuring Service(id=Default CMP Container, type=Container, provider-id=Default CMP Container)
-INFO - Auto-creating a container for bean MovieBean: Container(type=CMP_ENTITY, id=Default CMP Container)
-INFO - Configuring PersistenceUnit(name=cmp)
-INFO - Adjusting PersistenceUnit cmp <jta-data-source> to Resource ID 'movieDatabase' from 'null'
-INFO - Adjusting PersistenceUnit cmp <non-jta-data-source> to Resource ID 'movieDatabaseUnmanaged' from 'null'
-INFO - Enterprise application "/Users/dblevins/examples/simple-cmp2/target/classpath.ear" loaded.
-INFO - Assembling app: /Users/dblevins/examples/simple-cmp2/target/classpath.ear
-INFO - PersistenceUnit(name=cmp, provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider time 165ms
-INFO - Jndi(name=MovieBeanLocalHome) --> Ejb(deployment-id=MovieBean)
-INFO - Jndi(name=global/classpath.ear/simple-cmp2/MovieBean!org.superbiz.cmp2.Movies) --> Ejb(deployment-id=MovieBean)
-INFO - Jndi(name=global/classpath.ear/simple-cmp2/MovieBean) --> Ejb(deployment-id=MovieBean)
-INFO - Created Ejb(deployment-id=MovieBean, ejb-name=MovieBean, container=Default CMP Container)
-INFO - Started Ejb(deployment-id=MovieBean, ejb-name=MovieBean, container=Default CMP Container)
-INFO - Deployed Application(path=/Users/dblevins/examples/simple-cmp2/target/classpath.ear)
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.91 sec
-
-Results :
-
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
-[INFO] 
-[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ simple-cmp2 ---
-[INFO] Building jar: /Users/dblevins/examples/simple-cmp2/target/simple-cmp2-1.0.jar
-[INFO] 
-[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ simple-cmp2 ---
-[INFO] Installing /Users/dblevins/examples/simple-cmp2/target/simple-cmp2-1.0.jar to /Users/dblevins/.m2/repository/org/superbiz/simple-cmp2/1.0/simple-cmp2-1.0.jar
-[INFO] Installing /Users/dblevins/examples/simple-cmp2/pom.xml to /Users/dblevins/.m2/repository/org/superbiz/simple-cmp2/1.0/simple-cmp2-1.0.pom
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD SUCCESS
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 6.010s
-[INFO] Finished at: Fri Oct 28 17:00:05 PDT 2011
-[INFO] Final Memory: 15M/81M
-[INFO] ------------------------------------------------------------------------
-    /**
-     * 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.
-     */
+Title: Simple Cmp2
+
+*Help us document this example! Source available in [svn](http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/simple-cmp2) or [git](https://github.com/apache/openejb/tree/trunk/openejb/examples/simple-cmp2). Open a [JIRA](https://issues.apache.org/jira/browse/TOMEE) with patch or pull request*
+
+## Movie
+
     package org.superbiz.cmp2;
     
     /**
@@ -115,22 +26,9 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
     
         void setYear(int year);
     }
-    /**
-     * 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.
-     */
+
+## MovieBean
+
     package org.superbiz.cmp2;
     
     import javax.ejb.EntityBean;
@@ -163,24 +61,10 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
     
         public abstract void setYear(int year);
     
-    
     }
-    /**
-     * 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.
-     */
+
+## Movies
+
     package org.superbiz.cmp2;
     
     import javax.ejb.CreateException;
@@ -199,22 +83,71 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
     
         Collection<Movie> findByDirector(String director) throws FinderException;
     }
-    /**
-     * 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.
-     */
+
+## ejb-jar.xml
+
+    <ejb-jar>
+      <enterprise-beans>
+        <entity>
+          <ejb-name>MovieBean</ejb-name>
+          <local-home>org.superbiz.cmp2.Movies</local-home>
+          <local>org.superbiz.cmp2.Movie</local>
+          <ejb-class>org.superbiz.cmp2.MovieBean</ejb-class>
+          <persistence-type>Container</persistence-type>
+          <prim-key-class>java.lang.Integer</prim-key-class>
+          <reentrant>false</reentrant>
+          <cmp-version>2.x</cmp-version>
+          <abstract-schema-name>MovieBean</abstract-schema-name>
+          <cmp-field>
+            <field-name>id</field-name>
+          </cmp-field>
+          <cmp-field>
+            <field-name>director</field-name>
+          </cmp-field>
+          <cmp-field>
+            <field-name>year</field-name>
+          </cmp-field>
+          <cmp-field>
+            <field-name>title</field-name>
+          </cmp-field>
+          <primkey-field>id</primkey-field>
+          <query>
+            <query-method>
+              <method-name>findByDirector</method-name>
+              <method-params>
+                <method-param>java.lang.String</method-param>
+              </method-params>
+            </query-method>
+            <ejb-ql>SELECT m FROM MovieBean m WHERE m.director = ?1</ejb-ql>
+          </query>
+          <query>
+            <query-method>
+              <method-name>findAll</method-name>
+              <method-params/>
+            </query-method>
+            <ejb-ql>SELECT m FROM MovieBean as m</ejb-ql>
+          </query>
+        </entity>
+      </enterprise-beans>
+    </ejb-jar>
+    
+
+## openejb-jar.xml
+
+    <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
+      <enterprise-beans>
+        <entity>
+          <ejb-name>MovieBean</ejb-name>
+          <key-generator xmlns="http://www.openejb.org/xml/ns/pkgen-2.1">
+            <uuid/>
+          </key-generator>
+        </entity>
+      </enterprise-beans>
+    </openejb-jar>
+    
+
+## MoviesTest
+
     package org.superbiz.cmp2;
     
     import junit.framework.TestCase;
@@ -259,3 +192,42 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             assertEquals("Movies.findAll()", 0, movies.findAll().size());
         }
     }
+
+# Running
+
+    
+    -------------------------------------------------------
+     T E S T S
+    -------------------------------------------------------
+    Running org.superbiz.cmp2.MoviesTest
+    Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
+    http://openejb.apache.org/
+    INFO - openejb.home = /Users/dblevins/examples/simple-cmp2/target
+    INFO - openejb.base = /Users/dblevins/examples/simple-cmp2/target
+    INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
+    INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
+    INFO - Configuring Service(id=movieDatabaseUnmanaged, type=Resource, provider-id=Default JDBC Database)
+    INFO - Configuring Service(id=movieDatabase, type=Resource, provider-id=Default JDBC Database)
+    INFO - Found EjbModule in classpath: /Users/dblevins/examples/simple-cmp2/target/classes
+    INFO - Beginning load: /Users/dblevins/examples/simple-cmp2/target/classes
+    INFO - Configuring enterprise application: /Users/dblevins/examples/simple-cmp2/target/classpath.ear
+    INFO - Configuring Service(id=Default CMP Container, type=Container, provider-id=Default CMP Container)
+    INFO - Auto-creating a container for bean MovieBean: Container(type=CMP_ENTITY, id=Default CMP Container)
+    INFO - Configuring PersistenceUnit(name=cmp)
+    INFO - Adjusting PersistenceUnit cmp <jta-data-source> to Resource ID 'movieDatabase' from 'null'
+    INFO - Adjusting PersistenceUnit cmp <non-jta-data-source> to Resource ID 'movieDatabaseUnmanaged' from 'null'
+    INFO - Enterprise application "/Users/dblevins/examples/simple-cmp2/target/classpath.ear" loaded.
+    INFO - Assembling app: /Users/dblevins/examples/simple-cmp2/target/classpath.ear
+    INFO - PersistenceUnit(name=cmp, provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider time 160ms
+    INFO - Jndi(name=MovieBeanLocalHome) --> Ejb(deployment-id=MovieBean)
+    INFO - Jndi(name=global/classpath.ear/simple-cmp2/MovieBean!org.superbiz.cmp2.Movies) --> Ejb(deployment-id=MovieBean)
+    INFO - Jndi(name=global/classpath.ear/simple-cmp2/MovieBean) --> Ejb(deployment-id=MovieBean)
+    INFO - Created Ejb(deployment-id=MovieBean, ejb-name=MovieBean, container=Default CMP Container)
+    INFO - Started Ejb(deployment-id=MovieBean, ejb-name=MovieBean, container=Default CMP Container)
+    INFO - Deployed Application(path=/Users/dblevins/examples/simple-cmp2/target/classpath.ear)
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.919 sec
+    
+    Results :
+    
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
+    

Modified: openejb/trunk/openejb/examples/simple-mdb-with-descriptor/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-mdb-with-descriptor/README.md?rev=1195109&r1=1195108&r2=1195109&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-mdb-with-descriptor/README.md (original)
+++ openejb/trunk/openejb/examples/simple-mdb-with-descriptor/README.md Sun Oct 30 03:44:33 2011
@@ -1,106 +1,9 @@
-[INFO] Scanning for projects...
-[INFO]                                                                         
-[INFO] ------------------------------------------------------------------------
-[INFO] Building OpenEJB :: Examples :: Simple MDB Using Deployment Descriptor Example 1.0
-[INFO] ------------------------------------------------------------------------
-[INFO] 
-[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ simple-mdb-with-descriptor ---
-[INFO] Deleting /Users/dblevins/examples/simple-mdb-with-descriptor/target
-[INFO] 
-[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ simple-mdb-with-descriptor ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 1 resource
-[INFO] 
-[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ simple-mdb-with-descriptor ---
-[INFO] Compiling 1 source file to /Users/dblevins/examples/simple-mdb-with-descriptor/target/classes
-[INFO] 
-[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ simple-mdb-with-descriptor ---
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] skip non existing resourceDirectory /Users/dblevins/examples/simple-mdb-with-descriptor/src/test/resources
-[INFO] 
-[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ simple-mdb-with-descriptor ---
-[INFO] Compiling 1 source file to /Users/dblevins/examples/simple-mdb-with-descriptor/target/test-classes
-[INFO] 
-[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ simple-mdb-with-descriptor ---
-[INFO] Surefire report directory: /Users/dblevins/examples/simple-mdb-with-descriptor/target/surefire-reports
+Title: Simple MDB with Descriptor
 
--------------------------------------------------------
- T E S T S
--------------------------------------------------------
-Running org.superbiz.mdb.ChatBeanTest
-Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
-http://openejb.apache.org/
-INFO - openejb.home = /Users/dblevins/examples/simple-mdb-with-descriptor
-INFO - openejb.base = /Users/dblevins/examples/simple-mdb-with-descriptor
-INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
-INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
-INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
-INFO - Found EjbModule in classpath: /Users/dblevins/examples/simple-mdb-with-descriptor/target/classes
-INFO - Beginning load: /Users/dblevins/examples/simple-mdb-with-descriptor/target/classes
-INFO - Configuring enterprise application: /Users/dblevins/examples/simple-mdb-with-descriptor
-WARN - Method 'lookup' is not available for 'javax.annotation.Resource'. Probably using an older Runtime.
-INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container)
-INFO - Auto-creating a container for bean ChatBean: Container(type=MESSAGE, id=Default MDB Container)
-INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource, provider-id=Default JMS Resource Adapter)
-INFO - Configuring Service(id=Default JMS Connection Factory, type=Resource, provider-id=Default JMS Connection Factory)
-INFO - Auto-creating a Resource with id 'Default JMS Connection Factory' of type 'javax.jms.ConnectionFactory for 'ChatBean'.
-INFO - Auto-linking resource-ref 'java:comp/env/org.superbiz.mdbdesc.ChatBean/connectionFactory' in bean ChatBean to Resource(id=Default JMS Connection Factory)
-INFO - Configuring Service(id=AnswerQueue, type=Resource, provider-id=Default Queue)
-INFO - Auto-creating a Resource with id 'AnswerQueue' of type 'javax.jms.Queue for 'ChatBean'.
-INFO - Auto-linking resource-env-ref 'java:comp/env/AnswerQueue' in bean ChatBean to Resource(id=AnswerQueue)
-INFO - Configuring Service(id=ChatBean, type=Resource, provider-id=Default Queue)
-INFO - Auto-creating a Resource with id 'ChatBean' of type 'javax.jms.Queue for 'ChatBean'.
-INFO - Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
-INFO - Auto-creating a container for bean org.superbiz.mdb.ChatBeanTest: Container(type=MANAGED, id=Default Managed Container)
-INFO - Auto-linking resource-ref 'java:comp/env/org.superbiz.mdb.ChatBeanTest/connectionFactory' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=Default JMS Connection Factory)
-INFO - Auto-linking resource-env-ref 'java:comp/env/AnswerQueue' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=AnswerQueue)
-INFO - Auto-linking resource-env-ref 'java:comp/env/ChatBean' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=ChatBean)
-INFO - Enterprise application "/Users/dblevins/examples/simple-mdb-with-descriptor" loaded.
-INFO - Assembling app: /Users/dblevins/examples/simple-mdb-with-descriptor
-INFO - Jndi(name="java:global/EjbModule730637923/org.superbiz.mdb.ChatBeanTest!org.superbiz.mdb.ChatBeanTest")
-INFO - Jndi(name="java:global/EjbModule730637923/org.superbiz.mdb.ChatBeanTest")
-INFO - Created Ejb(deployment-id=org.superbiz.mdb.ChatBeanTest, ejb-name=org.superbiz.mdb.ChatBeanTest, container=Default Managed Container)
-INFO - Created Ejb(deployment-id=ChatBean, ejb-name=ChatBean, container=Default MDB Container)
-INFO - Started Ejb(deployment-id=org.superbiz.mdb.ChatBeanTest, ejb-name=org.superbiz.mdb.ChatBeanTest, container=Default Managed Container)
-INFO - Started Ejb(deployment-id=ChatBean, ejb-name=ChatBean, container=Default MDB Container)
-INFO - Deployed Application(path=/Users/dblevins/examples/simple-mdb-with-descriptor)
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.936 sec
+*Help us document this example! Source available in [svn](http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/simple-mdb-with-descriptor) or [git](https://github.com/apache/openejb/tree/trunk/openejb/examples/simple-mdb-with-descriptor). Open a [JIRA](https://issues.apache.org/jira/browse/TOMEE) with patch or pull request*
 
-Results :
+## ChatBean
 
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
-[INFO] 
-[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ simple-mdb-with-descriptor ---
-[INFO] Building jar: /Users/dblevins/examples/simple-mdb-with-descriptor/target/simple-mdb-with-descriptor-1.0.jar
-[INFO] 
-[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ simple-mdb-with-descriptor ---
-[INFO] Installing /Users/dblevins/examples/simple-mdb-with-descriptor/target/simple-mdb-with-descriptor-1.0.jar to /Users/dblevins/.m2/repository/org/superbiz/simple-mdb-with-descriptor/1.0/simple-mdb-with-descriptor-1.0.jar
-[INFO] Installing /Users/dblevins/examples/simple-mdb-with-descriptor/pom.xml to /Users/dblevins/.m2/repository/org/superbiz/simple-mdb-with-descriptor/1.0/simple-mdb-with-descriptor-1.0.pom
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD SUCCESS
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 5.233s
-[INFO] Finished at: Fri Oct 28 17:02:42 PDT 2011
-[INFO] Final Memory: 14M/81M
-[INFO] ------------------------------------------------------------------------
-    /**
-     * 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.
-     */
-    //START SNIPPET: code
     package org.superbiz.mdbdesc;
     
     import javax.jms.Connection;
@@ -129,15 +32,12 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
                 if ("Hello World!".equals(question)) {
     
                     respond("Hello, Test Case!");
-    
                 } else if ("How are you?".equals(question)) {
     
                     respond("I'm doing well.");
-    
                 } else if ("Still spinning?".equals(question)) {
     
                     respond("Once every day, as usual.");
-    
                 }
             } catch (JMSException e) {
                 throw new IllegalStateException(e);
@@ -172,24 +72,57 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             }
         }
     }
-    //END SNIPPET: code
-    /**
-     * 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.
-     */
-    //START SNIPPET: code
+
+## ejb-jar.xml
+
+    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" metadata-complete="true">
+      <enterprise-beans>
+    
+        <message-driven>
+    
+          <ejb-name>ChatBean</ejb-name>
+          <ejb-class>org.superbiz.mdbdesc.ChatBean</ejb-class>
+    
+          <messaging-type>javax.jms.MessageListener</messaging-type>
+    
+          <activation-config>
+            <activation-config-property>
+              <activation-config-property-name>destination</activation-config-property-name>
+              <activation-config-property-value>ChatBean</activation-config-property-value>
+            </activation-config-property>
+            <activation-config-property>
+              <activation-config-property-name>destinationType</activation-config-property-name>
+              <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+            </activation-config-property>
+          </activation-config>
+    
+          <resource-ref>
+            <res-ref-name>java:comp/env/org.superbiz.mdbdesc.ChatBean/connectionFactory</res-ref-name>
+            <res-type>javax.jms.ConnectionFactory</res-type>
+            <injection-target>
+              <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
+              <injection-target-name>connectionFactory</injection-target-name>
+            </injection-target>
+          </resource-ref>
+    
+          <resource-env-ref>
+            <resource-env-ref-name>java:comp/env/AnswerQueue</resource-env-ref-name>
+            <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
+            <mapped-name>AnswerQueue</mapped-name>
+            <injection-target>
+              <injection-target-class>org.superbiz.mdbdesc.ChatBean</injection-target-class>
+              <injection-target-name>answerQueue</injection-target-name>
+            </injection-target>
+          </resource-env-ref>
+    
+        </message-driven>
+    
+      </enterprise-beans>
+    </ejb-jar>
+    
+
+## ChatBeanTest
+
     package org.superbiz.mdb;
     
     import junit.framework.TestCase;
@@ -244,20 +177,65 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
             sendText("Still spinning?", questions, session);
     
             assertEquals("Once every day, as usual.", receiveText(answers));
-    
         }
     
         private void sendText(String text, MessageProducer questions, Session session) throws JMSException {
     
             questions.send(session.createTextMessage(text));
-    
         }
     
         private String receiveText(MessageConsumer answers) throws JMSException {
     
             return ((TextMessage) answers.receive(1000)).getText();
-    
         }
-    
     }
-    //END SNIPPET: code
+
+# Running
+
+    
+    -------------------------------------------------------
+     T E S T S
+    -------------------------------------------------------
+    Running org.superbiz.mdb.ChatBeanTest
+    Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
+    http://openejb.apache.org/
+    INFO - openejb.home = /Users/dblevins/examples/simple-mdb-with-descriptor
+    INFO - openejb.base = /Users/dblevins/examples/simple-mdb-with-descriptor
+    INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
+    INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
+    INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
+    INFO - Found EjbModule in classpath: /Users/dblevins/examples/simple-mdb-with-descriptor/target/classes
+    INFO - Beginning load: /Users/dblevins/examples/simple-mdb-with-descriptor/target/classes
+    INFO - Configuring enterprise application: /Users/dblevins/examples/simple-mdb-with-descriptor
+    WARN - Method 'lookup' is not available for 'javax.annotation.Resource'. Probably using an older Runtime.
+    INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container)
+    INFO - Auto-creating a container for bean ChatBean: Container(type=MESSAGE, id=Default MDB Container)
+    INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource, provider-id=Default JMS Resource Adapter)
+    INFO - Configuring Service(id=Default JMS Connection Factory, type=Resource, provider-id=Default JMS Connection Factory)
+    INFO - Auto-creating a Resource with id 'Default JMS Connection Factory' of type 'javax.jms.ConnectionFactory for 'ChatBean'.
+    INFO - Auto-linking resource-ref 'java:comp/env/org.superbiz.mdbdesc.ChatBean/connectionFactory' in bean ChatBean to Resource(id=Default JMS Connection Factory)
+    INFO - Configuring Service(id=AnswerQueue, type=Resource, provider-id=Default Queue)
+    INFO - Auto-creating a Resource with id 'AnswerQueue' of type 'javax.jms.Queue for 'ChatBean'.
+    INFO - Auto-linking resource-env-ref 'java:comp/env/AnswerQueue' in bean ChatBean to Resource(id=AnswerQueue)
+    INFO - Configuring Service(id=ChatBean, type=Resource, provider-id=Default Queue)
+    INFO - Auto-creating a Resource with id 'ChatBean' of type 'javax.jms.Queue for 'ChatBean'.
+    INFO - Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
+    INFO - Auto-creating a container for bean org.superbiz.mdb.ChatBeanTest: Container(type=MANAGED, id=Default Managed Container)
+    INFO - Auto-linking resource-ref 'java:comp/env/org.superbiz.mdb.ChatBeanTest/connectionFactory' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=Default JMS Connection Factory)
+    INFO - Auto-linking resource-env-ref 'java:comp/env/AnswerQueue' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=AnswerQueue)
+    INFO - Auto-linking resource-env-ref 'java:comp/env/ChatBean' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=ChatBean)
+    INFO - Enterprise application "/Users/dblevins/examples/simple-mdb-with-descriptor" loaded.
+    INFO - Assembling app: /Users/dblevins/examples/simple-mdb-with-descriptor
+    INFO - Jndi(name="java:global/EjbModule1842275169/org.superbiz.mdb.ChatBeanTest!org.superbiz.mdb.ChatBeanTest")
+    INFO - Jndi(name="java:global/EjbModule1842275169/org.superbiz.mdb.ChatBeanTest")
+    INFO - Created Ejb(deployment-id=org.superbiz.mdb.ChatBeanTest, ejb-name=org.superbiz.mdb.ChatBeanTest, container=Default Managed Container)
+    INFO - Created Ejb(deployment-id=ChatBean, ejb-name=ChatBean, container=Default MDB Container)
+    INFO - Started Ejb(deployment-id=org.superbiz.mdb.ChatBeanTest, ejb-name=org.superbiz.mdb.ChatBeanTest, container=Default Managed Container)
+    INFO - Started Ejb(deployment-id=ChatBean, ejb-name=ChatBean, container=Default MDB Container)
+    INFO - Deployed Application(path=/Users/dblevins/examples/simple-mdb-with-descriptor)
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.914 sec
+    
+    Results :
+    
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
+    

Modified: openejb/trunk/openejb/examples/simple-mdb/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-mdb/README.md?rev=1195109&r1=1195108&r2=1195109&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-mdb/README.md (original)
+++ openejb/trunk/openejb/examples/simple-mdb/README.md Sun Oct 30 03:44:33 2011
@@ -1,4 +1,4 @@
-#Simple MDB
+Title: Simple MDB
 
 Below is a fun app, a chat application that uses JMS. We create a message driven bean, by marking our class with `@MessageDriven`. A message driven bean has some similarities with a stateless session bean, in the part that it is pooled too.
 
@@ -10,59 +10,72 @@ That finishes our message driven bean im
 
 In this case, it is to respond to the user. The `respond` method shows how a Message can be sent.
 
+## ChatBean
 
-#Code
+    package org.superbiz.mdb;
+    
+    import javax.annotation.Resource;
+    import javax.ejb.MessageDriven;
+    import javax.jms.Connection;
+    import javax.jms.ConnectionFactory;
+    import javax.jms.DeliveryMode;
+    import javax.jms.JMSException;
+    import javax.jms.Message;
+    import javax.jms.MessageListener;
+    import javax.jms.MessageProducer;
+    import javax.jms.Queue;
+    import javax.jms.Session;
+    import javax.jms.TextMessage;
+    
     @MessageDriven
     public class ChatBean implements MessageListener {
+    
         @Resource
         private ConnectionFactory connectionFactory;
-
+    
         @Resource(name = "AnswerQueue")
         private Queue answerQueue;
-
+    
         public void onMessage(Message message) {
             try {
-
+    
                 final TextMessage textMessage = (TextMessage) message;
                 final String question = textMessage.getText();
-
+    
                 if ("Hello World!".equals(question)) {
-
+    
                     respond("Hello, Test Case!");
-
                 } else if ("How are you?".equals(question)) {
-
+    
                     respond("I'm doing well.");
-
                 } else if ("Still spinning?".equals(question)) {
-
+    
                     respond("Once every day, as usual.");
-
                 }
             } catch (JMSException e) {
                 throw new IllegalStateException(e);
             }
         }
-
+    
         private void respond(String text) throws JMSException {
-
+    
             Connection connection = null;
             Session session = null;
-
+    
             try {
                 connection = connectionFactory.createConnection();
                 connection.start();
-
+    
                 // Create a Session
                 session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
-
+    
                 // Create a MessageProducer from the Session to the Topic or Queue
                 MessageProducer producer = session.createProducer(answerQueue);
                 producer.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
-
+    
                 // Create a message
                 TextMessage message = session.createTextMessage(text);
-
+    
                 // Tell the producer to send the message
                 producer.send(message);
             } finally {
@@ -73,77 +86,93 @@ In this case, it is to respond to the us
         }
     }
 
-#Test
+## ChatBeanTest
+
+    package org.superbiz.mdb;
+    
+    import junit.framework.TestCase;
+    
+    import javax.annotation.Resource;
+    import javax.ejb.embeddable.EJBContainer;
+    import javax.jms.Connection;
+    import javax.jms.ConnectionFactory;
+    import javax.jms.JMSException;
+    import javax.jms.MessageConsumer;
+    import javax.jms.MessageProducer;
+    import javax.jms.Queue;
+    import javax.jms.Session;
+    import javax.jms.TextMessage;
+    
     public class ChatBeanTest extends TestCase {
+    
         @Resource
         private ConnectionFactory connectionFactory;
-
+    
         @Resource(name = "ChatBean")
         private Queue questionQueue;
-
+    
         @Resource(name = "AnswerQueue")
         private Queue answerQueue;
-
+    
         public void test() throws Exception {
             EJBContainer.createEJBContainer().getContext().bind("inject", this);
-
-
+    
+    
             final Connection connection = connectionFactory.createConnection();
-
+    
             connection.start();
-
+    
             final Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
-
+    
             final MessageProducer questions = session.createProducer(questionQueue);
-
+    
             final MessageConsumer answers = session.createConsumer(answerQueue);
-
-
+    
+    
             sendText("Hello World!", questions, session);
-
+    
             assertEquals("Hello, Test Case!", receiveText(answers));
-
-
+    
+    
             sendText("How are you?", questions, session);
-
+    
             assertEquals("I'm doing well.", receiveText(answers));
-
-
+    
+    
             sendText("Still spinning?", questions, session);
-
+    
             assertEquals("Once every day, as usual.", receiveText(answers));
-
         }
-
+    
         private void sendText(String text, MessageProducer questions, Session session) throws JMSException {
-
+    
             questions.send(session.createTextMessage(text));
-
         }
-
+    
         private String receiveText(MessageConsumer answers) throws JMSException {
-
+    
             return ((TextMessage) answers.receive(1000)).getText();
-
         }
-
     }
 
-#Running
+# Running
+
+    
     -------------------------------------------------------
      T E S T S
     -------------------------------------------------------
     Running org.superbiz.mdb.ChatBeanTest
-    Apache OpenEJB 4.0.0-SNAPSHOT    build: 20110801-04:02
+    Apache OpenEJB 4.0.0-beta-1    build: 20111002-04:06
     http://openejb.apache.org/
-    INFO - openejb.home = G:\Workspace\fullproject\openejb3\examples\simple-mdb
-    INFO - openejb.base = G:\Workspace\fullproject\openejb3\examples\simple-mdb
+    INFO - openejb.home = /Users/dblevins/examples/simple-mdb
+    INFO - openejb.base = /Users/dblevins/examples/simple-mdb
     INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
     INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
     INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
-    INFO - Found EjbModule in classpath: g:\Workspace\fullproject\openejb3\examples\simple-mdb\target\classes
-    INFO - Beginning load: g:\Workspace\fullproject\openejb3\examples\simple-mdb\target\classes
-    INFO - Configuring enterprise application: g:\Workspace\fullproject\openejb3\examples\simple-mdb
+    INFO - Found EjbModule in classpath: /Users/dblevins/examples/simple-mdb/target/classes
+    INFO - Beginning load: /Users/dblevins/examples/simple-mdb/target/classes
+    INFO - Configuring enterprise application: /Users/dblevins/examples/simple-mdb
+    WARN - Method 'lookup' is not available for 'javax.annotation.Resource'. Probably using an older Runtime.
     INFO - Auto-configuring a message driven bean ChatBean destination ChatBean to be destinationType javax.jms.Queue
     INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container)
     INFO - Auto-creating a container for bean ChatBean: Container(type=MESSAGE, id=Default MDB Container)
@@ -161,25 +190,18 @@ In this case, it is to respond to the us
     INFO - Auto-linking resource-ref 'java:comp/env/org.superbiz.mdb.ChatBeanTest/connectionFactory' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=Default JMS Connection Factory)
     INFO - Auto-linking resource-env-ref 'java:comp/env/AnswerQueue' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=AnswerQueue)
     INFO - Auto-linking resource-env-ref 'java:comp/env/ChatBean' in bean org.superbiz.mdb.ChatBeanTest to Resource(id=ChatBean)
-    INFO - Enterprise application "g:\Workspace\fullproject\openejb3\examples\simple-mdb" loaded.
-    INFO - Assembling app: g:\Workspace\fullproject\openejb3\examples\simple-mdb
-    INFO - Jndi(name="java:global/EjbModule1696446139/org.superbiz.mdb.ChatBeanTest!org.superbiz.mdb.ChatBeanTest")
-    INFO - Jndi(name="java:global/EjbModule1696446139/org.superbiz.mdb.ChatBeanTest")
+    INFO - Enterprise application "/Users/dblevins/examples/simple-mdb" loaded.
+    INFO - Assembling app: /Users/dblevins/examples/simple-mdb
+    INFO - Jndi(name="java:global/EjbModule1515710343/org.superbiz.mdb.ChatBeanTest!org.superbiz.mdb.ChatBeanTest")
+    INFO - Jndi(name="java:global/EjbModule1515710343/org.superbiz.mdb.ChatBeanTest")
     INFO - Created Ejb(deployment-id=org.superbiz.mdb.ChatBeanTest, ejb-name=org.superbiz.mdb.ChatBeanTest, container=Default Managed Container)
     INFO - Created Ejb(deployment-id=ChatBean, ejb-name=ChatBean, container=Default MDB Container)
     INFO - Started Ejb(deployment-id=org.superbiz.mdb.ChatBeanTest, ejb-name=org.superbiz.mdb.ChatBeanTest, container=Default Managed Container)
     INFO - Started Ejb(deployment-id=ChatBean, ejb-name=ChatBean, container=Default MDB Container)
-    INFO - Deployed Application(path=g:\Workspace\fullproject\openejb3\examples\simple-mdb)
-    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.152 sec
-
+    INFO - Deployed Application(path=/Users/dblevins/examples/simple-mdb)
+    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.547 sec
+    
     Results :
-
+    
     Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
-    [INFO] ------------------------------------------------------------------------
-    [INFO] BUILD SUCCESS
-    [INFO] ------------------------------------------------------------------------
-    [INFO] Total time: 12.247s
-    [INFO] Finished at: Wed Aug 03 21:06:30 IST 2011
-    [INFO] Final Memory: 7M/105M
-    [INFO] ------------------------------------------------------------------------
+