Tutorials > Program model > Add a finder to an existing entity bean
Modify the Java build paths
The Order-OrderCaptureData project requires the WebSphereCommerceServerExtensionsData project in its Java build path to compile properly. Also, the WebSphereCommerceServerExtensionsLogic project requires the Order-OrderCaptureData project in its Java build path to be able to access its methods.
To modify the Java build paths:
Procedure
- Add the WebSphereCommerceServerExtensionsData project to the Order-OrderCaptureData project's Java build path:
- In the Enterprise Explorer view, select Order-OrderCaptureData.
- Right-click on Order-OrderCaptureData and select Properties.
- Select Java EE Module Dependencies.
- In the list of JAR/Module tab, select WebSphereCommerceServerExtensionsData.jar.
- Click OK. Rational Application Developer rebuilds the workspace.
- In the Enterprise Explorer view, select EJB Projects > Order-OrderCaptureData.
- Right-click on Order-OrderCaptureData and select Build project.