ADF and Developer Cloud Service

Some time ago, I wrote this blog post showing how to deploy an ADF application in Oracle Cloud, and a few days ago I read these posts about how to upload an ADF application to Developer Cloud Service and deploy to Java Cloud Service. In this post I will upload my application to DevCS and then deploy it to JCS. Download the sample application: Following the tutorials, I changed build.xml and files. And, because I’m using HR Schema, I changed the datasource […]

Using Web Service Data Control in ADF

If your ADF application needs to consume a web service, don’t worry! It is a piece of cake when you use the Web Service Data Control. In this post, you will learn how to do it. Download the sample application: Create a new Web Service Data Control (SOAP/REST). Name the Data Control as HRDataSource. In the URL field, I specified the WSDL URL of the service that I created here: Expose Application Module as SOAP Web Service. Select all operations and click Finish. Drag the […]

Deploying ADF application in Oracle Cloud

Have you ever thought about run your ADF application on cloud? In this blog post I will show how to deploy local database tables and ADF application to Oracle Cloud using JDeveloper 11g. I would like to thank to my friend Jürgen Kress that gave me an Oracle Cloud’s licence. If you want you can get a free trial here: Oracle Cloud PaaS & SaaS Trials. Each Oracle Java Cloud Service instance must be associated with an Oracle Database Cloud Service instance that hosts the schemas required […]

Export table as a PDF file in ADF

You have learned how to export table as Excel and XML files, now you will learn how to export table as a PDF file using the Apache FOP. Apache FOP (Formatting Objects Processor) is a print formatter driven by XSL formatting objects (XSL-FO) and an output independent formatter. Output formats currently supported include PDF, PS, PCL, AFP, XML, Print, AWT, PNG, RTF and TXT. Download the sample application: First of all, we need to transform the data of employees to XML. To achieve […]

Export table as XML file in ADF

Since I wrote about how to export table to Excel in Oracle ADF, it has been one of the most read blog posts. I know that the export of data is an important feature in an application, this way, I will show how to export rows (all or some) of the table as an XML file. Download the sample application: Create a new ADF application that will use data of employees. Go to EmployeesView View Object and generate the View Object Implementation Class. Copy the following code inside EmployeesViewImpl […]

Creating Business Logic Group in ADF

When you have an entity, but in some cases, according the value of some attribute, you need to change control hints, default values or validation logic, you can create a Business Logic Group to help you. Using the Oracle Application Development Framework Documentation (4.8 Defining Business Logic Groups), let’s create a Business Logic Group for Employees entity. In the sample application ( we will create a Business Logic Group that contain a Business […]

CRUD with Task Flow Template in ADF

When you are building an ADF Application, you should think about best practices to reuse some code and components. There is a very good post from Andrejus Baranovskis showing some Task Flow Template improvements. I will use it as my start point to create a CRUD Task Flow Template and my Task Flows will be based on this template. Download the sample application: Create an ADF Fusion Web Application, and call it as ADFTFTemplateApp. Create the Business Component using […]