axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cha...@apache.org
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

URL: http://svn.apache.org/viewvc?view=rev&rev=530728
Log:
reviewed and committing patch in https://issues.apache.org/jira/browse/AXIS2-2342

Modified:
    webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/ejb-provider.html

Modified: webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/ejb-provider.html
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/xdocs/%40axis2_version_dir%40/ejb-provider.html?view=diff&rev=530728&r1=530727&r2=530728
==============================================================================
--- 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"
-       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
   <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
-href="http://ws.apache.org/axis2/download/@axis2_version_dir@/download.cgi">Axis2
-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 (Hello.java)
 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>
-
-<p><strong>Unix:</strong></p>
-<pre>$java2wsdl.sh -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>
 <pre>&lt;serviceGroup&gt;
     &lt;service name="HelloBeanService"&gt;
@@ -196,6 +170,7 @@
         &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
                 class="org.apache.axis2.rpc.receivers.ejb.EJBMessageReceiver"/&gt;
         &lt;/messageReceivers&gt;
+        &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 @@
   |
   +--META-INF
   |    +--services.xml
-  |    +--HelloBeanService.wsdl
   |
   +--lib
   |    +--[jars used by the ejb client eg.initial context factory classes]



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message