Introduction to JDeveloper. Benefits of Using JDeveloper Standard, open, and extensible Improved...

Preview:

Citation preview

Introduction to JDeveloper

Benefits of Using JDeveloper

• Standard, open, and extensible• Improved productivity

– Visual and declarative– Simpler development of Java EE applications

• “Productivity with Choice”– Technology stacks– Development approaches– Development platform– Data sources– Application servers

Using JDeveloper Features

• JDeveloper features that facilitate ease of application development include:

Application Navigator Database NavigatorEditor (code or visual editors)Component Palette Resource Palette (IDE and Application)Data Controls panel Structure Window Property Inspector Log Window

Using JDeveloper’s Application Navigator

• Has expandable, minimizable panels to display:– Projects– Application resources– Data controls– Recently opened files

Expandable Panels

Restoring a PanelMinimizing a Panel

Using JDeveloper’s Database Navigator

• The Database Navigator:– Shows both IDE and application connections– Enables you to:

• View database elements• Filter the display• Create new connections

Create newconnection

Applyfilter

Using JDeveloper’s Editors

Editproperties:

Visually edit task flows, diagrams, and pages:

Edit code:

Using JDeveloper’s Component Palette

• The Component Palette enables you to:– Display the components available to drag to visual editor– Search for components– Display the favorites and recently used components

Using JDeveloper’s Resource Palette

• The Resource Palette:– Contains two types of

resources:• Catalogs• Connections

– Provides single searchable view of and access to many types of resources

– Facilitates sharing resources among developers

Toolbar: Create/Import or Search

Using JDeveloper’s Structure Window

• The Structure Window provides:– A tree view of selected document or object– The ability to:

• View in different ways• Navigate

Freeze / Unfreeze

New ViewSort

Show Methods, Fields, Static / Public Members

Synchwith Editor

Using JDeveloper’s Property Inspector

3 4

1

2

6 7

8

9

5

Using JDeveloper’s Log Window

• The Log window:– Displays JDeveloper

messages, such as logging and compilation messages

– Has one or more tabs: A Messages tab and additional tabs depending on what is occurring

– Displays standard output (such as System.out.println() messages)

– Has context menu for clearing, wrapping, saving output, searching, and so on

Getting Started in JDeveloper

• To build an application in JDeveloper, you need to define:– An application– One or more projects– A database connection

Creating an Application in JDeveloper

Creating a Project in JDeveloper

Creating Database Connections

• Two types:– IDE:

• Available to be added to any application• Create in Database Navigator or Resource Palette• To add to an application, drag to Application Resources or to an

application in Database Navigator

– Application: • Owned by a specific application• Create in Database Navigator or Application Resources

Creating a Database Connectionin JDeveloper

1 2

34

4

5