Using Bean Validation in Oracle ADF

Oracle ADF version 12c runs on JEE6 container Weblogic 12c.  ADF Faces 12c (current version 12.1.2) is based on Java Server Faces 2.1 standard. Version 2 of JSF introduced support for Bean Validation , as described in  JSF specification ( Chapter 2.5.7). To summarize: it basically states,  that java bean properties , annotated with Bean Validation constraints, are going to be validated

Using Bean Validaton in SOA – JEE 6 based sample application

This blog post is just a short notice to point to a JEE6 based sample, which was prepared for a JavaOne session "CON5020 - Using JSR 303, Bean Validation, with the Common Data Model in SOA". The sample, available at github, contains a list of NetBeans  (maven)  projects showing the (more...)

Designing Modular Applications in Oracle ADF – Follow up

This blog post is a follow up to the previous one about modularity in Oracle ADF. Sample applications provided in a blog posts are simplified focusing on one or few aspects described.   Real world ADF applications and task flows can be more sophisticated: It is a diagram (some-task-flow-defintion.xml (more...)

Designing Modular Applications By Using Dynamic Task Flow Call in Oracle ADF

You might already asked yourself a question like this: How to design an application in a modular way? The principle of "Divide and conquer" helps us to get a complexity under control by breaking possibly complex system into a smaller manageable pieces a.k.a. modules. This blog post shows how the (more...)

Building a Simple Chat Application with Active Data Service and JSF2 AJAX in Oracle ADF

Data push with Active Data Services (ADS) in Oracle ADF has been available for some years. AJAX functionality has got attention in JSF2 specification. JSF2 made its way into ADF with JDeveloper Release2. This blog post provides a simple ADF active Chat application, built by using active data service functionality (more...)

Using contextual events to refresh Bean Data Control iterator in Oracle ADF

This blog post addresses one particular issue related to ADF Bean Data Control: how to refresh.  The readers which are not yet  familiar with Bean DC might refer for example to the tutorial Using Bean Data Control or this video Working with the ADF Java Bean Data Control by Shay Shmeltzer to get (more...)

Using JDeveloper Maven integration to run Oracle ADF sample in Java cloud

Readers of this blog might already took a notice about one link on a right side, pointing to experimental page with live ADF sample application embedded on it. It looks like I'm not alone to have the idea of live ADF samples in my head. Zeeshan Baig, featured in recent (more...)

How to Align Managed Bean Scope and Bean Data Control in Oracle ADF

Bounded task flows are natural building blocks of modular Oracle ADF applications. A bounded task flow facilitates the isolation of specific implementation details in its own memory scope - a page flow scope. For example, a managed bean  in pageFlow scope has a lifespan of its bounded flow. The other commonly used (more...)

Detecting emotions by using JSON and REST services in Oracle ADF

Developers using Oracle ADF to build applications most likely get in touch with ADF Business Components (exposed as Data Controls) first. The framework provides few other types of Data Controls out of the box , like URL Data Control, to facilitate an access to various data sources and services. There (more...)

Using JMX Data Control in Oracle ADF to manage users in Weblogic LDAP

One of key concepts in Oracle ADF is a binding layer and Data Controls. In this post the readers are going to  find an example usage of: ADF JMX Data Control used to create a user in Weblogic server embedded LDAP  a declarative way. Custom JSF2 exception factory and handler (more...)

Set Initial Focus component for Oracle ADF Faces

Oracle ADF Faces components provide rich functionality out of the box. One small feature is missing somehow: a convenient way to set initial focus on input component. For the inpatient readers: sample workspace to download and start with JDeveloper 11.1.2.1 (11g Release 2) containing a custom tag and (more...)

Using Github Gists to embed code snippets

Gists allow to share snippets of code a comfortable way. Below is a code snippet from one public Gist - my random pick to test embedded code and adjust blog layout template: Follow the link to create your own Gist. Once you create a Gist, click on embed link to (more...)

Snow at Easter time

It is not unusual in April, but still not a regular case to wake up in the morning ant see a snow laying down. Unfortunately,  few hours later it is almost gone. The post is just a little warm-up to check some features of the Blogger platform.