Ejb3+Tutorial+3+-+Setting+up+the+Project

First we need to start with a project. Rather than having to copy all of JPA Tutorial 3, instead use the following 7-zip file:. You are welcome to use your version of Jpa Tutorial 3, however if you do these instructions might not match your experience.

Note that this file already has a **conf** directory as described in EJB3 Tutorial 1 - Create and Configure and the classpath is already already set.


 * 1) Extract this file using 7-zip. Place the contents of this archive under your workspace directory. For example, if your workspace directory is **c:\workspaces\Ejb3JpaTutorials**, after extracting the contents of this archive, you'll have a new directory named **c:\workspaces\Ejb3JpaTutorials\Ejb3Tutorial3**.
 * 2) Next, import the project into your workspace
 * 3) Start eclipse and open your workspace directory (if you're already in Eclipse, you do **not** need to restart)
 * 4) Pull down the **File** menu and select **import**
 * 5) Expand **General**
 * 6) Select **Existing Projects into Workspace**
 * 7) Click **Next**
 * 8) Select root directory is already selected, click on Browse
 * 9) Select the directory you created when you extracted the archive (**c:\workspaces\Ejb3JpaTutorials\Ejb3Tutorial3**)
 * 10) Click **OK**
 * 11) Click **Finish**

Verify that everything compiled successfully. Once you've fixed any compilation problems, run the unit tests. You might notice a few warnings and even some **Fatal** logging statements, but the tests should pass. As we migrate this solution to use EJB's, these errors will eventually go away based on how we change our test setup.