1. General setup
1.1. Copy tools.jar from my/jdk/lib/tools.jar to the /orion directory
(needed for EJB and JSP compilation).

1.2. For the product and usermanager EJB to deploy correctly you need an
installed data-source, info on how to install one can be found in
docs/data-sources-howto.txt.

1.3. To install the EJB-samples add the following tag to config/server.xml
between the <application-server> and the </application-server> tag:
<application name="ejbsamples" path="../demo/ejb" />

1.4. For remote RMI access you also need to activate the admin user account,
this is done by removing deactivated="true" on the admin user config
in principals.xml.


2. Running the cart-client:
2.1. Make sure Orion is up and running.

2.2. Change directory to the demo/ejb/cart directory.

2.3. Start the client by typing:
java -classpath ../../../orionclient.jar;. CartClient
(use ':' insted of ';' as path-separator on UNIX)

2.4 When prompted for the admin users password, enter the password of the 
admin user.


3. Running the product-client:
3.1. Same steps as above but with 'product' instead of 'cart'.

4. Installing the EJBUserManager:

4.1. Add the following to META-INF/orion-application.xml:
	<user-manager class="com.evermind.ejb.EJBUserManager">
		<property name="home" value="com.evermind.ejb.EJBUser" />
		<property name="defaultGroups" value="users" />
	</user-manager>

