Create webapp1.deploy as WAR deployment profile for PresentationServices.jpr for standalone OC4J.

Application Assembly should include both ejb1.deploy,webapp1.deploy.

At this point project may be deployed to remote OC4J instance or OAS10gR2 (J2EE&WebCashe) on Linux Box and work with remote box hosting Oracle 9i or 10g database on Linux,exactly as it works with local database on Windows.

Adding new Toplink Query against view TeamDriverID to RacingFacade EJB

1.In the PersistenceServices project, select Teamdriverid.java in the racing.objectmodel

package and choose Tools | Implement Interface.... from the menu.

From the Available interface list select the java.io.Serializable class and click OK.

Click the Save All button to save your work.

2. In the EJB Diagram, double-click the racingFacade EJB to launch the EJB Module editor.

Select racingFacade > Methods in the left hand navigator

On the right hand side panel , choose Business Methods in Method category and click Add.

In the Business Method Details dialog, set the following:

Name: TeamConsService

Return Type: java.util.Collection

Parameters: String constructorname

Select the checkboxes for Expose through Remote Interface and Expose

through Local Interface. Click OK, then click OK in the EJB Module editor.