Step 1: Creating a New Workspace and Project
In this section, you will be introduced to the JDeveloper integrated development environment.
In JDeveloper, the source code files that make up your programs can be organized into projects. A project can contain one or more files representing different "tiers" of a multi-tier application, or different subsystems of a very complex application. Projects, in turn, are organized into workspaces. A workspace might consist of multiple projects, all of which make up an entire application. You can have as many workspaces as you like open at one time.
When you launch JDeveloper for the first time, you should see the System Navigator docked on the left. The Navigator is the main point of interaction with your source files. From it, you can create new objects, import files, launch editors for a specific object, create connections, and so on. Within it, you organize your files in terms of workspaces and projects.
To create a new workspace and project:
The New Gallery appears, containing objects and other source files or tools you create to populate and manage your projects.
By default, JDeveloper creates a folder entitled
which it stores all your project and workspace files. The directory structure
Workspacen/Projectn/src for source files
Workspacen/Projectn/classes for compiled
.class files are stored by
The workspace and project container files (
respectively) are stored at the first level of
Projectn for each workspace and project. These
container files store metainformation for the workspace and project, the
settings for each and a listing of the contained files. The
file for a standard project maintains a list of that projects contents,
as well as the project settings you have defined. The
for a project based upon a directory (sometimes called a dynamic project)
contains only the project settings. Projects based upon directories derive
their contents actively from the current directory.
You can also choose to save your files outside JDeveloper by redirecting
JDeveloper to this location. Every time you save your files, this directory,
whether inside or outside JDeveloper, is updated. But note that the
.jpr files do not update unless you explicitly save them
or save all files.
The new workspace and its project are displayed in the Navigator.
Now that you have a skeletal workspace and project, you are ready for the next task, Step 2: Creating a User Interface.