//AMIS Technology Blog » ria

Posts tagged ria

Vacatures bij AMIS services

ADF Faces: Handle task in background process and show real time progress indicator for asynchronous job using Server Push in ADF

6

Recently I received an email from Peru. An ADF developer from Peru was facing a challenge with ADF. In short: ‘the upload of a (large) file should be followed by a potentially long running job. Ideally, the browser would not freeze while the uploaded file is processed and on top of that it would be great to report the progress of the job to the user’.

I like this kind of challenge, especially since I consider both asynchronous processing and server push two of my areas of interest. So I took on the challenge and tried a quickly put together an application that demonstrates this behavior.

This article discusses how I used standard Java concurrency functionality to take the job off line (in a scheduled, background job) and how I leveraged Active Data Service in ADF Faces to have the background job report its progress through an active bean and server push to the browser.

After the user kicks off the job by pushing a button:

the user will be in control again (synchronous but background parrtial request completes) and and will also be informed on the job’s progress through the server push:

In this example, the job progress in steps of 10% that take between 2 and 4 seconds. As soon More >

SIG Event

That's Rich! Putting a smile on ADF Faces (presenting at ODTUG Kaleidoscope 2009)

 

The ODTUG Kaleidoscope 2009 conference started on Sunday with four parallel symposia followed by a stunning demonstration of the upcoming Fusion Applications product based on Oracle Fusion Middleware 11g (including the most visible parts: WebCenter and ADF) – more on that presentation in a later blog. On Monday I did my two presentations – the first of which was titled:"That’s Rich! Putting a smile on ADF Faces". In this presentation I tried to explain what support ADF Faces (11g Rich Client) provides for creating really rich User Interfaces. Duncan Mills graciously had allowed me to present using the upcoming JDeveloper 11.1.1.1.0 release (internal code name Bulldog) that is part of the 1st July launch of Oracle Fusion Middleware, and it allowed me to show off some of the new stuff.

ADF web applications have been hailed as productive to develop and functionally complete. However, ADF 11g RichFaces makes them visually attractive, rich and really Web 2.0 too. This presentation is about enriching ADF Web applications with 11g RichFaces. It discusses features, components, containers, events and behaviors that ADF developers now have at their disposal and how to best use them. Key More >

Go to Top