User: gropi
Date: 01/04/12 05:17:59
Modified: src/docs jbossintro.xml cmp.xml
Log:
corrected classpath contents of java command to run clients.
Revision Changes Path
1.11 +3 -8 manual/src/docs/jbossintro.xml
Index: jbossintro.xml
===================================================================
RCS file: /cvsroot/jboss/manual/src/docs/jbossintro.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- jbossintro.xml 2001/04/11 09:27:44 1.10
+++ jbossintro.xml 2001/04/12 12:17:59 1.11
@@ -718,17 +718,12 @@
directory and the server will generate a ClassLoader for it.</para>
<para>If the client program is at the top of the directory hierarchy,
with the
Bean classes below it, then we can run it like this:</para>
- <literallayout>
- <command>
-java -classpath $CLASSPATH:\
-/usr/local/jboss/client/jboss-client.jar:\
-/usr/local/jboss/client/jbosssx-client.jar \
-InterestClient</command>
+ <literallayout><command>
+java -classpath
/usr/local/jboss/client/jboss-client.jar:/usr/local/jboss/client/jbosssx-client.jar:/usr/local/jboss/client/jnp-client.jar:.
InterestClient</command>
</literallayout>
<para>Once again, this needs to go in a shell script or a Makefile;
you won't
want to type it more than once.</para>
- <para>Note the long CLASSPATH; it needs to include the JBoss client
classes
-and the EJB classes as well as the standard classpath (if any).
+ <para>Note the long CLASSPATH; it needs to include various JBoss
client classes. These classes implement the EJB interfaces with container provider
specific code, here JBoss. This is why we now no longer need to include the ejb.jar.
If all is well, the test client produces the following output: </para>
<literallayout>
<computeroutput>
1.8 +1 -1 manual/src/docs/cmp.xml
Index: cmp.xml
===================================================================
RCS file: /cvsroot/jboss/manual/src/docs/cmp.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- cmp.xml 2001/04/11 09:27:44 1.7
+++ cmp.xml 2001/04/12 12:17:59 1.8
@@ -641,7 +641,7 @@
JBoss client libraries, so the command line will be at least like this:</para>
<para>
<command>java -classpath
-$CLASSPATH:/usr/lib/jboss/client/jboss-client.jar:/usr/lib/jboss/client/jbosssx-client.jar
com.web_tomorrow.cd.List;</command>
+$CLASSPATH:/usr/lib/jboss/client/jboss-client.jar:/usr/lib/jboss/client/jbosssx-client.jar:/usr/lib/jboss/client/jnp-client.jar
com.web_tomorrow.cd.List;</command>
</para>
<para>If all is well, you will get a list of CDs.So we've created an
entity EJB, and
a client
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development