You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2012/01/11 20:49:26 UTC

svn commit: r802415 - in /websites/staging/openejb/trunk/content: ./ examples-trunk/applicationexception/ examples-trunk/ear-testing/ examples-trunk/helloworld-weblogic/ examples-trunk/interceptors/ examples-trunk/quartz-app/ examples-trunk/simple-cmp2...

Author: buildbot
Date: Wed Jan 11 19:49:24 2012
New Revision: 802415

Log:
Staging update by buildbot for openejb

Added:
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/pom.xml
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/java/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/java/org/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/java/org/superbiz/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/java/org/superbiz/calculator/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/java/org/superbiz/calculator/Calculator.java
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/resources/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/resources/META-INF/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/resources/META-INF/ejb-jar.xml
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/CalculatorTest.java
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/resources/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/resources/META-INF/
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/resources/META-INF/ejb-jar.xml
Modified:
    websites/staging/openejb/trunk/content/examples-trunk/applicationexception/README.html
    websites/staging/openejb/trunk/content/examples-trunk/ear-testing/README.html
    websites/staging/openejb/trunk/content/examples-trunk/helloworld-weblogic/README.html
    websites/staging/openejb/trunk/content/examples-trunk/interceptors/README.html
    websites/staging/openejb/trunk/content/examples-trunk/quartz-app/README.html
    websites/staging/openejb/trunk/content/examples-trunk/simple-cmp2/README.html
    websites/staging/openejb/trunk/content/examples-trunk/simple-stateless-with-descriptor/README.html
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/README.html
    websites/staging/openejb/trunk/content/examples-trunk/spring-integration/README.html
    websites/staging/openejb/trunk/content/examples-trunk/spring-integration/src/main/resources/movies.xml
    websites/staging/openejb/trunk/content/examples-trunk/telephone-stateful/README.html
    websites/staging/openejb/trunk/content/examples-trunk/testing-security-2/README.html
    websites/staging/openejb/trunk/content/examples-trunk/webapps/moviefun/README.html
    websites/staging/openejb/trunk/content/examples-trunk/webapps/struts/README.html
    websites/staging/openejb/trunk/content/examples-trunk/webservice-attachments/README.html
    websites/staging/openejb/trunk/content/examples-trunk/webservice-inheritance/README.html
    websites/staging/openejb/trunk/content/examples-trunk/webservice-security/README.html
    websites/staging/openejb/trunk/content/examples-trunk/webservice-ws-security/README.html
    websites/staging/openejb/trunk/content/index.html

Modified: websites/staging/openejb/trunk/content/examples-trunk/applicationexception/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/applicationexception/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/applicationexception/README.html Wed Jan 11 19:49:24 2012
@@ -133,7 +133,7 @@ public class ThrowBusinessExceptionImplT
     @Before
     public void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
 
         initialContext = new InitialContext(properties);
     }

Modified: websites/staging/openejb/trunk/content/examples-trunk/ear-testing/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/ear-testing/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/ear-testing/README.html Wed Jan 11 19:49:24 2012
@@ -227,7 +227,7 @@ ear-testing/pom.xml
 
     public void test() throws Exception {
         Properties p = new Properties();
-        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
 
         p.put("openejb.deployments.classpath.ear", "true");
 

Modified: websites/staging/openejb/trunk/content/examples-trunk/helloworld-weblogic/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/helloworld-weblogic/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/helloworld-weblogic/README.html Wed Jan 11 19:49:24 2012
@@ -166,7 +166,7 @@ public class HelloTest extends TestCase 
 
     public void test() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         InitialContext initialContext = new InitialContext(properties);
 
         HelloEjbLocalHome localHome = (HelloEjbLocalHome) initialContext.lookup("MyHello");

Modified: websites/staging/openejb/trunk/content/examples-trunk/interceptors/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/interceptors/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/interceptors/README.html Wed Jan 11 19:49:24 2012
@@ -584,7 +584,7 @@ public class FullyInterceptedTest extend
     @Before
     public void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
 
         initCtx = new InitialContext(properties);
@@ -664,7 +664,7 @@ public class MethodLevelInterceptorOnlyT
     @Before
     public void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
 
         initCtx = new InitialContext(properties);
@@ -710,7 +710,7 @@ public class SecondStatelessInterceptedT
     @Before
     public void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
 
         initCtx = new InitialContext(properties);
@@ -760,7 +760,7 @@ public class ThirdSLSBeanTest extends Te
     @Before
     public void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
 
         initCtx = new InitialContext(properties);

Modified: websites/staging/openejb/trunk/content/examples-trunk/quartz-app/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/quartz-app/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/quartz-app/README.html Wed Jan 11 19:49:24 2012
@@ -238,7 +238,7 @@ public class QuartzMdbTest {
 
         if (null == initialContext) {
             Properties properties = new Properties();
-            properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+            properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
 
             initialContext = new InitialContext(properties);
         }

Modified: websites/staging/openejb/trunk/content/examples-trunk/simple-cmp2/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-cmp2/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-cmp2/README.html Wed Jan 11 19:49:24 2012
@@ -249,7 +249,7 @@ public class MoviesTest extends TestCase
 
     public void test() throws Exception {
         Properties p = new Properties();
-        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         p.put("movieDatabase", "new://Resource?type=DataSource");
         p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
         p.put("movieDatabase.JdbcUrl", "jdbc:hsqldb:mem:moviedb");

Modified: websites/staging/openejb/trunk/content/examples-trunk/simple-stateless-with-descriptor/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-stateless-with-descriptor/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-stateless-with-descriptor/README.html Wed Jan 11 19:49:24 2012
@@ -180,7 +180,7 @@ public class CalculatorTest extends Test
 
     protected void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
 
         initialContext = new InitialContext(properties);
     }

Added: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/pom.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/pom.xml (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/pom.xml Wed Jan 11 19:49:24 2012
@@ -0,0 +1,109 @@
+<?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: 1178411 $ $Date: 2011-10-03 15:35:26 +0200 (lun. 03 oct. 2011) $ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.superbiz</groupId>
+  <artifactId>simple-webservice-without-interface</artifactId>
+  <packaging>jar</packaging>
+  <version>1.1-SNAPSHOT</version>
+  <name>OpenEJB :: Examples :: Simple Webservice Without Interface</name>
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <build>
+    <defaultGoal>install</defaultGoal>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <repositories>
+    <repository>
+      <id>apache-m2-snapshot</id>
+      <name>Apache Snapshot Repository</name>
+      <url>http://repository.apache.org/snapshots</url>
+    </repository>
+  </repositories>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>javaee-api</artifactId>
+      <version>6.0-3-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <!--
+    The <scope>test</scope> guarantees that non of your runtime
+    code is dependent on any OpenEJB classes.
+    -->
+    <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>openejb-cxf</artifactId>
+      <version>4.0.0-beta-2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <!-- This is required on IBM JDKs (and potentially others) because saaj-impl depends
+         on Sun's internal copy of Xerces. See OPENEJB-1126. -->
+    <dependency>
+      <groupId>com.sun.xml.parsers</groupId>
+      <artifactId>jaxp-ri</artifactId>
+      <version>1.4.2</version>
+      <scope>test</scope>
+    </dependency>
+
+    <!-- simply to get the wsdl in tests -->
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>2.0.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <!--
+  This section allows you to configure where to publish libraries for sharing.
+  It is not required and may be deleted.  For more information see:
+  http://maven.apache.org/plugins/maven-deploy-plugin/
+  -->
+  <distributionManagement>
+    <repository>
+      <id>localhost</id>
+      <url>file://${basedir}/target/repo/</url>
+    </repository>
+    <snapshotRepository>
+      <id>localhost</id>
+      <url>file://${basedir}/target/snapshot-repo/</url>
+    </snapshotRepository>
+  </distributionManagement>
+
+</project>
\ No newline at end of file

Added: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/java/org/superbiz/calculator/Calculator.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/java/org/superbiz/calculator/Calculator.java (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/java/org/superbiz/calculator/Calculator.java Wed Jan 11 19:49:24 2012
@@ -0,0 +1,35 @@
+/**
+ * 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.superbiz.calculator;
+
+import javax.ejb.Stateless;
+import javax.jws.WebService;
+
+@Stateless
+@WebService(
+        portName = "CalculatorPort",
+        serviceName = "CalculatorWsService",
+        targetNamespace = "http://superbiz.org/wsdl")
+public class Calculator {
+    public int sum(int add1, int add2) {
+        return add1 + add2;
+    }
+
+    public int multiply(int mul1, int mul2) {
+        return mul1 * mul2;
+    }
+}

Added: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/resources/META-INF/ejb-jar.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/resources/META-INF/ejb-jar.xml (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/main/resources/META-INF/ejb-jar.xml Wed Jan 11 19:49:24 2012
@@ -0,0 +1 @@
+<ejb-jar/>
\ No newline at end of file

Added: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/CalculatorTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/CalculatorTest.java (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/CalculatorTest.java Wed Jan 11 19:49:24 2012
@@ -0,0 +1,63 @@
+/**
+ * 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.superbiz.calculator;
+
+import org.apache.commons.io.IOUtils;
+import org.junit.AfterClass;
+import org.junit.Before;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+import javax.ejb.embeddable.EJBContainer;
+import javax.naming.NamingException;
+import java.net.URL;
+import java.util.Properties;
+
+import static org.junit.Assert.assertTrue;
+
+public class CalculatorTest {
+    private static EJBContainer container;
+
+    @BeforeClass
+    public static void setUp() throws Exception {
+        final Properties properties = new Properties();
+        properties.setProperty("openejb.embedded.remotable", "true");
+
+        container = EJBContainer.createEJBContainer(properties);
+    }
+
+    @Before
+    public void inject() throws NamingException {
+        if (container != null) {
+            container.getContext().bind("inject", this);
+        }
+    }
+
+    @AfterClass
+    public static void close() {
+        if (container != null) {
+            container.close();
+        }
+    }
+
+    @Test
+    public void wsdlExists() throws Exception {
+        final URL url = new URL("http://127.0.0.1:4204/Calculator?wsdl");
+        assertTrue(IOUtils.readLines(url.openStream()).size() > 0);
+        assertTrue(IOUtils.readLines(url.openStream()).toString().contains("CalculatorWsService"));
+    }
+}

Added: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/resources/META-INF/ejb-jar.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/resources/META-INF/ejb-jar.xml (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/resources/META-INF/ejb-jar.xml Wed Jan 11 19:49:24 2012
@@ -0,0 +1 @@
+<ejb-jar/>
\ No newline at end of file

Modified: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/README.html Wed Jan 11 19:49:24 2012
@@ -275,7 +275,7 @@ public class CalculatorTest extends Test
 
     protected void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.embedded.remotable", "true");
 
         initialContext = new InitialContext(properties);

Modified: websites/staging/openejb/trunk/content/examples-trunk/spring-integration/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/spring-integration/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/spring-integration/README.html Wed Jan 11 19:49:24 2012
@@ -409,7 +409,7 @@ public class Theaters {
 
   &lt;!--
   Loads the EJBs from the classpath just as when embedding OpenEJB via
-  the org.apache.openejb.localclient.LocalInitialContextFactory.  All the discovered
+  the org.apache.openejb.core.LocalInitialContextFactory.  All the discovered
   EJBs are imported into this context and available for injection here.
   --&gt;
   &lt;bean name="classPathApplication" class="org.apache.openejb.spring.ClassPathApplication"/&gt;

Modified: websites/staging/openejb/trunk/content/examples-trunk/spring-integration/src/main/resources/movies.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/spring-integration/src/main/resources/movies.xml (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/spring-integration/src/main/resources/movies.xml Wed Jan 11 19:49:24 2012
@@ -54,7 +54,7 @@
 
   <!--
   Loads the EJBs from the classpath just as when embedding OpenEJB via
-  the org.apache.openejb.localclient.LocalInitialContextFactory.  All the discovered
+  the org.apache.openejb.core.LocalInitialContextFactory.  All the discovered
   EJBs are imported into this context and available for injection here.
   -->
   <bean name="classPathApplication" class="org.apache.openejb.spring.ClassPathApplication"/>

Modified: websites/staging/openejb/trunk/content/examples-trunk/telephone-stateful/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/telephone-stateful/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/telephone-stateful/README.html Wed Jan 11 19:49:24 2012
@@ -187,7 +187,7 @@ public class TelephoneTest extends TestC
 
     protected void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.embedded.remotable", "true");
         // Uncomment these properties to change the defaults
         //properties.setProperty("ejbd.port", "4202");
@@ -207,7 +207,7 @@ public class TelephoneTest extends TestC
     public void testTalkOverLocalNetwork() throws Exception {
 
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         InitialContext localContext = new InitialContext(properties);
 
         Telephone telephone = (Telephone) localContext.lookup("TelephoneBeanRemote");

Modified: websites/staging/openejb/trunk/content/examples-trunk/testing-security-2/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/testing-security-2/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/testing-security-2/README.html Wed Jan 11 19:49:24 2012
@@ -226,7 +226,7 @@ public class MovieTest extends TestCase 
 
     public void testAsManager() throws Exception {
         Properties p = new Properties();
-        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         p.put(Context.SECURITY_PRINCIPAL, "jane");
         p.put(Context.SECURITY_CREDENTIALS, "waterfall");
 
@@ -252,7 +252,7 @@ public class MovieTest extends TestCase 
 
     public void testAsEmployee() throws Exception {
         Properties p = new Properties();
-        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         p.put(Context.SECURITY_PRINCIPAL, "joe");
         p.put(Context.SECURITY_CREDENTIALS, "cool");
 

Modified: websites/staging/openejb/trunk/content/examples-trunk/webapps/moviefun/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webapps/moviefun/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webapps/moviefun/README.html Wed Jan 11 19:49:24 2012
@@ -954,7 +954,7 @@ public class MoviesTest extends TestCase
 
     public void setUp() throws Exception {
         Properties p = new Properties();
-        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         p.put("movieDatabase", "new://Resource?type=DataSource");
         p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
         p.put("movieDatabase.JdbcUrl", "jdbc:hsqldb:mem:moviedb");

Modified: websites/staging/openejb/trunk/content/examples-trunk/webapps/struts/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webapps/struts/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webapps/struts/README.html Wed Jan 11 19:49:24 2012
@@ -139,7 +139,7 @@ public class AddUser {
             UserService service = null;
             Properties props = new Properties();
             props.put(Context.INITIAL_CONTEXT_FACTORY,
-                    "org.apache.openejb.localclient.LocalInitialContextFactory");
+                    "org.apache.openejb.core.LocalInitialContextFactory");
             Context ctx = new InitialContext(props);
             service = (UserService) ctx.lookup("UserServiceImplLocal");
             service.add(new User(id, firstName, lastName));
@@ -208,7 +208,7 @@ public class FindUser {
             UserService service = null;
             Properties props = new Properties();
             props.put(Context.INITIAL_CONTEXT_FACTORY,
-                    "org.apache.openejb.localclient.LocalInitialContextFactory");
+                    "org.apache.openejb.core.LocalInitialContextFactory");
             Context ctx = new InitialContext(props);
             service = (UserService) ctx.lookup("UserServiceImplLocal");
             this.user = service.find(id);
@@ -278,7 +278,7 @@ public class ListAllUsers {
             UserService service = null;
             Properties props = new Properties();
             props.put(Context.INITIAL_CONTEXT_FACTORY,
-                    "org.apache.openejb.localclient.LocalInitialContextFactory");
+                    "org.apache.openejb.core.LocalInitialContextFactory");
             Context ctx = new InitialContext(props);
             service = (UserService) ctx.lookup("UserServiceImplLocal");
             this.users = service.findAll();

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-attachments/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-attachments/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-attachments/README.html Wed Jan 11 19:49:24 2012
@@ -196,7 +196,7 @@ public class AttachmentTest extends Test
     protected void setUp() throws Exception {
 
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.embedded.remotable", "true");
 
         initialContext = new InitialContext(properties);

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-inheritance/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-inheritance/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-inheritance/README.html Wed Jan 11 19:49:24 2012
@@ -334,7 +334,7 @@ public class InheritanceTest extends Tes
     protected void setUp() throws Exception {
 
         Properties p = new Properties();
-        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         p.put("wakeBoardDatabase", "new://Resource?type=DataSource");
         p.put("wakeBoardDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
         p.put("wakeBoardDatabase.JdbcUrl", "jdbc:hsqldb:mem:wakeBoarddb");

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-security/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-security/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-security/README.html Wed Jan 11 19:49:24 2012
@@ -201,7 +201,7 @@ public class CalculatorTest extends Test
 
     protected void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.embedded.remotable", "true");
 
         initialContext = new InitialContext(properties);

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-ws-security/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-ws-security/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-ws-security/README.html Wed Jan 11 19:49:24 2012
@@ -400,7 +400,7 @@ public class CalculatorTest extends Test
     //START SNIPPET: setup
     protected void setUp() throws Exception {
         Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
         properties.setProperty("openejb.embedded.remotable", "true");
 
         new InitialContext(properties);

Modified: websites/staging/openejb/trunk/content/index.html
==============================================================================
--- websites/staging/openejb/trunk/content/index.html (original)
+++ websites/staging/openejb/trunk/content/index.html Wed Jan 11 19:49:24 2012
@@ -79,12 +79,12 @@
     <div class="row">
       <div class="span6">
         <h2>TomEE+</h2>
-        <p>TomEE Plus has all the features of TomEE with the addition of JAX-RS, JAX-WS, JMS and the Java Connector Architecture.  The additional functionality is delivered via Apache CXF, Apache ActiveMQ and the Geronimo Connector library</p>
+        <p>Apache TomEE Plus has all the features of TomEE with the addition of JAX-RS, JAX-WS, JMS and the Java Connector Architecture.  The additional functionality is delivered via Apache CXF, Apache ActiveMQ and the Geronimo Connector library</p>
         <p><a class="btn" href="apache-tomee.html">View details &raquo;</a></p>
       </div>
       <div class="span5">
         <h2>OpenEJB</h2>
-         <p>Don't be mislead by the name, OpenEJB contains a lot more than EJB.  A better description might be "headless TomEE+" as it contains everything TomEE+ contains minus Servlets, JSP and JSF.</p>
+         <p>Don't be mislead by the name, Apache OpenEJB contains a lot more than EJB.  A better description might be "headless TomEE+" as it contains everything TomEE+ contains minus Servlets, JSP and JSF.</p>
         <p><a class="btn" href="#">View details &raquo;</a></p>
      </div>
       <div class="span5">
@@ -141,37 +141,37 @@
             
             <dl>
             <dd>
-            <a href="http://twitter.com/ApacheTomEE/statuses/151443000415887361">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: Join the Apache TomEE group on Linkedin! lnkd.in/8EhADh
+            <a href="http://twitter.com/ApacheTomEE/statuses/156869342561181696">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/uebermodean">@uebermodean</a>: <a href="http://twitter.com/uebermodean">@uebermodean</a> this seems to solve the issue: <a href="http://t.co/PYvndMDS">http://t.co/PYvndMDS</a> <a href="http://twitter.com/search?q=%23openejb">#openejb</a> <a href="http://twitter.com/search?q=%23java">#java</a> <a href="http://twitter.com/search?q=%23test">#test</a>
             </dd>
             </dl>
             
             <dl>
             <dd>
-            <a href="http://twitter.com/ApacheTomEE/statuses/150570320753995777">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/rmannibucau">@rmannibucau</a>: <a href="http://twitter.com/search?q=%23openejb">#openejb</a> gets some karaf commands: openejb:list, openejb:deploy &lt;path&gt;, openejb:undeploy &lt;path&gt;, openejb:bu ...
+            <a href="http://twitter.com/ApacheTomEE/statuses/156868080151179264">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/dblevins">@dblevins</a>: <a href="http://twitter.com/agoncal">@agoncal</a> Been using markdown for all the <a href="http://twitter.com/search?q=%23TomEE">#TomEE</a> docs since October.  StackOverflow.com also uses it to great effect.
             </dd>
             </dl>
             
             <dl>
             <dd>
-            <a href="http://twitter.com/ApacheTomEE/statuses/150494815107301377">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/rmannibucau">@rmannibucau</a>: "<a href="http://twitter.com/cmoulliard">@cmoulliard</a>: In 2012, I will blog and tweet How to turn a Spring Bean project into EJB 3.0 on Apache Karaf with <a href="http://twitter.com/CDI">@CDI</a>,  ...
+            <a href="http://twitter.com/ApacheTomEE/statuses/156836614897799168">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/uebermodean">@uebermodean</a>: Why is an <a href="http://twitter.com/search?q=%23openejb">#openejb</a> mvn -Dassemble clean install on OSX <a href="http://twitter.com/search?q=%23Lion">#Lion</a> causing strange terminal popup windows?
             </dd>
             </dl>
             
             <dl>
             <dd>
-            <a href="http://twitter.com/ApacheTomEE/statuses/150328721088327680">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/rmannibucau">@rmannibucau</a>: <a href="http://twitter.com/search?q=%23OpenEJB">#OpenEJB</a> and <a href="http://twitter.com/search?q=%23OSGi">#OSGi</a> , it starts to work: <a href="http://t.co/xOmwVs7K">http://t.co/xOmwVs7K</a>
+            <a href="http://twitter.com/ApacheTomEE/statuses/156449817273438208">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/dblevins">@dblevins</a>: We're one person away from 500 on our Facebook page <a href="http://t.co/yWVoemez">http://t.co/yWVoemez</a>  Who is going to be # 500?
             </dd>
             </dl>
             
             <dl>
             <dd>
-            <a href="http://twitter.com/ApacheTomEE/statuses/148908779822526464">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/georgekue">@georgekue</a>: Great work: <a href="http://twitter.com/ApacheTomEE">@ApacheTomEE</a> saves dozens of extra hours adding the most important JEE components to a plain Tomcat. <a href="http://twitter.com/search?q=%23FF">#FF</a> http ...
+            <a href="http://twitter.com/ApacheTomEE/statuses/156428928226050049">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/dblevins">@dblevins</a>: <a href="http://twitter.com/mjhazbri">@mjhazbri</a> That'd be fantastic.  We can tweet it on <a href="http://twitter.com/OpenEJB">@OpenEJB</a> and <a href="http://twitter.com/ApacheTomEE">@ApacheTomEE</a>
             </dd>
             </dl>
             
             <dl>
             <dd>
-            <a href="http://twitter.com/ApacheTomEE/statuses/147414546615762944">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/rmannibucau">@rmannibucau</a>: <a href="http://twitter.com/jaceklaskowski">@jaceklaskowski</a> <a href="http://twitter.com/ApacheTomee">@ApacheTomee</a> with TomEE you can deploy EJB as REST services so web.xml is not mandatory since it is usa ...
+            <a href="http://twitter.com/ApacheTomEE/statuses/155975942278365184">@</a><a href="http://twitter.com/ApacheTomEE">ApacheTomEE</a>: RT <a href="http://twitter.com/rmannibucau">@rmannibucau</a>: <a href="http://twitter.com/search?q=%23openejb">#openejb</a> & <a href="http://twitter.com/search?q=%23tomee">#tomee</a> are getting a new experimental system property to help to understand dependencies errors -&gt; openej ...
             </dd>
             </dl>