[srmi commit] r60 - wiki

0 views
Skip to first unread message

codesite...@google.com

unread,
Dec 25, 2007, 7:39:41 AM12/25/07
to srmi...@googlegroups.com
Author: mohammad.nabil.h
Date: Tue Dec 25 04:35:24 2007
New Revision: 60

Modified:
wiki/QuickStart.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/QuickStart.wiki
==============================================================================
--- wiki/QuickStart.wiki (original)
+++ wiki/QuickStart.wiki Tue Dec 25 04:35:24 2007
@@ -44,4 +44,15 @@
System.out.println(server.add(1,2));
}
}
-}}}
\ No newline at end of file
+}}}
+
+=== Built-in example ===
+SRMI jar have a built-in example to let you see it in action
out-of-the-box. Just have SRMI.jar in the same directory with a lib
directory which has the tools.jar and log4j-1.2.14.jar.
+
+ * Set the environment variable CLASSPATH to SRMI.jar and /somedir.
+ * Run rmiregistry on port 1111 ("rmiregistry 1111").
+ * Run the server : java -ea
-Djava.system.class.loader=SRMI.Tests.SRMIClassLoader -jar SRMI.jar server
+ * Run the client : java -ea
-Djava.system.class.loader=SRMI.Tests.SRMIClassLoader -jar SRMI.jar client
+ * Run the indirect client : java -ea
-Djava.system.class.loader=SRMI.Tests.SRMIClassLoader -jar SRMI.jar indrclient
+
+Enjoy :).
\ No newline at end of file

codesite...@google.com

unread,
Dec 25, 2007, 7:39:41 AM12/25/07
to srmi...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages