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

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.

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