Posts

Showing posts with the label ADF

The Release 2 (11.1.2) of Oracle JDeveloper and Application Development Framework Now Available

The 11.1.2 release of JDeveloper and ADF is available now. This is a very promising release and I'm sure you will really love using this smart tool. Download New Features Documentation Tutorials

Oracle JDeveloper and Oracle ADF 11g Release 1 Patch Set 4 is now available on OTN

Oracle JDeveloper and Oracle ADF 11g Release 1 Patch Set 4 (11.1.1.5.0)(Build 6013) is available on OTN. Check it out

Learning Oracle ADF

Sharing some resources/links on Oracle ADF which may help you to understand the technology better... How Do I Start Learning Oracle ADF and JDeveloper 11g http://blogs.oracle.com/shay/2010/02/how_do_i_start_learning_oracle_adf_and_jdeveloper.html JDeveloper ADF Oracle Technology Network site http://www.oracle.com/technetwork/developer-tools/jdev/overview/index.html Tutorials/Documentation/Useful Links Documentation Library Fusion Developer's Guide for Oracle Application Development Framework Web User Interface Developer's Guide for Oracle Application Development Framework Performance Tuning Guide Fine Tune the View layer of your Fusion Web Application     High Availability Guide Mobile Browser Client Developer's Guide Step by Step tutorials ht...

Stress Testing ADF Applications

In case you have not seen this white paper before - Techniques for Testing Performance/Scalability and Stress-Testing ADF Applications

How to Skip Validation?

Image
ADF has a very robust validation framework. Validations can be added at different layers (view, model and business services) based on your application's requirement. To learn more about the ADF validation framework, please go through the Fusion Developer's Guide for Oracle Application Development Framework . That said, however, in a real business scenario there are cases where the validation needs to be skipped (or by passed) conditionally while submitting the form. This post discusses this topic with some common use cases. Keep immediate=true A very common way to skip validation is by keeping the value for immediate attribute as 'true' for the UIComponents. Immediate attribute allow processing of components to move up to the Apply Request Values phase of the lifecycle. Use case scenario While canceling a specific action, system should not perform the validation. One possible way to achieve this is by keeping immediate=true associated with UI element. To know ...

Tips on LOV Runtime

Image
Do you know how does LOV query get executed if there doesn't exist any entity instance to back up the source ViewObject? The scenario usually arises if you have LOV defined for an attribute, which is part of query panel. This article discusses this specific scenario with a use case. Use case Let us take the classical Employee entity as example. This 'Employee' is based on HR schema . The detailed entity is shown below. You can see that each Employee falls under specific Department and Manager. This means that while defining a new Employee record, it's required to associate an existing Employee as manager to the new record. To improve the usability, let us define a LOV against manager attribute in Employee ViewObject. Let us make this LOV much smarter by adding an additional requirement to filter down the values of ‘Manager LOV’ based on logged in user's Department Id. So 'Manager LOV' should display only those Employees who belong to the same Department as ...

Target Unreachable, identifier row resolved to null !

Image
SEVERE: Server Exception during PPR, #1 javax.el.PropertyNotFoundException: Target Unreachable, identifier 'row' resolved to null at com.sun.el.parser.AstValue.getTarget(AstValue.java:xx) at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:xxx) at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:xxx) at Have you ever seen the above exception while running the web application built on ADF? Apparently, this exception doesn’t communicate much on the root cause and noticed that developers search in dark to find a solution. This article discusses couple of possible reasons for this error. Incorrect Key definition for ViewOject Consider the classic Employee - Department example. Below diagram shows the association between Employee and Department . Please note that Emp has Empno as Primary Key(PK) defined and Dept has Deptno as Primary Key. Let us try visualizing User Interface for Employee. An Employee can belong to a specific Department. So let us try de...

A detailed look at Binding Model Parameter Options (NDOption)

Image
ADF binding layer has been always a pleasant surprise for me. I have not seen such a 'rich glue layer' in any other frameworks. While wiring the business service methods with UI Components , developers can opt for specific 'Parameter Options' . These options would decide how the binding container should assign the value to the parameter(s) at runtime. This article discusses the significance of the Binding Model Parameters Options and their proper usage. Please note that Binding Model Parameters Option is termed as NDOption in your page definition file. Where can I see Binding Model Parameter Options? To answer this question let us start building an application and see where we really use this in real life. Follow the steps given below. 1. Here, I assume that you already have one Fusion Web Application in place, with Application Module defined. Please refer Fusion Developer's Guide for Oracle Application Development Framework in case you are not familiar with buildi...

ADF Business Components With MySQL

Image
Most of the application built on Oracle ADF uses Oracle RDBMS as Database. The driving factor here is to leverage the feature richness of Oracle DB. Does it mean ADF is tightly coupled with Oracle DB? Answer is NO, ADF can be well integrated with other databases as well. Small to medium size applications can live even with some light weight databases and they may not require the sophisticated features provided by Oracle DB. MySQL appears to be more popular among the community now a days. There are quite a lot articles on using ADF with MySQL. But it seems that most of them are outdated or rather ADF improves at lightening speed. This article can be considered as an extension of How To Use ADF Business Components with MySQL OK, had enough theory ,now into action. Setup the basic infrastructure JDeveloper discussed in this article is based on version 11.1.1.1.0 and MySQL is 5.x or higher. Apparently, JDeveloper is not packaged with JDBC driver library for MySQL. So let us...