Monday, December 6, 2010

How to set Session time out in ADF application

Hi,

Simple tip today but probably most of my friend coming from FORMS background are not familiar with this. Where and how to set the Session time out setting in Oracle ADF application? Answer is with every application there is a file called web.xml file in your ViewController Project WEB-INF folder. The file which contains configuration settings for your web application on run-time. JDeveloper provides a declarative way to modify this settings by default the session timeout is 35 minutes.

Here what documentation says
Session Timeout
(Optional) Enter an integer value of minutes of inactivity are required before you want to force your web application's sessions to expire. Corresponds to the tag of the subelement. Note, this value can be overridden for individual sessions by means of the setMaxInactiveInterval() method of the javax.servlet.http.HttpSession interface.

Here is the setting in Jdeveloper



after deployment you can see the timeout value in the deployment properties of your application as well here the screen shot of weblogic console





On runtime if session expires you will get the similar message



Happy Jdeveloping,
Zeeshan Baig

Saturday, December 4, 2010

Using Database Adapter in BPEL Process in Oracle SOA Suite 11g

Hi,

DB Adapter allows you to read database into SOA composite application from any relational database. before using the service with DB Adapter make sure you have created a JDBC data-source and Connection Factory under  DBAdapter application.

Download the sample code





Have a nice day,
Zeeshan Baig

Creating JDBC datasource in Oracle Weblogic server

Hi,

Before going to work with DB adapter in Oracle SOA suite you have to define the JDBC datasource in WLS and Connection factory under DBadapter in deployments.

Here is the first step how to create JDBC datasource in Weblogic server




Have a nice day,
Zeeshan Baig

Sunday, November 28, 2010

Writing your first BPEL process in SOA Suite 11g

Hi,

I finally managed to setup soa server on another machine so now i can work much faster than running on a 2GB Ram virtual machine on my macbook.

So here in this post we will see how to write a simple BPEL process which will concat the text "Hello Dear" with our input value same as my older post sayHello method.

Download the sample project and instructions in the video



Happy Jdeveloping,
Zeeshan Baig

Friday, November 19, 2010

Calling Webservice in Oracle ADF by Creating Webservice Data control

Hi,
In this post we will call the webservice by creating webservice data control in Oracle fusion application we will call the same webservice that we have created in last post.

More info in this video



Happy Jdeveloping,
Zeeshan Baig

Creating Webservice from Java class in Jdeveloper 11g

Hi,
In this post we will see how to create Webservice from java class, test it using HTTP analyzer and deploy to weblogic server.

Watch this video tutorial



Happy Jdeveloping,
Zeeshan Baig