You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2006/09/23 11:55:33 UTC

svn commit: r449211 - in /incubator/openejb/trunk/openejb3: container/openejb-core/src/main/java/org/openejb/util/ container/openejb-core/src/main/resources/META-INF/org.openejb/ openejb-itests/src/main/java/org/openejb/test/stateful/ openejb-itests/sr...

Author: jlaskowski
Date: Sat Sep 23 02:55:32 2006
New Revision: 449211

URL: http://svn.apache.org/viewvc?view=rev&rev=449211
Log:
OPENEJB-172 - iTest: StatefulLocalJndiTests

Added:
    incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessLocalTestClient.java
      - copied, changed from r449182, incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessTestLocalClient.java
Removed:
    incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessTestLocalClient.java
Modified:
    incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/openejb/util/Index.java
    incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.openejb/spring.xml
    incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/BasicStatefulTestClient.java
    incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/StatefulLocalTestSuite.java
    incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessLocalTestSuite.java
    incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessPojoLocalJndiTests.java
    incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessTestSuite.java
    incubator/openejb/trunk/openejb3/openejb-itests/src/main/resources/META-INF/ejb-jar.xml

Modified: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/openejb/util/Index.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/openejb/util/Index.java?view=diff&rev=449211&r1=449210&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/openejb/util/Index.java (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/openejb/util/Index.java Sat Sep 23 02:55:32 2006
@@ -123,7 +123,7 @@
     public V put(K key, V value) {
         int i = indexOf((K) key);
         if (i < 0) {
-            throw new IllegalArgumentException("Index does not contain this key and new entries can not be added: " + (K) key);
+            throw new IllegalArgumentException("Index does not contain this key and new entries cannot be added: " + (K) key);
         }
 
         IndexEntry<K,V> entry = entries[i];
@@ -226,7 +226,7 @@
                 }
 
                 public void remove() {
-                    throw new UnsupportedOperationException("Index entries can not be removed");
+                    throw new UnsupportedOperationException("Index entries cannot be removed");
                 }
             };
         }
@@ -263,7 +263,7 @@
         }
 
         public void remove() {
-            throw new UnsupportedOperationException("Index entries can not be removed");
+            throw new UnsupportedOperationException("Index entries cannot be removed");
         }
     }
 
@@ -292,8 +292,8 @@
             entries[index].setValue((V) o);
         }
 
-        public void add(Object o) {
-            throw new UnsupportedOperationException("Entries can not be added to a Index");
+        public void add(E o) {
+            throw new UnsupportedOperationException("Entries cannot be added to a Index");
         }
 
     }

Modified: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.openejb/spring.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.openejb/spring.xml?view=diff&rev=449211&r1=449210&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.openejb/spring.xml (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/META-INF/org.openejb/spring.xml Sat Sep 23 02:55:32 2006
@@ -1,4 +1,24 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?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$ -->
 
 <!--<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">-->
 <beans xmlns:o="http://openejb.org/schemas/core">
@@ -442,6 +462,8 @@
           <o:statefulDeployment id="client/tests/stateful/BasicStatefulPojoHome"
               homeInterface="org.openejb.test.stateful.BasicStatefulHome"
               remoteInterface="org.openejb.test.stateful.BasicStatefulObject"
+              localHomeInterface="org.openejb.test.stateful.BasicStatefulLocalHome"
+              localInterface="org.openejb.test.stateful.BasicStatefulLocalObject"
               beanClass="org.openejb.test.stateful.BasicStatefulPojoBean"
               jarPath="../../../../openejb-itests/target/classes/" classLoader="#classLoader"
               transactionManager="#transactionManager" assembly="#assembly">

Modified: incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/BasicStatefulTestClient.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/BasicStatefulTestClient.java?view=diff&rev=449211&r1=449210&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/BasicStatefulTestClient.java (original)
+++ incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/BasicStatefulTestClient.java Sat Sep 23 02:55:32 2006
@@ -1,11 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.openejb.test.stateful;
 
 /**
  * 
  * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
  * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * 
+ * @version $Rev$ $Date$
  */
-public abstract class BasicStatefulTestClient extends StatefulTestClient{
+public abstract class BasicStatefulTestClient extends StatefulTestClient {
     
     protected BasicStatefulHome   ejbHome;
     protected BasicStatefulObject ejbObject;

Modified: incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/StatefulLocalTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/StatefulLocalTestSuite.java?view=diff&rev=449211&r1=449210&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/StatefulLocalTestSuite.java (original)
+++ incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateful/StatefulLocalTestSuite.java Sat Sep 23 02:55:32 2006
@@ -1,18 +1,18 @@
 /**
+ * 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
  *
- * Copyright 2006 The Apache Software Foundation
+ *    http://www.apache.org/licenses/LICENSE-2.0
  *
- *  Licensed 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  */
 package org.openejb.test.stateful;
 
@@ -20,9 +20,10 @@
 import junit.framework.TestSuite;
 
 /**
- *
  * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
  * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * 
+ * @version $Rev$ $Date$
  */
 public class StatefulLocalTestSuite extends junit.framework.TestCase{
 
@@ -33,7 +34,7 @@
     public static Test suite() {
         TestSuite suite = new TestSuite();
         suite.addTest(new StatefulJndiTests());
-        suite.addTest(new StatefulPojoRemoteJndiTests());
+        suite.addTest(new StatefulPojoLocalJndiTests());
         suite.addTest(new StatefulHomeIntfcTests());
         suite.addTest(new StatefulEjbHomeTests());
         suite.addTest(new StatefulEjbObjectTests());

Copied: incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessLocalTestClient.java (from r449182, incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessTestLocalClient.java)
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessLocalTestClient.java?view=diff&rev=449211&p1=incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessTestLocalClient.java&r1=449182&p2=incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessLocalTestClient.java&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessTestLocalClient.java (original)
+++ incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/BasicStatelessLocalTestClient.java Sat Sep 23 02:55:32 2006
@@ -1,16 +1,34 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.openejb.test.stateless;
 
 /**
- * 
  * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
  * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ * 
+ * @version $Rev$ $Date$
  */
-public abstract class BasicStatelessTestLocalClient extends StatelessTestClient {
-    
+public abstract class BasicStatelessLocalTestClient extends StatelessTestClient {
+
     protected BasicStatelessLocalHome   ejbLocalHome;
     protected BasicStatelessLocalObject ejbLocalObject;
 
-    public BasicStatelessTestLocalClient(String name){
+    public BasicStatelessLocalTestClient(String name){
         super(name);
     }
 }

Modified: incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessLocalTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessLocalTestSuite.java?view=diff&rev=449211&r1=449210&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessLocalTestSuite.java (original)
+++ incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessLocalTestSuite.java Sat Sep 23 02:55:32 2006
@@ -1,11 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.openejb.test.stateless;
 
 import junit.framework.TestSuite;
 
 /**
- *
  * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
  * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
  */
 public class StatelessLocalTestSuite extends junit.framework.TestCase{
 
@@ -19,6 +37,7 @@
         suite.addTest(new StatelessPojoRemoteJndiTests());
         suite.addTest(new StatelessPojoLocalJndiTests());
         suite.addTest(new StatelessHomeIntfcTests());
+        suite.addTest(new StatelessPojoLocalHomeIntfcTests());
         suite.addTest(new StatelessEjbHomeTests() );
         suite.addTest(new StatelessEjbObjectTests());
         suite.addTest(new StatelessRemoteIntfcTests());

Modified: incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessPojoLocalJndiTests.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessPojoLocalJndiTests.java?view=diff&rev=449211&r1=449210&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessPojoLocalJndiTests.java (original)
+++ incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessPojoLocalJndiTests.java Sat Sep 23 02:55:32 2006
@@ -1,30 +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
  *
- * Copyright 2006 The Apache Software Foundation
+ *    http://www.apache.org/licenses/LICENSE-2.0
  *
- *  Licensed 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.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  */
 package org.openejb.test.stateless;
 
 /**
  * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
  * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * 
+ * @version $Rev$ $Date$
  */
-public class StatelessPojoLocalJndiTests extends BasicStatelessTestLocalClient {
+public class StatelessPojoLocalJndiTests extends BasicStatelessLocalTestClient {
 
 	
     public StatelessPojoLocalJndiTests(){
-        super("JNDI.");
+        super("LocalJNDI.");
     }
 
     public void test01_initialContext(){
@@ -39,7 +41,7 @@
         try{
         	// Here we use the Java casting as what is done while looking-up a local bean
         	ejbLocalHome = (BasicStatelessLocalHome) initialContext.lookup("client/tests/stateless/BasicStatelessPojoHomeLocal");
-            assertNotNull("The EJBHome is null", ejbLocalHome);
+            assertNotNull("The EJBLocalHome is null", ejbLocalHome);
         } catch (Exception e){
             fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
         }

Modified: incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessTestSuite.java?view=diff&rev=449211&r1=449210&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessTestSuite.java (original)
+++ incubator/openejb/trunk/openejb3/openejb-itests/src/main/java/org/openejb/test/stateless/StatelessTestSuite.java Sat Sep 23 02:55:32 2006
@@ -1,11 +1,28 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.openejb.test.stateless;
 
 import junit.framework.TestSuite;
 
 /**
- * 
  * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
  * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * 
+ * @version $Rev$ $Date$
  */
 public class StatelessTestSuite extends junit.framework.TestCase{
     
@@ -18,6 +35,7 @@
         suite.addTest(new StatelessJndiTests());
         suite.addTest(new StatelessPojoRemoteJndiTests());
         suite.addTest(new StatelessHomeIntfcTests());
+        suite.addTest(new StatelessPojoHomeIntfcTests());
         suite.addTest(new StatelessEjbHomeTests() );
         suite.addTest(new StatelessEjbObjectTests());    
         suite.addTest(new StatelessRemoteIntfcTests());

Modified: incubator/openejb/trunk/openejb3/openejb-itests/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/openejb-itests/src/main/resources/META-INF/ejb-jar.xml?view=diff&rev=449211&r1=449210&r2=449211
==============================================================================
--- incubator/openejb/trunk/openejb3/openejb-itests/src/main/resources/META-INF/ejb-jar.xml (original)
+++ incubator/openejb/trunk/openejb3/openejb-itests/src/main/resources/META-INF/ejb-jar.xml Sat Sep 23 02:55:32 2006
@@ -1,4 +1,25 @@
-<?xml version="1.0" encoding="US-ASCII"?>
+<?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$ -->
+
 <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0" metadata-complete="true">
     <description>
     This ejb-jar file contains assembled enterprise beans that are
@@ -37,9 +58,7 @@
             <reentrant>False</reentrant>
             <primkey-field>primaryKey</primkey-field>
             <resource-ref>
-                <description>
-                This is a reference to a JDBC database.
-                </description>
+                <description>This is a reference to a JDBC database.</description>
                 <res-ref-name>jdbc/basic/entityDatabase</res-ref-name>
                 <res-type>javax.sql.DataSource</res-type>
                 <res-auth>Container</res-auth>
@@ -227,19 +246,21 @@
             </security-role-ref>
         </session>
         
-		<!-- 
+        <!-- 
         ########################################################
         ID:  client/tests/stateful/BasicStatefulPojoHome
         ########################################################
         -->
         
         <session>
-            <description>A basic stateful session pojo bean with contianer-managed 
-            transaction demarcation.
+            <description>
+            	A basic stateful session pojo bean with container-managed transaction demarcation.
             </description>
             <ejb-name>BasicStatefulPojoBean</ejb-name>
             <home>org.openejb.test.stateful.BasicStatefulHome</home>
             <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
+            <local-home>org.openejb.test.stateful.BasicStatefulLocalHome</local-home>
+            <local>org.openejb.test.stateful.BasicStatefulLocalObject</local>
             <ejb-class>org.openejb.test.stateful.BasicStatefulPojoBean</ejb-class>
             <session-type>Stateful</session-type>
             <transaction-type>Container</transaction-type>
@@ -247,8 +268,8 @@
                 <role-name>TheMan</role-name>
                 <role-link>Executive</role-link>
             </security-role-ref>
-        </session>        
-        
+        </session>
+
         <!-- 
         ########################################################
         ID:  client/tests/stateful/BeanManagedBasicStatefulHome