//AMIS Technology Blog » portlet

Posts tagged portlet

image.png

ADF: (re-)Introducing Contextual Events in several simple steps

0

Communication between taskflows and pages, beans and other components in ADF Faces applications is in many cases ideally implemented using contextual events. These events are published from a producer component – a page, taskflow or associated bean – and made available to all interested parties. Events are handed over by the ADF run time infrastructure to any registered consumer in the current scope. This includes any taskflow or enclosing page which has been configured as such. This publish/subscribe model helps achieve interaction and reuse in a decoupled way. I like the principle. I have applied it on several occasions. And today I needed it again in a WebCenter Portal application with custom ADF 11g components. And once again I could not remember exactly how to implement the contextual events, the publication and subscription. This article therefore is primarily for me – so I can quickly recall how to do this in similar subsequent situations. However, if it is useful to you too, that is even better!

The use case discussed in this article is as follows:

The section in the red rectangle is a taskflow that has been embedded as a region in the page. This taskflow has indicated More >

SIG Event

OOW 2009: Experiences with Oracle WebCenter 11g: Implementing SOA with a User Interface

 

One of the sessions I am (co-)presenting at Oracle Open World 2009 is on ‘applying the concepts of SOA to and achieving the SOA objectives with User Interfaces’. What goes for SOA and typical programmatic (web)services can be applied to User Interface components to a large extent. Decoupling – cross location, cross technology, cross development team and deployment unit – and reusing based on clear interface definitions and encapsulation of implementation is also available for user interface development.

Our presentation – I am copresenting with my colleague Peter Ebell – introduced the SOA concepts and objectives and demonstrates the application of SOA to the UI, using first Portlets and then ADF Task Flows. Subsequently we introduce WebCenter – as the portlet-infrastructure for ADF and also as the real life example of the notion of reusable, independently developed user interface components. We will discuss the nature of the contract you define for such reusable UI services (parameters, events – inbound and outbound) and demonstrate the steps you have to go through to make it work. Finally we will go into ‘how to add a user interface to a SOA implementation’- or: when does a More >

SIG Event

Oracle WebCenter 11g – Foundation for Oracle Fusion Applications and possibly your ADF applications or Enterprise 2.0 Portal as well

 

I have had a sweet spot for Oracle WebCenter for quite some time now. As early as 2007 I already did a presentation at ODTUG on WebCenter (10g). One of my main conclusion at the time was that while the product showed a lot of potential, it was certainly not ready for prime time. After that presentation, a guy came up to me, thanked me for the presentation then told me he was a product manager for WebCenter – and agreed with most of the things I had said. That was my first encounter with Peter Moskovits. Today, two years later, the situation has changed quite dramatically. WebCenter has evolved, as had ADF which is the foundation for WebCenter, and WC is now one of the cornerstones for Oracle Fusion Applications. WebCenter 11g is like the swan that started out as the ugly duckling. Well worth a look.

 

I was in a presentation today by Peter Moskovits and Christina Kolotouros, titled: A Marriage Made in Heaven – Enterprise 2.0 and ADF. They touted it as Part 2 of Steve Miranda’s talk on how Fusion Applications were built (see: http://technology.amis.nl/blog/5645/oracle-fusion-applications-it-is-for-real-and-impressive-too ). In this presentation, they explained the architecture More >

SIG Event

ADF 11g: how events in one region cause other regions to refresh

One of the challenges in building Portal pages is to have events from one Portlet have the desired effect on other Portlets. For example when I select a location on a Map in one Portlet, other Portlets may need to be synchronized to show the weather, the best restaurants and the driving instructions for actually going there. The JSR-168 specification does not address this issue; the upcoming JSR-286 ("Portal 2.0") specs do. Working with ADF 11g, we have some fairly new mechanisms at our disposal, such as Task Flows and Regions, that allow us to construct pages (and applications) that are somewhat reminiscent of Portlets – or at least some of the interesting sides of Portlets in terms of creating relatively simple pieces of (stand-alone) functionality that can be wired together in a larger mashup – where ideally the mashup framework can provide event propagation between the stand alone pieces. In this article, I want to investigate how for example an event occuring in region A – based on a bounded taskflow – can be passed on to region B that is based on another bounded taskflow. (more…)

Go to Top