You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2012/08/15 21:13:09 UTC

svn commit: r829042 - in /websites/staging/openejb/trunk: cgi-bin/ content/ content/examples-trunk/jsf-cdi-and-ejb/src/main/java/org/superbiz/jsf/Calculator.java content/tomee-and-eclipse.html

Author: buildbot
Date: Wed Aug 15 19:13:08 2012
New Revision: 829042

Log:
Staging update by buildbot for openejb

Added:
    websites/staging/openejb/trunk/content/examples-trunk/jsf-cdi-and-ejb/src/main/java/org/superbiz/jsf/Calculator.java
Modified:
    websites/staging/openejb/trunk/cgi-bin/   (props changed)
    websites/staging/openejb/trunk/content/   (props changed)
    websites/staging/openejb/trunk/content/tomee-and-eclipse.html

Propchange: websites/staging/openejb/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Aug 15 19:13:08 2012
@@ -1 +1 @@
-1373572
+1373577

Propchange: websites/staging/openejb/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Aug 15 19:13:08 2012
@@ -1 +1 @@
-1373572
+1373577

Added: websites/staging/openejb/trunk/content/examples-trunk/jsf-cdi-and-ejb/src/main/java/org/superbiz/jsf/Calculator.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/jsf-cdi-and-ejb/src/main/java/org/superbiz/jsf/Calculator.java (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/jsf-cdi-and-ejb/src/main/java/org/superbiz/jsf/Calculator.java Wed Aug 15 19:13:08 2012
@@ -0,0 +1,30 @@
+/**
+ *
+ * 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.jsf;
+
+import javax.ejb.Stateless;
+
+
+@Stateless
+public class Calculator {
+
+    public double add(double x, double y) {
+        return x + y;
+    }
+
+}

Modified: websites/staging/openejb/trunk/content/tomee-and-eclipse.html
==============================================================================
--- websites/staging/openejb/trunk/content/tomee-and-eclipse.html (original)
+++ websites/staging/openejb/trunk/content/tomee-and-eclipse.html Wed Aug 15 19:13:08 2012
@@ -157,7 +157,7 @@ and create/deploy your first project is 
 
 <ol>
 <li>Download and install both Apache TomEE and Eclipse.   </li>
-<li>Start Eclipse and from the main menu go to File - New - Dynamic Web Project </li>
+<li>Start Eclipse and from the main menu go to <strong>File</strong> - <strong>New</strong> - <strong>Dynamic Web Project</strong></li>
 <li>Enter a new project name</li>
 <li>In the <strong>Target Runtime</strong> section click on the <strong>New Runtime</strong> button.</li>
 <li>Pick <strong>Apache Tomcat v7.0</strong> and click Next</li>