To create a new business components project:
1- Choose File | New. The New dialog opens.
2- Select General from the Categories tree and Workspace from the Items list. Click OK.
3- In the New Workspace dialog, enter bcbatch as the directory name and bcbatch.jws as the file name.
4- Ensure Add a new empty project is checked and click OK to create the workspace.
5- In the New Project dialog, enter OnlineOrders as the directory name and OnlineOrders.jpr as the project name.
6- Click OK to create a project for your business components.
7- In the Navigator, right-click the OnlineOrders.jpr file and choose New Business Components Package.
8- The Business Components Package Wizard appears. If the Welcome page appears, review the information there and click Next.
9- On the Package Name page, enter the name OnlineOrders and ensure Entity Objects mapped to database schema objects is selected. Click Next.
10- On the Connection page, in the Connection Name field, select tutorial_jdbc_connection. Click Next.
11- On the Business Components page, select the following tables:
o CUSTOMERS
o ORDERS
12- Click Finish to generate your business components.
13- Choose File | Save All to save your project.
14- Choose Project | Rebuild OnlineOrders.jpr to compile your project.
Now you are ready to initialize the client.