axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r530728 - /webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/ejb-provider.html
Date Fri, 20 Apr 2007 10:22:03 GMT
Author: chatra
Date: Fri Apr 20 03:22:02 2007
New Revision: 530728

reviewed and committing patch in


Modified: webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/ejb-provider.html
--- webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/ejb-provider.html (original)
+++ webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/ejb-provider.html Fri Apr
20 03:22:02 2007
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
-       "">
+      "">
 <html xmlns="">
   <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
@@ -14,32 +14,19 @@
 <p>The EJB message receiver allows one to access stateless session EJBs
 (Enterprise JavaBeans) through Web services. The example used in this guide
-illustrates how to use the src available at
-<code>AXIS2_HOME/modules/adb/src/org/apache/axis2/rpc/receivers/ejb</code> to
-access EJBs deployed on a J2EE server such as Geronimo or Jboss.</p>
+illustrates how to use EJB provider that ships with axis2 to access EJBs
+deployed on a J2EE server such as Geronimo or Jboss.</p>
-<p>This example is tested with Geronimo 1.1 and Jboss 4.0.4.GA.</p>
+<p>This example explains how to use Geronimo 1.1 and Jboss 4.0.4.GA as
+application server. </p>
 <p>The following steps will take you through the example through which we
 will explain how to use an EJB provider in Axis2</p>
-<p><strong>Note:</strong> The source of the example discussed in this guide
-is available at
-<code>AXIS2_HOME/modules/adb/src/org/apache/axis2/rpc/receivers/ejb</code> of
-your extracted <a
-binary distribution.</a></p>
-<p><span style="color: #00FF00; background-color: #60D586"><span
-style="color: #4FD12E; background-color: #FFFFFF">//Note the location has to
-be location of example in the dist-bi</span><span
-style="color: #4FD12E; background-color: #FFFFFF">n. The above mentioned is
-the svn location.</span></span></p>
 <h2>1. Creating a Simple Stateless Session EJB</h2>
-<p>Firstly, we need to create a stateless session EJB. Use the following
-files to make an EJB for testing:</p>
+<p>First, we need to create a stateless session EJB. Use the following files
+to make an EJB for testing:</p>
 <pre>Remote interface (
 package my.ejb;
 import javax.ejb.EJBObject;
@@ -173,19 +160,6 @@
 <h2>Creating the Axis2 Service Archive</h2>
-<p>Axis2 currently does not automatically generate the WSDL for the services
-which do not use RPC message receivers. Therefore we have to generate the
-WSDL file manually. Use the <a href="../tools/index.html">java2wsdl
-utility</a> which comes with apache Axis2 to generate the WSDL.</p>
-<pre>$ -cp /path/to/HelloEJB.jar -cn my.ejb.HelloBusiness -sn
-HelloBeanService -of HelloBeanService.wsdl</pre>
-<p><strong>MS Windows:</strong></p>
-<pre>C:\Axis2\bin&gt;java2wsdl.bat -cp C:\path\to\HelloEJB.jar -cn
-my.ejb.HelloBusiness -sn HelloBeanService -of HelloBeanService.wsdl</pre>
 <p>Now we need to make the services.xml file.</p>
     &lt;service name="HelloBeanService"&gt;
@@ -196,6 +170,7 @@
         &lt;messageReceiver mep=""
+        &lt;parameter name="ServiceClass" locked="false"&gt;my.ejb.HelloBusiness&lt;/parameter&gt;
         &lt;parameter name="remoteInterfaceName"&gt;my.ejb.Hello&lt;/parameter&gt;
         &lt;parameter name="homeInterfaceName"&gt;my.ejb.HelloHome&lt;/parameter&gt;
         &lt;parameter name="beanJndiName"&gt;my/ejb/HelloBean&lt;/parameter&gt;
@@ -228,7 +203,6 @@
   |    +--services.xml
-  |    +--HelloBeanService.wsdl
   |    +--[jars used by the ejb client eg.initial context factory classes]

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message