Performance tuning of Jdeveloper 12c

Very frequent we get issues of JDeveloper hangs.Then you need to close JDeveloper and restart. if you are developing and debugging, this problem occurs more frequently.This post tell how to make your jdeveloper with better performance.

Jdeveloper –

1) Go to MW_HOME \jdeveloper\ide\bin\ide.conf and increase the Max heap size (Xmx).

//Set this option depend on your system configuration.I have 16gb ram, I prefer to set this.
AddVMOption -Xms2048M
AddVMOption -Xmx4096M

2) Go to MW_HOME \jdeveloper\jdev\bin\jdev.conf and set the following parameters

// Increase your MaxPermSize
AddVMOption -XX:MaxPermSize=1024M

//Adds a memory monitor which helps in check current heap used by jdeveloper

AddVMOption -DMainWindow.MemoryMonitorOn=true

//ADD the following JVM options towards the end of file
AddVMOption -XX:+UseStringCache
AddVMOption -XX:+OptimizeStringConcat
AddVMOption -XX:+UseCompressedStrings
AddVMOption -XX:+UseCompressedOops
AddVMOption -XX:+AggressiveOpts
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

ttt

3 ) Disable the SVN versioning system that is built into JDeveloper.Uncheck the checkbox for Subversion for example support for GIT

4) Reduce ON-Save and AFTER-Save Actions
Go To Tools >> Preferences >> Code Editor >> Save Actions
Remove “Build After Save”

1

2

After that, Please restart jdeveloper.Your jdeveloper will give better performance

Querying data in elastic search

Hi All,

A common issue in elastic search as querying data from ES server. As typical RDBMS server, we can write like

“select * from tablename where columnA is null”

Similarly, if we have to find this data in ES in kibana , then how we can write it

It will be like

GET IndexName/TypeName/_search
{
"query": {
"bool": {
"must_not": {
"exists": {
"field": "object_desc"
}
}
}
}
}

Similarly we can write this in java API ES 2.2 as below

QueryBuilder query = QueryBuilders.boolQuery()
.mustNot(QueryBuilders.existsQuery("object_desc"));

Client client = getClient();
SearchResponse response = client.prepareSearch(indexName)
.setTypes(type)
.setSearchType(SearchType.QUERY_AND_FETCH)
.setQuery(query)
.setFrom(0)
.setSize(10000)
.setExplain(false)
.execute()
.actionGet();
SearchHit[] searchHits = response.getHits().getHits();

ES query API is quite good and you can test in kibana console.

Happy searching with techartifact…

Beginning Oracle WebCenter Portal 12c book– Published!!

15027775_1265334893487331_5199818658147986314_n

bookbb

This book is intended for beginners,expert and software architects, project manager , who are working with WebCenter Portal implementation.Somebody wants to developer rich enterprise portal with WebCenter Portal with WebCenter content and other technologies. Little bit ADF knowledge required.

http://www.apress.com/gp/book/9781484225318

amazon

Chapter 1 : Introduction to Enterprise Portals – Introduction of Enterprise portal. Portal vs website and introduction of Oracle FMW.

Chapter 2 : Introduction to Oracle WebCenter Portal 12c – First chapter to talk about WebCenter portal. Architecture of portal, Main components of WebCenter Portal.New Features and deprecated features of WebCenter portal 12c.

Chapter 3 : Oracle WebCenter Portal12c Administration – How to do administration of WebCenter Portal. Normal task for WebCenter Portal administrator. etc.

Chapter 4 : Portal Asset Development – How to set developer environment for Portal Asset development.How to portal asset publishing.How to develop portal asset runtime.

Chapter 5 : Working with Pages and Navigation – What Is a Page? Working with System and business Pages. how to Working with Personal and portal Pages,Rendering a Portal Navigation.

Chapter 6 : Extend Portal with Shared Libraries– What Are Shared Libraries? You will learn how to deploy nd develop WebCenter Portal Shared Library.explains Development Life Cycle with example.

Chapter 7 : WebCenter Portal Task Flow Customization– Overview of customization, How to do taskflow customization on design and run time.Setting Up a Customizable WebCenter Portal Application. Customizing WebCenter Portal Task Flows of Design Time Customization,Deployment of Customized WebCenter Portal Task Flow.

Chapter 8 : Portlets Integration Using JSR 286 – What is portlet, What is use of it. Learn when to use portlet and taskflow. Learn to create Portlet. How to convert adf taskflow into portlet.Build JSR 286 portlet and deploy in WCP.

Chapter 9 : Creating Pagelet Producer – Learn about Pagelet Producer Architecture.Creating Pagelet Producer Resource .Pagelets in WebCenter Portal.How to add content in pagelet using Web Injector.Know how to add pagelet using javascript and REST API.

Chapter 10 : Portal Security Administration – Learn Security Architecture.Understanding WebCenter Portal Security.Using Enterprise Manager for Security Administration UI,learn Using of WebCenter Portal Security Administration UI.Securing Page Components.

Chapter 11 : Content Integration – Learn to integrate WebCenter Content,Publishing Content via WebCenter Content Integration,Learn Integration with Oracle Document Cloud. Publishing Content Using Pages,Publishing Content Using Data Presenter,Publishing Content: Blogs nd wikis.

Chapter 12 : Portal Tools and Services – Learn Webcenter portal Analytics,Announcements and Discussions,External Applications. Learn on how to work on Events, Instant Messaging and Presence, links, list, mail,People connections, Notes, Notification, RSS, search and tags.

Chapter 13 : Extending WebCenter Portal – Learn how to integrate WebCenter Portal with all third party application for example, EBS, OBIEE etc. Learn how to use portal REST API and WebCenter Portal Java API.

So now horn up your ADF skills to learn WebCenter Portal.

Happy Learning with Vinay….