Organize your project directory

All the beans in this book are organized into packages, which means you must be a little more careful about compiling and running. Every instruction in this chapter assumes you’ve organized your project exactly the way it’s shown here. If you deviate from this structure, you’re on your own for mapping our command-line and deployment formulas to your own structure.

image with no caption

Organizing your terminal / command-line

image with no caption

compile from the src directory

run clients from the specific project directory

Get Head First EJB 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.