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


Entity beans "Account"
----------------------

AccountImpl	entity bean with "container managed" persistance
AccountExpl	entity bean with "bean managed" persistance

These beans are run in an EJBServer, with a command like this one:
	EJBServer

You must wait for these messages before running clients:
EJBHome:eb.JOnASAccountImplBeanAccountHome for AccountImplBean available
EJBHome:eb.JOnASAccountExplBeanAccountHome for AccountExplBean available
EJBServer is ready


Compiling this example:
-----------------------
On $JONAS_ROOT/example/src/eb, run the compile script,
 - compile.sh on Unix or
 - compile.bat on Windows.

If the gnu make is installed on your machine you can also build this example
by using the Makefile as it is defined in the $JONAS_ROOT/example/README.

If the Ant 1.4 build tool is installed on your machine you can also build this
example by using the build.xml as it is defined in the $JONAS_ROOT/example/README.


Running this example:
---------------------
Your database access should be configured: a properties files defining a
  Datasource object should be defined in $JONAS_ROOT/config (e.g. InstantDB1.properties),
  and the property jonas.service.dbm.datasources of the jonas.properties file should
  be set to the name of this datasource description file (e.g. InstantDB1). See JOnAS
  documentation for more details.

On Unix:
Run an EJB Server to make beans available to clients:
	cd $JONAS_ROOT/examples/src/eb	
	EJBServer
Run the client programs:
	. $JONAS_ROOT/bin/unix/config_env	# set CLASSPATH
	java eb.ClientAccount AccountImplHome
	java eb.ClientAccount AccountExplHome

On Windows:
Run an EJB Server to make beans available to clients:
	cd %JONAS_ROOT%\examples\src\eb
	EJBServer
Run the client programs:
	config_env	# set CLASSPATH
	java eb.ClientAccount AccountImplHome
	java eb.ClientAccount AccountExplHome

