4.1. Setting up the source tree

Full source code for this example may be found in the source code package on the book Web site (www.kevinboone.com/ejb_book) in the directory ‘interest.’

In what follows I will use the abbreviation ‘[root]’ to mean the root (top) of your source tree; this will, of course, be a directory of your choice. Now there are, of course, many ways to structure a Java source tree, each having their own adherents. For EJB work, my preference is to divide the source tree into three parts: one part for the code that is only ever deployed on the server; one part for code (interfaces and utility classes) that must be the same on both the client and server side of the distributed interaction; and one part for test clients. For ...

Get Applied Enterprise JavaBeans™ Technology 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.