Copyright (C) BULL S.A. 1998-2002.


Compiling this example:
-----------------------
You can either use the compile script :
 	compile.sh (Unix)
 	compile.bat (Windows)

or if the Ant 1.5 build tool is installed on your machine, just run :
	ant install

Running this example:
---------------------
1) Run the JOnAS EJB Server to make beans available to clients:

on UNIX:
	cd $JONAS_ROOT/examples/src/sb	
	jonas start 
On Windows:
	cd %JONAS_ROOT%\examples\src\sb
	jonas start

You should see something like this when the bean is loaded :
	...
	Op available
	The JOnAS Server 'jonas' version x.y.z is ready and running on rmi

2) Run the client program:

on UNIX:
	jclient -cp "$JONAS_ROOT/ejbjars/sb.jar" sb.ClientOp

On Windows:
	jclient -cp "%JONAS_ROOT%\ejbjars\sb.jar" sb.ClientOp
	
In fact, the "-cp" option is not useful here, because classes are found in the CLASSPATH.

3) Stop the jonas server
	jonas stop
