Home » Tag Archives: ADF

Tag Archives: ADF

LOVs in Oracle MAF

java-interview-questions-answers

We all love one of the most powerful ADF features lists of values. Using them we can declaratively and easily build pretty complicated functionality in ADF applications. A good thing is that we have a similar approach in Oracle MAF as well. In ADF BC we define LOVs, attribute UI hints, validation  rules, etc. at the Business Service level, basically ...

Read More »

Managing Savepoints with ADF BC

java-logo

While working with ADF BC we usually rely on the framework for performing DML operations in the database. The framework correctly makes all necessary updates in the database during the DBTransaction commit cycle. The cool thing is that the database transaction is going to be managed automatically in that case. So, if something went wrong, if some entities failed to ...

Read More »

User sessions, Data controls and AM pooling

java-interview-questions-answers

Recently I was asked an interesting question about application module pooling. As we know AM pool contains application module instances referenced by user sessions, which allows a session to fetch exactly the same AM instance from the pool at the subsequent request.               And if there is more than one root application module in ...

Read More »

Really Dynamic Declarative Components

java-interview-questions-answers

In this short post I am going to focus on ADF dynamic declarative components. I mean a well known ADF tag af:declarativeComponent. It can be used as a pretty convenient way to design a page as a composition of page fragments and components. For example, our page can contain the following code snippet:               ...

Read More »

ADF: Popup, Dialog and Input Components

java-interview-questions-answers

In this post I would like to focus on a very common use case when we have af:popup containing af:dialog with input components inside. There are a couple of pitfalls that we need to watch out for when implementing this use case. Let’s consider a simple example:             <af:popup id="p1" contentDelivery="lazyUncached">             <af:dialog id="d2" ...

Read More »

Smart Auto-PPR Change Event Policy

java-interview-questions-answers

There is a common belief among ADF developers that setting the iterator binding change event policy to ppr  is not a good thing in terms of performance because this policy forces the framework to refresh all attribute bindings that are bound to this iterator on each request. That’s not true! The framework refreshes only attributes that have been changed during the ...

Read More »

Working with the Array Data Type in a Table

java-interview-questions-answers

In this post I would like to follow up on my previous article about Oracle collection data types and I am going to focus on working with oracle.jbo.domain.Array attributes in af:table component. So, in my database I have the following SQL type:           create or replace type varchar2_array_type as table of varchar2(200)   And I’ve got the ...

Read More »

ADF Faces. Immediate custom client events

java-interview-questions-answers

In this post I am going to focus on ADF Faces Javascript API method to fire a custom event from the client side. For example:                      function cliListener(actionEvent) {      AdfCustomEvent.queue(actionEvent.getSource(), "servListener",                         null, true);     } We can use af:clientListener tag in order to attach the cliListener function to a ...

Read More »

Using MySQL autoincrement PK column in ADF Entity PK attribute

mysql-logo

Hello all. Continuing with the ADF + MySQL workaround series, today we are going to see what we need to do in order to use MySQL PK autoincrement columns with our ADF Entities PK attributes. If we were using Oracle database, we would use the oracle.jbo.domain.DBSequence along with a sequence and a trigger in order to do that out-of-the-box. For simplicity, we ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close