There is only one client application for this exercise,
Client_61
. It’s modeled after
the example in Chapter 6 of the EJB book. It
will use information you supply in the command-line parameters to
create Customer EJBs in the database.
To run the client, first set your JBOSS_HOME
and
PATH
environment variables appropriately. Then
invoke the provided wrapper script. You must supply data on the
command line, specifiying a primary key, first name, and last name
for each Customer. For example:
Client_61 777 Bill Burke 888 Sacha Labourey
For the sample command, the output should be:
777 = Bill Burke 888 = Sacha Labourey
The example program removes the created beans at the conclusion of operation, so there will be no data left in the database.