As we shall be invoking the entity bean, which is in the model project, from the
JSP, which is in the ViewController project, we need to add a dependency in the
ViewController project on the Model project. Select Tools | Project Properties and
select Dependencies . Click on the Edit Dependencies button.
In the Edit Dependencies window, select EJB3Model | Build Output and click on
OK , as shown: