Creating a Project in the BlackBerry JDE

Create the BlackBerry project and add the generated mobile business object (MBO) Java files to the BlackBerry JDE.

  1. Launch the BlackBerry JDE and create a new workspace.
  2. Create a BlackBerry project and name it supClients.
  3. Right-click the project and select Properties.
  4. In the properties dialog, select the Application tab, specify Application for Project type and select Always make project active in the General tab of the properties for the project.
  5. Select the Build tab, and click Add next to “Imported jar files.” Add files as described in Developer Guide for BlackBerry > Development Tasks Flows > Creating Projects and Importing Files into the BlackBerry Development Environment > Adding Required .jar and .cod Files.
  6. Click OK.
  7. Copy the MBO generated Java code from the generated location to the project location.
    • MBO generated code – references the Client object API and contains the Java files that implements the business logic of your project. Navigate to the src subdirectory where you generated the Java code from your Unwired WorkSpace mobile application. This location is dependent on the workspace that you used.

      For example, if your workspace is in the C:\myBBapplications directory and the name of the mobile application project is test, navigate to C:\myBBapplications\test\Generated Code\src\test and copy all of the .java files to your project.