snichol     2002/11/19 06:33:18

  Modified:    java/docs/install iPlanet.html
  Log:
  Add information about exposing EJBs.
  
  Revision  Changes    Path
  1.4       +30 -2     xml-soap/java/docs/install/iPlanet.html
  
  Index: iPlanet.html
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/docs/install/iPlanet.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- iPlanet.html      16 May 2002 13:27:23 -0000      1.3
  +++ iPlanet.html      19 Nov 2002 14:33:18 -0000      1.4
  @@ -5,7 +5,7 @@
   <META content="Christopher P Kampemeier" name=Author></HEAD>
   <BODY bgColor=#ffffff>
   <H1><B><FONT size=+3>Installing Apache SOAP on iPlanet Application 
  -Server</FONT></B></H1><I>Updated May 24, 2001</I> 
  +Server</FONT></B></H1><I>Updated November 19, 2002</I> 
   <P>This document describes how to install Apache SOAP 2.3 on iPlanet Application 
   Server 6.0 and how to exercise the Apache SOAP samples. 
   <BLOCKQUOTE>
  @@ -17,7 +17,8 @@
     Samples</A> </P>
     <P><A href="#next-steps">Next Steps</A></P>
     <P><A href="#db-file">Changing Location of the Deployed Services Configuration 
  -  File </A></P></BLOCKQUOTE>
  +  File </A></P>
  +  <P><A href="#ejb">Exposing an EJB as a SOAP Service </A></P></BLOCKQUOTE>
   <H1><A name=install-apache-soap></A><B>Installing Apache SOAP</B> </H1>
   <OL>
     <LI>Deploy the Apache SOAP Web Application 
  @@ -380,5 +381,32 @@
   service configuration was persisted to the new configuration file. Open the 
   services configuration file in an editor to double check that the services are 
   being registered in the new file.</P>
  +
  +<H1><A name="ejb"></A>Exposing an EJB as a SOAP Service </H1>
  +<P>Apache SOAP includes providers for exposing EJBs as SOAP services.  The
  +provider and parameters for the EJB are specified in the deployment
  +descriptor for the service.  An example is:</P>
  +<BLOCKQUOTE><PRE><FONT color=#000099>
  +&lt;?xml version=&quot;1.0&quot;?&gt;
  +&lt;isd:service xmlns:isd=&quot;http://xml.apache.org/xml-soap/deployment&quot;
  +  id=&quot;urn:ejbhello&quot;&gt;
  +  &lt;isd:provider type=&quot;org.apache.soap.providers.StatelessEJBProvider&quot;
  +  scope=&quot;Application&quot;
  +  methods=&quot;create&quot;&gt;
  +  &lt;isd:option key=&quot;JNDIName&quot; value=&quot;ejb/TheGreeter&quot; /&gt;
  +  &lt;isd:option key=&quot;FullHomeInterfaceName&quot;
  +              value=&quot;samples.helloworld.ejb.GreeterHome&quot; /&gt;
  +  &lt;isd:option key=&quot;ContextProviderURL&quot; value=&quot;&quot; /&gt;
  +  &lt;isd:option key=&quot;FullContextFactoryName&quot;
  +              value=&quot;com.netscape.server.jndi.RootContextFactory&quot;/&gt;
  +  &lt;/isd:provider&gt;
  +  
&lt;isd:faultListener&gt;org.apache.soap.server.DOMFaultListener&lt;/isd:faultListener&gt;
  +&lt;/isd:service&gt;
  +</FONT></PRE></BLOCKQUOTE>
  +<P>Apache SOAP must be able to load the classes referenced in this file, namely
  +the home interface for EJB and the context factory, as well as classes on which
  +those depend.  The context factory is already loadable from Web applications.
  +The EJB classes or jars should be copied to the WEB-INF/classes or WEB-INF/lib,
  +respectively, directory of the SOAP web application.</P>
   <HR width="100%" SIZE=1>
   </BODY></HTML>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to