Defining ADF Business Components Packages

When we have to create ADF-BC in a real project, we don’t want that all files stay together in the same directory. One of best practises according to official guidelines, is separate these files by type. The good news is that JDeveloper allows you to configure the ADF-BC default packages and apply this to any new Model projects! Remember to configure the ADF-BC packages before create the files, this way when you create the ADF-BC, the files will be put in the right place. I will use br.com.waslleysouza […]

Implementing Commit and Rollback programmatically in ADF Task Flow

Sometimes the Task Flow Return component from ADF Task Flow, doesn’t meet our use case requirements and we have to commit or rollback a transaction programmatically. Two cases that you will probably use this approach are: Commit or rollback a transaction and stay in the same Task Flow. Add some complex code for these operations (Commit and Rollback). In this post we will commit a transaction programmatically without quit the current page. We will also rollback a transaction programmatically. […]

Reusable Task Flows

Task Flows are small applications with well-defined business rules. In some cases, a Task Flow may need rules implemented in other Task Flow. Rather than implement this rule in both Task Flows, causing duplication code, we only implement one and insert this inside the other, promoting reuse Task Flows. In this post we will create an application with two Task Flows, one of them will show the list of employees and the other will show the information about the selected employee. Download the […]

Reuse of Exception Handler with Task Flow Template

Task Flow Template is used to promote reuse. Any Bounded Task Flow based on template can use the activities, control flows and managed beans that the template contains. It is recommended that all Task Flows are based on Task Flow Templates. In this post we will promote reuse of an Exception Handler. Exception Handler is a Task Flow component used for handling exceptions that are thrown during the ADF Faces lifecycle. For this example we will use Page Fragments. Download the sample application: […]

Increase the performance of JDeveloper 11g

The following settings will increase the performance of your JDeveloper 11g. Go to your JDeveloper root directory (JDEVELOPER_HOME/jdeveloper) Open the file ide/bin/ide.conf, and change memory settings to something larger, like so: AddVMOption -Xmx1024M AddVMOption -Xms1024M Open the file jdev/bin/jdev.conf, and increase the value of MaxPermSize: AddVMOption -XX:MaxPermSize=512M Add the following settings at the bottom. # optimize the JVM for strings / text editing AddVMOption […]

Creating a master-detail Task Flow

The Oracle ADF (Application Development Framework) is an application framework that builds on Java Platform, Enterprise Edition (Java EE) standards and open-source technologies. Because of its declarative nature, Oracle ADF simplifies and accelerates development by allowing developers to focus on the logic of application creation rather than coding details. Let’s start programming in Oracle ADF and creating a master-detail Task Flow of departments and employees. Download […]

Instalação do Oracle WebCenter Portal – Parte 7: Oracle WebCenter Content

Para finalizar a criação do ambiente de desenvolvimento do Oracle WebCenter Portal, nesta sétima parte do tutorial, será realizada a instalação do componente: Oracle WebCenter Content. O Oracle WebCenter Content, é um conjunto de produtos integrados, desenvolvidos para gerenciamento de conteúdo. As outras partes do tutorial podem ser lidas aqui: Instalação do Oracle WebCenter Portal – Parte 1: Oracle Database XE Instalação do Oracle WebCenter Portal – Parte 2: JDK […]