Home » Tag Archives: ADF (page 2)

Tag Archives: ADF

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 »

Configuring MySQL for ADF development

mysql-logo

Hi all. Today I’m going to show you how to configure MySQL database for Oracle ADF development. IMHO when you are using ADF with other databases rather than Oracle DB you won’t be able to use the full power of Oracle ADF and sometimes you’ll find yourself looking for workarounds in order to achieve some behavior that with Oracle DB ...

Read More »

SLF4J Binding for ADFLogger – the Missing Piece

slf4j-logo

For reasons best left untold, in my day job, I was expected to provide an SLF4J Adapter for ADF Logger Oracle ADF. Not surprisingly, slf4j does not have an adapter for ADFLogger but since ADFLogger was just a gentle wrapper over Java Util Logging, it took a little over an hour to fill that gap. The testcases (more like main ...

Read More »

ADF: URL Task Flow Call with HTTP POST Method

java-interview-questions-answers

As we know a bounded task flow can be invoked by some URL either directly from a browser or from some external application. This feature is enabled if task flow’s property “URL invoke” is set to “url-invoke-allowed” and it is commonly used in integration projects. Usually clients (or invokers) use HTTP GET method and pass their parameters in the URL. ...

Read More »

Understanding ADF Faces clientComponent attribute

java-logo

I believe most of ADF developers know ADF Faces attribute clientComponent. In this post I am going to show how this attribute actually impacts on components rendering and how it can change their behavior. Let’s start considering an extremely simple example:               <af:inputText label="Label 1" id="it1" /> <af:outputText value="outputText1" id="ot1"/> The result page looks ...

Read More »

Oracle ADF Mobile World! Hello!

java-interview-questions-answers

Hello, ADF Mobile, World! As you probably already know… ADF Mobile is here! Here are some links that will make you feel at home.. Home page of ADF Mobile: http://www.oracle.com/technetwork/developer-tools/adf/overview/adf-mobile-096323.html How to setup your JDeveloper: http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_1.html Developer’s Guide http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/toc.htm Some sales stuff http://www.oracle.com/technetwork/developer-tools/jdev/adf-mobile-development-129800.pdf And of course, the samples!! Samples are good. We need samples! Samples are goooood: http://www.oracle.com/technetwork/developer-tools/adf/adf-mobile-samples-1865088.html Additional references: http://technology.amis.nl/2012/10/22/adf-mobile-is-now-generally-available/ Well, ...

Read More »

Master Detail CRUD operations with Regions ADF 11g

java-interview-questions-answers

This is an example that demonstrates how to create a Master Detail relationship between tables by using Regions. The main purpose of regions is the notion of reusability. With regions and bounded task flows we can reuse our pages into many other pages keeping the same functionality and having a more cleaner approach Download the Sample Application. For this example ...

Read More »

ADF : Dynamic View Object

java-interview-questions-answers

Today I want to write about dynamic view object which allow me to change its data source (SQL query) and attributes at run time. I will use oracle.jbo.ApplicationModule :: createViewObjectFromQueryStmt method to do this issue. I will present how to do this step by step Create View Object and Application Module   1- Right click on Model project and choose ...

Read More »

Read-only ViewObject and Declarative SQL mode

java-interview-questions-answers

Introduction The declarative SQL mode is considered to be one of the most valuable advantages of the entity-based view objects. In this mode the VO’s SQL is generated at runtime depending on the attributes showed in UI. For example, if some page contains a table with only two columns EmployeeId and FirstName, then the query will be generated as “select ...

Read More »

ADF Task Flow: Managed bean scopes for page fragments

java-interview-questions-answers

Introduction When we work with ADF Task Flows and need to implement some flow specific business logic or store some information connected with the flow, we usually use pageFlowScope managed beans. And when we need to service view activities of the flow (pages or page fragments) we use shorter scopes for such managed beans. The common practice is to use ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.