Appendix E. Supplemental Code Listings

Code listings that are mentioned, but not included, in the text of this book are included in this appendix. All the code in this appendix, as well as in the body of the book, can also be downloaded from the book’s web site at http://www.newInstance.com. The code in this appendix is vendor-neutral, and should be compileable by following steps in the chapters and other appendixes. The code listings are organized by topic; while this usually corresponds to chapters, each section specifies the areas of the text where the code fits in.

Additionally, this book commonly makes modifications to code shown earlier to facilitate later needs. For example, while Chapters Chapter 4 and Chapter 5 detail the Forethought entity beans, later chapters modify these same beans. It becomes difficult, at best, to track these changes in an appendix. To simplify things, then, the code in this appendix is always the final version of the code. In other words, a User entity bean listed here in reference to Chapter 4 or Chapter 5 actually includes any changes made in later chapters. For this reason, you may find yourself looking at code referred to by an early chapter, but which has modifications from later chapters that are beyond your current understanding. Don’t worry about it; the later chapters in the book ensure that you have a complete grasp of what is going on in all classes. If you want to see the code as it develops, chapter by chapter, you can download the code ...

Get Building Java Enterprise Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.