Top Banner
26
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 02JDevIntro
Page 2: 02JDevIntro

After completing this lesson, you should be able to do the following:

◦ List the benefits that JDeveloper provides for application development

◦ Use the features of the JDeveloper IDE ◦ Define IDE preferences ◦ Create applications, projects, and connections in

JDeveloper

Page 3: 02JDevIntro

◦ 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

Page 4: 02JDevIntro

◦ You can launch JDeveloper by: Double-clicking jdeveloper.exe in the <JDev Home> directory

Starting from the command line or a shortcut pointing to jdev.exe in the <JDev Home>\jdev\bin directory

◦ You can specify flags: For the user directory:

-J-Dide.user.dir=<path> For editor windows: -noreopen

Page 5: 02JDevIntro

When you install or launch JDeveloper, you need to specify:◦ Path to java.exe◦ A developer role

Page 6: 02JDevIntro

JDeveloper features that facilitate ease of application development include:◦ Application Navigator ◦ Database Navigator◦ Editor (code or visual editors)◦ Component Palette ◦ Resource Palette (IDE and Application)◦ Data Controls panel ◦ Structure Window ◦ Property Inspector ◦ Log Window

Page 7: 02JDevIntro

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

Expandable Panels

Minimizing a Panel

Restoring a Panel

Page 8: 02JDevIntro

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

View database elements Filter the display Create new connections

Create newconnection

Applyfilter

– Delete connections– Change connection properties– Open SQL Worksheet

Page 9: 02JDevIntro

Edit code:

Editproperties:

Visually edit task flows, diagrams, and pages:

Page 10: 02JDevIntro

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

Page 11: 02JDevIntro

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

Page 12: 02JDevIntro

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

Page 13: 02JDevIntro

3 4

1

2

6 7

8

9

5

Page 14: 02JDevIntro

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

Page 15: 02JDevIntro

Many of the windows in JDeveloper can be:◦ Maximized or restored◦ Opened or closed◦ Split or unsplit◦ Repositioned◦ Docked or undocked◦ Resized

Page 16: 02JDevIntro

Select Tools > Preferences to set options:

Page 17: 02JDevIntro

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

Page 18: 02JDevIntro
Page 19: 02JDevIntro

Application Overview shows details about the application’s:◦ Java files◦ XML files◦ Offline databases◦ Page flows◦ Web pages◦ ADF Business

Components◦ ADF binding files◦ EJB 3.0◦ Web services

It enables you to: ◦ Access:

Cue cards Tutorials Samples Guided steps Detailed help

◦ Create new objects

Page 20: 02JDevIntro
Page 21: 02JDevIntro

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

Page 22: 02JDevIntro

1 2

34

4

5

Page 23: 02JDevIntro
Page 24: 02JDevIntro
Page 25: 02JDevIntro

In this lesson, you should have learned how to:◦ List benefits that JDeveloper provides for application

development ◦ Use the features of the JDeveloper IDE ◦ Define IDE preferences ◦ Create applications, projects, and connections in

JDeveloper

Page 26: 02JDevIntro

This practice covers the following topics:◦ Setting preferences for the IDE◦ Creating a JDeveloper application, project, and

database connection◦ Viewing the course application in a browser and

identifying functionality