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 Navigator Editor (code or visual editors) Component Palette Resource Palette (IDE and Application) Data Controls panel Structure Window Property Inspector Log Window
Using JDevelopers Application Navigator Has expandable, minimizable panels to display: – Projects – Application resources – Data controls – Recently opened files Expandable Panels Restoring a Panel Minimizing a Panel
Using JDevelopers Database Navigator The Database Navigator: – Shows both IDE and application connections – Enables you to: View database elements Filter the display Create new connections Create new connection Apply filter
Using JDevelopers Editors Edit properties: Visually edit task flows, diagrams, and pages: Edit code:
Using JDevelopers 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 JDevelopers 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 JDevelopers 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 View Sort Show Methods, Fields, Static / Public Members Synch with Editor
Using JDevelopers Property Inspector
Using JDevelopers 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 Connection in JDeveloper