Skip to Main Content
Enterprise JavaBeans, Fourth Edition
book

Enterprise JavaBeans, Fourth Edition

by Sacha Labourey, Bill Burke, Richard Monson-Haefel
June 2004
Intermediate to advanced content levelIntermediate to advanced
792 pages
23h 17m
English
O'Reilly Media, Inc.
Content preview from Enterprise JavaBeans, Fourth Edition

Examine and Run the Client Applications

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.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Enterprise JavaBeans, Third Edition

Enterprise JavaBeans, Third Edition

Richard Monson-Haefel
Enterprise JavaBeans 3.1, 6th Edition

Enterprise JavaBeans 3.1, 6th Edition

Andrew Lee Rubinger, Bill Burke
Enterprise JavaBeans 3.0, 5th Edition

Enterprise JavaBeans 3.0, 5th Edition

Richard Monson-Haefel, Bill Burke

Publisher Resources

ISBN: 059600530XSupplemental ContentCatalog PageErrata