Monday, August 9, 2010

Configuring APEX Listener with GlassFish Server

Hi,

Currently i am developing one application with APEX and today i configured APEX listener with Glassfish server in my development environment to evaluate Glassfish with Oracle HTTP server..so far i faced an issue with Interactive reports are not working properly with Glassfish.

APEX Listener currently not working with ORACLE XE (as far as i know, waiting for patch)

Here are the configuration steps





You can check the installation guide for more info

Have a nice day,
ZB

Saturday, August 7, 2010

How to get Client IP Address in ADF Fusion Application

Hi,

One of the most common requirement is to get the IP Address of the client. You can use the following methods in a session scope bean.


public String getClientIpAddress() {
        String clientIpAddress =
         ((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getRemoteAddr();
            return clientIpAddress;
    }


Happy JDeveloping,
ZB

Thursday, August 5, 2010

Using af:switcher component in Oracle ADF Faces

Hi,
     As i explained in my last video working with Router activity in Task flows the same functionality can be achieved using ADF Faces af:switcher component on JSF page. This example will also quickly shows how to use DVT components on JSF page.

Here is the example hope you like it




Download the example

Happy JDeveloping,
ZB

Saturday, July 31, 2010

Using Router Activity in Task flows

Hi,
As a general use case when you are required to conditionally navigate between pages, Router activities comes into action.

Here is an example how to use Router activities in task flows




Download the workspace 

Happy JDeveloping,
ZB

Tuesday, July 27, 2010

Using Framework Buffer classes in Oracle ADF

Hi,

Its a good practice before starting any new project in Oracle ADF to setup framework buffer classes. which acts as a layer between your code and framework.

What JDeveloper Handbook says about it

"Adding your own buffer classes between the application and the framework provides two
benefits. First, as the application evolves, you will identify certain bits of reusable functionality or
functionality that modifies the default way that the framework operates. These can be moved into
the buffer class with a minimum of disruption and immediately become available to all your
classes, since your classes will extend this framework buffer class. Second, the buffer class
provides a good patching point. If you encounter a problem in the way that the base framework
works, you can patch workarounds into the single buffer class, rather than having to make the
change in every implementation"



More details in this video




Happy JDeveloping,
ZB

Sunday, July 25, 2010

Passing Parameters between Bounded Task flows

Hi,

In this Video post i will show how to pass parameters between bounded task flows. for this i've created 2 bounded task flows in the example called FlowA and FlowB respectively. I am calling FlowA from "main.jspx" page available in the un-bounded task flow called adfc-config.xml

This is my first try for Video blogging so your comments would be helpful



Download the sample workspace

Happy JDeveloping,
ZB