Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle ADF 11gR2 Development Beginner's Guide

You're reading from   Oracle ADF 11gR2 Development Beginner's Guide Oracle ADF is one of the easiest ways to develop rich internet applications. All you need is a little Java to get the most from this book as it takes you step-by-step from installation, to development, to implementation.

Arrow left icon
Product type Paperback
Published in Apr 2013
Publisher Packt
ISBN-13 9781849689007
Length 330 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Vinod Thatheri Krishnan Vinod Thatheri Krishnan
Author Profile Icon Vinod Thatheri Krishnan
Vinod Thatheri Krishnan
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Oracle ADF 11gR2 Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
1. Installing and Configuring JDeveloper IDE FREE CHAPTER 2. Getting Started with ADF 3. Understanding the Model Layer 4. Validating and Using the Model Data 5. Binding the Data 6. Displaying the Data 7. Working with Navigation Flows 8. Layout with Look and Feel 9. Implementing Security 10. Deploying the ADF Application 11. Advanced Features of ADF Index

Time for action – creating a catalog


  1. Click on the folder icon in the Resource palette.

  2. Select the New Catalog option from the drop-down menu.

  3. Provide the name catalog in the Name box.

  4. Click on OK to see the new catalog listed in the My Catalog section.

  5. To add a resource to the catalog, you will have to right-click on the resources that are listed in the IDE connections menu. You can add resources from a filesystem connection that is mapped to any of your preferred folders.

  6. Select the Add to Catalog option from the menu.

  7. Select the catalog that you have created from the option.

  8. Click on OK to add the resource to the catalog.

  9. Now the resource will be added to the catalog.

What just happened?

We have now created a catalog for our IDE for the frequent use of resources. Resources added to the catalog are available for the IDE, and we can make use of these resources in different applications and projects.

IDE Connections will have all the connections that are added for the particular IDE. We can use the connections from this window and add them to a particular project by dragging-and-dropping them onto the project displayed in the Database Navigator plugin.

The Component palette

The Component palette will display all the available components that can be added to the UI page. This palette is categorized with different components based on the technology available for the current project. Within each technology available for the project, components are further classified based on behavior. There is an option to search for the component using the search box available at the top of the palette.

Different components are available for different files. For example, the ADF Faces components are displayed if you have the index.jspx file as your current open file from a project that supports ADF technology.

Have a go hero – components available for IDE

Now it's time for you to explore different components available for different technologies. Use the EmpDirectoryApplication file for your analysis. Perform the following to check for the components available for the IDE:

  • What are the components listed in the palette for web.xml?

  • Open trinidad-config.xml and check if it's listing the same components as in web.xml.

Run Manager

Run Manager will display all the current running processes and give an option to terminate whenever needed. This is not shown by default and can be enabled from the View menu.

The Log window

The Log window will display log messages related to the projects. There are other tabs embedded within the Log window to categorize the logs that are generated, as follows:

  • IntegratedWeblogicServer: This displays the log information of the integrated WebLogic server. This Log window is helpful in identifying application errors during runtime. It will display the log information while starting and stopping the server.

  • Messages: This tab displays the compilation logs.

  • Extensions: This tab will display logs related to the installed IDE extensions.

  • Compiler: This tab will display the warnings and errors that occurred while the project was being compiled.

Code editor

You will use the code editor section to write the code. The Java code file can be opened in the editor by double-clicking on the Application Navigator window. There are different options available within the code editor that will be helpful to run the code efficiently.

Code editor views

  • Design: Files with extension such as .jsff or .jspx which represent a UI page will have a Design mode added to design the pages.

  • Source: The Source tab is added for all the files where a user can change the content using the code editor.

  • Bindings: This section will help the user interact with the data bindings bounded to the UI components. The page-definition file will hold the binding information, and it is shown in this view.

  • Preview: This will help to preview the page designed and imitate the components rendered at runtime.

  • History: This view is common for all files, and the local history of the file changes is tracked in this view.

Property Inspector

The Property Inspector pane will help to alter the property of the currently selected component or tag in the Design or Source mode of a page.

All the previously explained windows and panels are available in the View menu.

Have a go hero – code editor and Property Inspector

Now it's time for you to check the usage of the code editor and the Property Inspector pane as follows:

  • Open the adfc-config.xml file and check how many views are available. Check the Overview tab and see the options to configure the properties declaratively.

  • Open the Source tab and select any of the tags to see the changes in the Property Inspector window.

Pop quiz

Q1. Which role will enable all the features of the IDE?

  1. Database developer

  2. Java developer

  3. Studio developer

Q2. Which IDE component is used to drag the model data and drop it on the UI page?

  1. Application Navigator

  2. The Data Controls palette

  3. The Resource palette

Q3. IDE connections are created only for an application in JDeveloper.

  1. True

  2. False

Q4. _________ and _________ are the two folders displayed in the Application Resources panel of the IDE.

Q5. Which of the following features are supported in JDeveloper?

  1. Drag-and-drop

  2. Docking

  3. Floating

  4. Searching

  5. All of the above

You have been reading a chapter from
Oracle ADF 11gR2 Development Beginner's Guide
Published in: Apr 2013
Publisher: Packt
ISBN-13: 9781849689007
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime