nmukhi 2003/01/16 10:06:17
Added: java/samples/ejb/client/jboss_setup README.html
java/samples/ejb/service/deploy/jboss README.html
Log:
JBoss-specific instructions for EJB sample
Revision Changes Path
1.1 xml-axis-wsif/java/samples/ejb/client/jboss_setup/README.html
Index: README.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Nirmal Mukhi">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>Web Services Invocation Framework: Samples</title>
<link rel="stylesheet" href="wsif.css" type="text/css"></head>
<body alink="#0000ff" bgcolor="#ffffff" leftmargin="2" topmargin="2" marginwidth="2"
marginheight="2">
<h2>
Web Services Invocation Framework:<br>
Setting up the EJB Sample in a JBoss client environment</h2>
<ul>
<li>Setting up the classpath: We have written a script to set up the client
environment. To run this script, make sure you are in your base WSIF directory (the
one that contains the <tt>classpath.bat</tt> script. Set the variable
<tt>JBOSS_HOME</tt> to point to your JBoss installation. From there, run the command
<tt>samples\ejb\client\jboss_setup\jboss.bat</tt>. This sets up the entire client
classpath required to run the sample using JBoss client JAR files.</li>
</ul></body>
1.1 xml-axis-wsif/java/samples/ejb/service/deploy/jboss/README.html
Index: README.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Nirmal Mukhi">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>Web Services Invocation Framework: Samples</title>
<link rel="stylesheet" href="wsif.css" type="text/css"></head>
<body alink="#0000ff" bgcolor="#ffffff" leftmargin="2" topmargin="2" marginwidth="2"
marginheight="2">
<h2>
Web Services Invocation Framework:<br>
Deploying the EJB Sample in a JBoss environment</h2>
<ul>
<li>Deploying the sample:
We have included in this directory a pre-packaged jar that contains the compiled
beans and the configuration files required by JBoss. All you need to deploy to JBoss
is to drop this <a href="addressbook.jar">addressbook JAR file for JBoss</a> (assuming
you use the default server configuration) into <tt>server/default/deploy</tt> under
your JBoss server installation, and start your server. This has been tested with JBoss
version 3.0.4 running on Windows 2000, with the sample client running on Windows 2000
and using WSIF in a Java 1.4.1 environment.</li>
<li>Configuring the WSDL: Under the <tt><port></tt> section of the <a
href="../../AddressBook.wsdl">Addressbook WSDL</a> file, stick in the following
deployment information, which is specific to deployment in a JBoss environment:
<p><tt><pre>
<!-- JBoss specific EJB endpoint -->
<ejb:address className="ejb.service.AddressBookSessionHome"
jndiName="ejb/service/AddressBook"
initialContextFactory="org.jnp.interfaces.NamingContextFactory"
jndiProviderURL="localhost"/>
</pre></tt></p></li></ul></body>