Pages

Wednesday 8 October 2014

Tips & Tricks Of J Developer 12C(12.1.2.0) :




Performance Tunning & Set-Up Physical Memory :

1. Change the look and feel of J Developer IDE rather using default personalize Oracle theme.     Change it to Windows.

          Tools -> Preferences -> Environment -> Look and Feel

2. Change following things in Tools -> Preferences -> Environment


     -------->    Disable "Automatically Reload Externally Modified Files"

- This is not always necessary, but can make a big difference on really slow file systems or if you keep a very large number of files open in the IDE and switch between applications frequently.


      -------->   Disable "Check for Externally Modified Files on Startup" and use  ojindex to                             prebuild source indexes.

- The first time you run JDeveloper on a large project it will create a source index in the background. You can run this process as part of your nightly build process so all developers using a standard project setup can use the prebuilt index. This saves some work on startup.



Tools/Preferences/Environment






Unchecked It.....................






3. We have discovered, that we can disable ADF Faces Rich Client animation functionality globally, just by adding one line in trinidad-config.xml file:
         

           <animation-enabled>false</animation-enabled

If you really don't need animation effect, this will help greatly when rendering LOV, popups, drawing data tables and etc. By disabling animation, artificial delay of components rendering is removed and this allows to achieve better UI performance.


4.  Disable unwanted or unused extensions in your J Developer IDE by uncheck it in extensions preferences of tools.

     Tools -> Preferences->Extensions



Restart Jdeveloper after disabling or unchecking extensions. You can disable extensions such related to UML, BugFinder etc.

5.  Change the default editor for jsff page ,xml and other used file to Source rather than Design or Overview.
To do :
      Tools -> Preferences -> FileTypes -> DefaultEditor tab




  Set-Up Physical Memory :
6. Increase max and min memory for Jdeveloper in ide.conf located at following path:
      <your-oracle-middle-directory> -> jdeveloper -> ide -> bin -> ide.conf
Memory should not be too high other Jdeveloper will use much of memory for caching .. So try to use it as physical memory


 One more thing you can do is assign Jdeveloper process the highest priority in task manger.

Go to Jdev64.exe process then set pripority to high So Ram Capacity mainly focus to Jdeveloper.




7. A reader has informed me that this line:

        #AddVMOption -XX:+AggressiveOpts


Breaks offline database support in JDeveloper... so that one will have to be avoided in some cases.


Oracle J Dev 12c Performance Enhancement :

Performance Enhancement : 
                
    The Jdeveloper have some performance Enhancement so please follow the following steps


 Increase Heap Size
                                                                                         
     To increase the heap size for Jdeveloper to performance high speed usage of Jdeveloper.

Go to Installation path of Jdeveloper like below directory...........

-->go D:\Oracle\middleware\Jdeveloper\Ide\bin\Ide.Conf


1. Open the file ide\bin\ide.conf, scroll down to the default memory settings:
       
# If you are getting the 'Low Memory Warning' Message Dialog while running
# JDeveloper, please increase the -Xmx value below from the default 800M to
# something greater, like 1024M or 1250M.  If after increasing the value,
# JDeveloper is no longer starting up because it fails to create a virtual
# machine, then please reduce the modified -Xmx value, or use a 64bit JDK
# which allows for very very large value for -Xmx.
#
AddVMOption  -Xms128M
AddVMOption  -Xmx768M

2. Boost the memory to something larger, like so:
AddVMOption  -Xmx1024M
AddVMOption  -Xms1024M
     
3. Open the file jdev\bin\jdev.conf

4.Add the following config settings:

As JDeveloper runs on JVM you can configure setting related to JVM in jdev.conf. You can enter following configurations at following path in jdev.conf <your-oracle-middle-directory> -> jdeveloper -> jdev -> bin -> jdev.conf
You need to enter following options for VM:
# optimize the JVM for strings / text editing
AddVMOption -XX:+UseStringCache
AddVMOption -XX:+OptimizeStringConcat
AddVMOption -XX:+UseCompressedStrings
# if on a 64-bit system, but using less than 32 GB RAM, this reduces object pointer memory size
AddVMOption -XX:+UseCompressedOops
# use an aggressive garbage collector (constant small collections)
AddVMOption -XX:+AggressiveOpts
# for multi-core machines, use multiple threads to create objects and reduce pause times
AddVMOption -XX:+UseConcMarkSweepGC
AddVMOption -DVFS_ENABLE=true
AddVMOption -Dsun.java2d.ddoffscreen=false
AddVMOption -XX:+UseParNewGC
AddVMOption -XX:+CMSIncrementalMode
AddVMOption -XX:+CMSIncrementalPacing
AddVMOption -XX:CMSIncrementalDutyCycleMin=0
AddVMOption-XX:CMSIncrementalDutyCycle=10                         

5. Then restart JDeveloper... If it doesn't start, you'll need to reduce the amount of memory allocate in the ide.conf file from step 2.


     6.After save all documents of Ide.Conf & Jdev.conf files. Then Restart the Jdeveloper they      performance will changed into high ......

Tuesday 7 October 2014

Oracle  ALTA UI  Skin  For  New  Development :

USING THE ORACLE ALTA UI SKIN FOR NEW DEVELOPMENT
New skin for ADF in 12c looks great, I have applied it for one of my sample application with ADF UI Shell and it works smoothly. Check Oracle documentation how to apply Alta UI, really easy.

ADF UI Shell with Alta UI - clean and light:


The Oracle Alta UI skin is meant for new development and is an opt-in. To use Oracle Alta UI skin instead of Skyros, there are a few configuration steps. You configure your application to use the new skin by specifying values for the <skin-family> and <skin-version> elements in your application's trinidad-config.xml file, as shown below.
jdev screen shot of trinidad-confirg.xml file

To apply an ADF skin to an application

  1. In the Applications window, double-click the trinidad-config.xml file. By default, this file is in the Web Content/WEB-INF node.
  2. In the source editor, write entries to specify the value of the <skin-family> element and, optionally, the <skin-version> element as shown in the example below.
<?xml version="1.0" encoding="windows-1252"?>
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
    <skin-family>skyros</skin-family>
      <skin-version>v1</skin-version>
</trinidad-config>

The values that you specify for the <skin-family> element and, optionally, the <skin-version> element in the trinidad-config.xml file determine the ADF skin that the Fusion web application uses at runtime.