Book Image

Oracle ADF 11gR2 Development Beginner's Guide

By : Vinod Thatheri Krishnan
Book Image

Oracle ADF 11gR2 Development Beginner's Guide

By: Vinod Thatheri Krishnan

Overview of this book

Oracle ADF is an end-to-end framework which makes application development simple by providing infrastructure services as well as visual and declarative development right away. "Oracle ADF 11gR2 Development Beginner's Guide" guides any user with programming skills to be able to quickly learn the options and ways to develop rich Internet applications using ADF 11gR2. Containing all the skills that a new user has to use to build an application in ADF 11gR2, this book is designed in such a way so that it enhances the practical feel of developing applications in ADF 11gR2. Starting with the installation and configuration of Oracle ADF 11g RD we will then work through topics such as working with the Model Layer and Model Data followed by displaying and binding the data. Later we will look at Navigations and Flows within applications as well as their layout, look, and feel. "Oracle ADF 11g R2 Development Beginner's Guide" will conclude with us looking at the security and deployment of the applications which have been created.
Table of Contents (19 chapters)
Oracle ADF 11gR2 Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
Index

Working with IDE configuration files


There are two files that are used to store the configuration information of JDeveloper IDE. To add memory to the IDE or JDeveloper during startup, we add the following appropriate Virtual Memory options to these files:

  • MW_HOME/jdeveloper/ide/bin/ide.conf

  • MW_HOME/jdeveloper/jdev/bin/jdev.conf

    Tip

    To increase the JDeveloper memory, set the following options in the appropriate files specified previously. Some of the JVM options are explained as follows:

    • AddVMOption is used to optimize the memory for JDeveloper IDE

    • Xms is the initial Java Heap size

    • Xmx is the maximum Java Heap size

    • XX:MaxPermSize is used to set the maximum Java permanent size

    Please note that the following setting depends on the available memory in your system:

    Add AddVMOption -Xms512M AddVMOption -Xmx1024M in ide.conf.

    Add AddVMOption -Xmx512M AddVMOption -XX:MaxPermSize=1024M in jdev.conf.

To configure the boot behavior of the IDE or JDeveloper, we modify the following files:

  • MW_HOME/jdeveloper/ide/bin/ide.boot

  • MW_HOME/jdeveloper/jdev/bin/jdev.boot

The settings for the files mostly correspond to the system properties. To configure the JDK-related properties for the IDE, modify MW_HOME/jdeveloper/ide/bin/jdk.conf.

For example, you can include options such as the following option for Java2D to allow DirectDraw usage in Windows:

AddVMOption  -Dsun.java2d.noddraw=true

You can add other VM options to the .conf files as well. The override sequence is jdk.conf, then ide.conf, followed by jdev.conf.

Tip

Use JAVA_HOME/bin/jvisualvm.exe to monitor and profile Jdeveloper.exe. This tool will also help you gather VM options and system properties of the currently running JDeveloper.

Have a go hero – look for other configuration files

Now it's time for you to verify all available configuration files in the middleware directory. Perform the following steps to verify configuration files:

  • What are the differences that you see between these files?

  • Try changing some properties such as -Dsun.awt.keepWorkingSetOnMinimize=false in your jdev.conf file and see how it affects the behavior of the IDE. This option becomes more responsive when JDeveloper IDE is restored after minimizing.