Chapter 20. Introduction

This workbook is designed to be a companion for O’Reilly’s Enterprise JavaBeans, Fourth Edition, by Richard Monson-Haefel, for users of JBoss™, an open-source J2EE™ application server. The goal of this workbook is to provide step-by-step instructions for installing, configuring, and using JBoss, and for deploying and running the examples from Enterprise JavaBeans.

This workbook is based on the production release of JBoss 4.0 and includes all the EJB 2.0 examples from the Enterprise JavaBeans, Fourth Edition book. All the examples in this workbook will work properly with JBoss 4.0 and above, but not with earlier versions of JBoss.

Contents of the JBoss Workbook

The workbook is divided into three sections:

JBoss Installation and Configuration

Walks you through downloading, installing, and configuring JBoss. Also provides a brief overview of the structure of the JBoss installation.

Exercises

Contains step-by-step instructions for downloading, building, and running the example programs in Enterprise JavaBeans, Fourth Edition (for brevity, this workbook calls it “the EJB book”). The text also walks through the various deployment descriptors and source code to point out JBoss features and concerns.

Appendix

Provides useful information that did not fit neatly in the other sections, including a collection of XML snippets for configuring a few popular JDBC drivers from various database vendors.

The workbook text for each exercise depends on the amount of configuration required for the example program, but generally also include s instructions on:

  • Compiling and building the example code

  • Deploying the EJB components to the application server

  • Running the example programs and evaluating the results

The exercises were designed to be built and executed in order. Every effort was made to remove any dependencies between exercises by including all components each one needs in the directory for that exercise, but some dependencies still exist. The workbook text will guide you through these where they arise.

Also note that this workbook is not intended to be a course on database configuration or design. The exercises have been designed to work out-of-the-box with the open-source database Hypersonic SQL, which is shipped with JBoss, and the application server creates all database tables automatically, at run time.

Online Resources

This workbook is designed for use with the EJB book and with downloadable example code, both available from our web site:

http://examples.oreilly.com/entjbeans4/

We will post any errata here, and any updates required to support changes in specifications or products. This site also contains links to many popular EJB-related sites on the Internet.

We hope you find this workbook useful in your study of Enterprise JavaBeans and the JBoss open source J2EE implementation. Comments, suggestions, and error reports on the text of this workbook or the downloaded example files are welcome and appreciated. Please post on the JBoss Forum:

http://www.jboss.org/index.html?module=bb&op=viewforum&f=152

In order to obtain more information about JBoss or the JBoss project, visit the project’s web site:

http://www.jboss.org/

There you will find links to detailed JBoss documentation, online forums, and events happening in the JBoss community. You will also be able to obtain detailed information on JBoss training, support, and consulting services.

JBoss, Inc. has also produced books on JBoss and other J2EE standards, among them JBoss Administration and Development by Marc Fleury and Scott Stark, and JMX: Managing J2EE with Java Management Extensions by Marc Fleury and Juha Lindfors.

Acknowledgments

We would like to thank Marc Fleury, the founder of JBoss, for recommending us for this book and Richard Monson-Haefel for accepting the recommendation. We would also like to thank Greg Nyberg, the author of the WebLogic edition in this series of workbooks. The example programs he provided in his workbook were a great starting place for us and made our lives much easier.

Special thanks also go out to those who reviewed and critiqued this work: the members of JBoss Inc., Daniel Ruflé, and Thomas Laresch. We would like to publicly recognize the series editor, Brian Christeson, for his courage and bravery for digging so deeply in this book and relentlessly hunting down our anglish misthakes (especially Sacha’s Franco-British dialect).

Finally, Bill would like to thank his wife for putting up with all his whining and complaining, and Sacha promises Sophie that he will no longer use the writing of this workbook as an excuse for being late for any of their rendezvous.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.176.228