02JDevIntro
-
Upload
surendra-babu -
Category
Documents
-
view
213 -
download
0
Transcript of 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
◦ 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
◦ 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
When you install or launch JDeveloper, you need to specify:◦ Path to java.exe◦ A developer role
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
Has expandable, minimizable panels to display:◦ Projects◦ Application resources◦ Data controls◦ Recently opened files
Expandable Panels
Minimizing a Panel
Restoring a Panel
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
Edit code:
Editproperties:
Visually edit task flows, diagrams, and pages:
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
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
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
3 4
1
2
6 7
8
9
5
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
Many of the windows in JDeveloper can be:◦ Maximized or restored◦ Opened or closed◦ Split or unsplit◦ Repositioned◦ Docked or undocked◦ Resized
Select Tools > Preferences to set options:
To build an application in JDeveloper, you need to define:◦ An application◦ One or more projects◦ A database connection
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
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
1 2
34
4
5
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
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