Personal tools
You are here: Home Framework How To Plugins 3.0 Create a Framework 3.0 Project with Oracle JDeveloper

Create a new Workspace

Select menu File -> New

Then select General -> Applications under Categories, then Application under Items.

jdevcreate_1.png




















Press Ok

Create Application

Application Name: Sample1

Directory Name: c:\Sample1

Application Package Prefix: com.foundation

Application Template: No Template

jdevcreate_2.png

















Press OK

Create Project

There is no need to create a project at this time. Foundation will create one for you in the next section.

jdevcreate_3.png










Press Cancel

Creating a Foundaton Project

Right click over the new Workspace Sample 1 and select New Project...

jdevcreate_4.png
















Alternatively go to menu File -> New and select the category General -> Projects

New Gallery

installjdev_2.png




















Select the Foundation Project and Click OK.

Welcome

jdevcreate_6.png



















Click Next

Step 1 of 5

jdevcreate_7.png



















Enter the project name, description and root directory for the project (a directory <project name> under this directory will be created).

Make sure that the Project Directory does not have a space in the path.

Click Next.

Step 2 of 5

jdevcreate_8.png



















Enter the Database Type: Oracle 10g or Oracle XE, hostname and port. The URL will be updated automatically. Edit the URL if necessary.

Click Next

Step 3 of 5

jdevcreate_9.png



















Enter the database username and password for this project.

Click Next.

Step 4 of 5

jdevcreate_10.png



















Leave the Manage Name as the default.

Modify the Default Package Name if necessary.

Click Next.

Step 5 of 5

jdevcreate_11.png



















Change the Business Class A, Business Class B and Business Association AB to suite the project.

  1. Each class must start with an F
  2. Business Association AB should be of the format FClassAClassBs

Click Next.

Summary

jdevcreate_12.png



















Click Finish.

Project Structure

The following project structure will now be created for you.

jdevcreate_13.png







































Defining the Application in the Database

Make sure you Oracle database is up and running.

Select the Run icon from the main tool bar.

jdevcreate_14.png







Select Define

This will startup the application in define mode and bring up on the Database Definition window

jdevcreate_16.png























Enter the system password, or another user with DBA privileges and press Create Schema

The following warning message will appear, reminding you that the database user will be deleted and recreated.

jdevcreate_17.png












Press OK.

The database will now be built

When the database has been created and the test data loaded.

jdevcreate_18.png






Press OK when it is complete and exit the Database Definition window.

Any errors will be outputted to the JDeveloper Running Log.

Running the Application

Select the Run icon from the main tool bar.

jdevcreate_15.png







Select ClientServer

This will startup the application in clientserver mode and bring up on the default splash screen

jdevcreate_21.png











Login with the default administrator username: admin, with the password: password. These values are defined in the FUser.csv.

jdevcreate_19.png






Login with the same username and password you used when you created the project. If you have forgotten it is stored in the FUser.csv file in the data directory.

jdevcreate_20.png













































Help

For any additional support check out the foundation website www.foundationdms.com or email support@foundationdms.com.