In this section, we create a JSP client to test the entity bean using a wrapper session bean.
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 JSP client, we look up the session bean and invoke the
test() method on it, which returns a
String. First, we create...