- Invoking REST Service from Oracle ACM Java Activity. In this post I will show you, how to call REST service from ACM Java activity class method. This could be useful in the situations, when you would like to have programmatic ACM activity integrated with REST service data. We could access ACM payload data from within the method overriden in the class implementing Case Activity Callback.
Download - HotelBookingProcessing_v2.zip
- Adaptive Case Management 12c and ADF Human Tasks. I'm diving into the new topic - Adaptive Case Management 12c and ADF integration. Today will be the first post in the category and there are more posts planned for the future. I strongly believe that ACM (Adaptive Case Management) makes a great extension for standard BPM. Mainly because it allows to define a loose process, without strict order steps. Process steps can be executed in different order, depending on the situation requirements, at given time. I will be explaining how to implement ADF Human Task for ACM activity and will share several tips, how to make it run in BPM Workspace application.
Download - HotelBookingProcessing_v1.zip
- ADF Region Communication - Region Refresh Through Contextual Event. I will extend previous sample application - ADF Region Communication - Data Exchange Through Shared Data Control Java Class and will describe how you can enrich it and apply contextual events. Even you would think about contextual events as about something cool, be careful - its not a panacea for all problems, and should be used carefully to avoid system architecture complexity explosion. While its not always true, I would prefer to use contextual events mostly for dependent region refresh, without passing payload directly. When system grows, its easier to track data references from Data Control Java class (see referenced blog post above), than contextual events payload variables. Its possible to refresh dependent region through ADF bounded task flow parameters - but contextual events provide better separation level between two regions.
Download - ADFRegionCommunication2.zip
- ADF Region Communication - Data Exchange Through Shared Data Control Java Class. Every ADF region maintains its own Page Flow scope, this means even if you have two ADF regions on the same page - each ADF region will have its own Page Flow scope and it will not be allowed to enter another region Page Flow scope. If we would be allowed to share Page Flow scope between different regions, it would be easy to pass data from one ADF region to another, however this is not allowed by design. I will describe possible alternative - to use custom Data Control to exchange data.
Download - ADFRegionCommunication.zip
- JSF Page Template for JSF Page Fragment In Oracle ADF 11g. Long time ago, back in early 2007, I had a blog post about JSF Page Templates - Templating in Oracle JDeveloper 11g. First technical preview for JDeveloper/ADF 11g was just released and it was my first blog post about 11g version. It was exciting time - I was writing it while flying somewhere between Norway and Denmark. We keep forgetting good things and remember only bad, but just think about - JDeveloper 11g is referencing ADF libraries from ADF Runtime module, but in 10g we were copying these libraries into every application, WEB-INF folder. Yes..., I'm happy to work with 11g. Today I will return to JSF Page Template topic and will describe how you can apply it for JSF Page Fragments and improve reusability across your system. Typically we apply JSF Page Template for JSF Pages, but there are many use cases when templates can be applied for JSF Page Fragments (when using ADF Regions).
Download - FragmentTemplate.zip
- Oracle Universal Content Management 11g and Oracle ADF/WebCenter 11g Integration. Every organization operates with different kind of documents. Oracle Forms systems usually store documents directly in database, using BFILE/BLOB format. It is hard to manage such content and publish it effectively. Oracle Fusion provides Oracle Universal Content Management (UCM) 11g product to store and manage unstructured data (documents, images, etc.). Today I will explain how to define Content Server connection from JDeveloper 11g and how to use WebCenter 11g ADF task flow to manage content stored in UCM repository.
Download - UCMNewFolder.zip
- Few Hints about ADF 11g Web Deployment Profiles. While doing different ADF 11g projects reviews, I frequently encounter situation when ADF deployment package size is multiplied at least by two, comparing to what it should be. Usually this happens because improper application libraries packaging - source code is duplicated during packaging into multiple identical libraries later included into EAR deployment distribution package. Today I will describe few hints related to this topic.
Download - WebDeploymentWar.zip
- Deploying ADF Applications as Shared Libraries on WLS. Today I have new post from Integration series. Most of the ADF applications are developed using multiple ADF Task Flows packaged into different ADF libraries. When we consume ADF libraries, by default these libraries are included into resulting EAR deployment package. In most of the cases it works well, however on large production deployments, customers ask to externalize and exclude ADF libraries from main site deployment package. This allows to redeploy shared ADF libraries without main site redeployment. Multiple applications can consume shared libraries, without packaging them into each EAR package. There is George Maggessy blog post about ADF Task Flows and Shared libraries on WLS - post.
Download - ADFIntegrationUIShell4.zip
- Handling Exceptions in Oracle UI Shell and ADF Dynamic Regions. Today is a next post in integration series, check my previous posts for the same topic. I will describe how you can handle exceptions with ADF Task Flow exception handler activity. Usually, we define separate Web page and render it, when exception occurs. However, its not user friendly - its better to inform user about exception and remain in the system. I will explain one undocumented technique for exception handling - combination between ADF Task Flow exception handler activity and dynamic regions. Described approach is applicable not only to Oracle UI Shell, but to the screens with dynamic regions as well.
Download - ADFIntegrationUIShell2.zip
- Oracle UI Shell Update Available (1.02). My colleague told me this morning, he saw that Oracle UI Shell template update is available. And it wasn't April 1st joke ! :-) This update was very important for us, we were facing bugs when multiple dynamic tabs were opened at the same time - its solved now. Thanks Oracle, good job. More about this template you can read on Oracle UI Shell Functional Pattern page. Oracle UI Shell template is a great pattern for application integration through Dynamic Tabs. I have developed simple application with multiple Dynamic Tabs based on Dynamic Regions from ADF Task Flows packaged into ADF JAR Libraries. Today post is a next in my Integration series.
Download - ADFIntegrationUIShell.zip