tag:blogger.com,1999:blog-43733631682824294412019-08-26T10:27:15.186+02:00Blog on Software and Beyond itAbout SOA, Oracle , ADF, Java, Cloud...Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-4373363168282429441.post-51195714782136672802014-06-08T00:00:00.000+02:002014-07-31T14:21:06.478+02:00Using Bean Validation in Oracle ADFOracle ADF version 12c runs on Java EE 6 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 Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com1tag:blogger.com,1999:blog-4373363168282429441.post-67336835973155381542012-10-04T00:04:00.000+02:002012-10-06T08:52:37.444+02:00Using Bean Validaton in SOA - JEE 6 based sample applicationThis 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 design and the usage of bean validation constraints.
One interesting aspect might be also the usage of a common Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com1tag:blogger.com,1999:blog-4373363168282429441.post-65301518257651328172012-08-24T13:53:00.001+02:002012-08-24T15:20:37.780+02:00Designing Modular Applications in Oracle ADF - Follow upThis 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 opened in JDeveloper) of one ADF bounded task flow currently running in some production Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com0tag:blogger.com,1999:blog-4373363168282429441.post-50965102978555936002012-08-23T21:13:00.001+02:002012-08-24T15:21:04.144+02:00Designing Modular Applications By Using Dynamic Task Flow Call in Oracle ADFYou 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 features of ADF Framework like Dynamic Task Flow Calls, ADF Libraries together with JSF2 Bean Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com2tag:blogger.com,1999:blog-4373363168282429441.post-63513665770756042042012-07-28T17:21:00.002+02:002013-08-01T15:26:13.112+02:00Building a Simple Chat Application with Active Data Service and JSF2 AJAX in Oracle ADFData 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 together with ajax tag of JSF2.
Blog readers might find the sample, available to Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com13tag:blogger.com,1999:blog-4373363168282429441.post-37766770117523479812012-07-05T00:55:00.000+02:002012-07-05T14:23:50.334+02:00Using contextual events to refresh Bean Data Control iterator in Oracle ADFThis 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 an overview about a usage of it.
Just to remember: Bean Data Controls allow to create data bound Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com3tag:blogger.com,1999:blog-4373363168282429441.post-28060766221033958522012-06-17T11:22:00.000+02:002012-07-01T11:59:15.257+02:00Using JDeveloper Maven integration to run Oracle ADF sample in Java cloudReaders 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 Oracle JDeveloper OTN Harvest, shares the same wish too:
"Free cloud instance for ADF like apex.oracle.com which is available Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com1tag:blogger.com,1999:blog-4373363168282429441.post-53851915473771956502012-05-28T19:34:00.000+02:002012-05-28T21:38:49.073+02:00How to Align Managed Bean Scope and Bean Data Control in Oracle ADFBounded 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 building blocks in ADF application are data controls and bindings. I assume, that Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com5tag:blogger.com,1999:blog-4373363168282429441.post-14661982806022106552012-05-13T20:33:00.001+02:002012-05-13T23:57:08.587+02:00Detecting emotions by using JSON and REST services in Oracle ADFDevelopers 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 are plenty of services available on the Internet which are based on REST protocol and JSON Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com0tag:blogger.com,1999:blog-4373363168282429441.post-49192735705467966312012-05-01T18:27:00.002+02:002012-05-01T21:49:39.324+02:00Using JMX Data Control in Oracle ADF to manage users in Weblogic LDAPOne 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 implementation to handle exceptions coming from JMX MBean and JMX ADF Data Control
Some basic features of ADF built-in Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com7tag:blogger.com,1999:blog-4373363168282429441.post-55483133845052960542012-04-11T17:24:00.001+02:002012-04-12T22:56:18.417+02:00Set Initial Focus component for Oracle ADF FacesOracle 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 <adfExt:setInitialFocus/> and a sample usage of it.
<adfExt:setInitialFocus/> features:
Drag and Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com8tag:blogger.com,1999:blog-4373363168282429441.post-56363301510761642392012-04-09T13:34:00.000+02:002012-04-10T12:23:51.656+02:00Using Github Gists to embed code snippetsGists 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 get a script tag, copy and paste it into your blog HTML editor like this:
Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com1tag:blogger.com,1999:blog-4373363168282429441.post-62213250968133443922012-04-08T13:24:00.001+02:002012-04-13T23:39:14.654+02:00Snow at Easter timeIt 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.Donatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.com1