Showing posts with label Web Services. Show all posts
Showing posts with label Web Services. Show all posts

Sunday, June 23, 2013

JDev/ADF sample - Calling ADF BC Web Service from BPM Process

  • Calling ADF BC Web Service from BPM Process. This post is about calling ADF BC Web Service from BPM Process. In order to keep track of the steps executed in the process I will be calling ADF BC Web Service, passing task outcome and updating database table. This is quite handy, especially when identifying and recovering failed BPM process instances. You could implement process instance replay, when process instance execution data is stored in the DB. For this purpose I will pass process instance ID to the ADF BC Web Service in order to identify and assign current process task.
    Download - adfbpmapp_ps6_v3.zip

Sunday, April 28, 2013

JDev/ADF sample - Master-Detail ADF BC Web Service for ADF Mobile

  • Master-Detail ADF BC Web Service for ADF Mobile. It seems like a bit unclear for the developers if ADF BC Master-Detail relationship can be reused out of the box through ADF BC Web Service in ADF Mobile. Short answer - yes, it can. In order to prove this I have developed sample application - second level Master-Detail relationship is exposed through ADF BC Web Service and consumed from ADF Mobile screens.
    Download - adfmdmobilews.zip

Saturday, April 20, 2013

JDev/ADF sample - Oracle BPM 11g Mobile Worklist with ADF Mobile

  • Oracle BPM 11g Mobile Worklist with ADF Mobile. I have developed ADF Mobile application to bring BPM worklist tasks to the mobile device - I would like to share concepts of such ADF Mobile application with the community. The whole idea is based on BPM Java API to access BPM Context and get currently assigned tasks for the user, read more here - Lightweight ADF Task Flow for BPM Human Tasks Overview. Once tasks from BPM are queried, they are exposed through ADF BC secured Web Service method. Web Service is consumed from ADF Mobile application through Web Service Data Control - task data is rendered on the mobile device, later user can do callback and send approve/reject actions. Approve/Reject actions will be processed by BPM API on ADF BC secured Web Service side..
    Download - BPMMobileWorkListApp.zip

Friday, November 23, 2012

JDev/ADF sample - ADF Mobile - Secured Web Service Access

  • ADF Mobile - Secured Web Service Access. I will dig today into secured Web Service access from ADF Mobile. There are good tutorials how to consume open Web Service in ADF Mobile, but in practice almost every Web Service exposed for the mobile must be secured - who wants to expose open Web Service on the public internet? ADF Mobile doesn't support Web Service Java Proxy, you have an option to use Data Control generated directly from the Web Service - I will explain the steps how to configure such Data Control for secured Web Service access. Thanks to Joe Huang (ADF Mobile Product Manager) - he gave me very useful hints to finalize secured Web Service invocation from ADF Mobile.
    Download - mobilesecuredws.zip

Friday, July 27, 2012

JDev/ADF sample - LOV Implementation with ADF BC Service-Enabled Entity Objects

  • LOV Implementation with ADF BC Service-Enabled Entity Objects. I had a question about use case related to ADF architecture for different databases access. ADF system was running on multiple databases (Oracle, Microsoft SQL Server, IBM DB2) at once. Part of the data was coming from Oracle DB, LOV's data from Microsoft SQL Server, the rest from IBM DB2. ADF BC 11g connects to all three databases and can work without issues. However, from architecture point of view - ADF BC Model project is configured with database type, means ADF BC Model can connect to only one DB type. If we want to connect to other DB type, need to have separate ADF BC Model project. No problem with that - only one question. How we can integrate all these projects with different DB types together. One of the possible solutions for this scenario I will describe in today post -  ADF BC Service-Enabled Entity Objects. I have blogged about it back in 2009, always nice to revisit same topic after couple of years - Web Service Interface for ADF BC Application Module in Oracle Fusion 11g and Service-Enabled Entity Objects in Oracle Fusion 11g.
    Download - LOVService.zip

Thursday, August 13, 2009

JDev/ADF sample - Service-Enabled Entity Objects in Oracle Fusion 11g

  • Service-Enabled Entity Objects in Oracle Fusion 11g. In Oracle Fusion 11g, JDeveloper provides great support for Application Integration Architecture (AIA) through Service-Enabled Entity Objects. It allows to build Enterprise Composite Applications (ECA) in Oracle ADF. Developer now can implement Entity Objects directly based on View Objects from remote application, exposed through Web Service. This means we can expose and consume Web Services on Model level using ADF Business Components, this gives more centralized integration approach. Its especially important for AIA, when building ECA. For more info, please read Section 11.3 Accessing Remote Data Over the Service-Enabled Application Module from Oracle Fusion Developer Guide. In this post I will describe some tips and tricks from my experience.
    Download - SalaryUpdateRemote.zip, SalaryControlService2.zip
Spanish Summary:

Este post ofrece un ejemplo de una nueva caracteristica que ofrece Jdeveloper para permtir la creacion de entidades en base a ViewObjects que pertenecen a aplicaciones remotas, las cuales son accedidas por medio de WEB Services. De esta manera nuestras aplicaciones pueden implementar rĂ¡pidamente Enterprise Composite Applications (ECA) usando ADF.

Saturday, August 1, 2009

JDev/ADF sample - Web Service Interface for ADF BC Application Module in Oracle Fusion 11g

  • Web Service Interface for ADF BC Application Module in Oracle Fusion 11g. I'm starting series of posts where I will describe how you can orchestrate and connect various services in your infrastructure with Oracle Fusion/SOA 11g. I will follow such plan during my infrastructure implementation: (1) Will create Web Service interface for Application Module and expose custom method. (2) Will create second application, where will raise Business Event. (3) Will create BPEL composite, this composite will be subscribed to raised event and will route process according Human Task outcome. Today I will cover first step from my plan and will define Web Service interface for custom methods based on ADF BC Application Module. You can download sample application and deploy it in your standalone Oracle WebLogic environment.
    Download - SalaryControlService.zip

Sunday, July 29, 2007

JDev/ADF sample - Web Service Invocation in Oracle ADF

    Download - WSTopLinkClient.zip

Saturday, July 21, 2007

JDev/ADF sample - Invoking BPEL Process from Oracle ADF Application

  • Invoking BPEL Process from Oracle ADF Application. SOA is important technology, because it allows developers to find common language with business analysts and as result to develop more useful systems. Simply speaking, SOA allows to participate in system development both parties - IT and non IT. IT folks develop technical things and non IT people are allowed to manage system logic. My goal is to show, how it looks in reality, and how it works with Oracle JDeveloper and Oracle SOA Suite. Sample applications are developed using Oracle JDeveloper 10.1.3.3 and BPEL process is tested on Oracle BPEL Process Manager 10.1.3.1.0. Web application Model layer is implemented using Oracle ADF Business Components and is based on standard HR schema, in View layer ADF Faces components are used. Developed synchronous BPEL process access HR schema using Oracle TopLink.
    Download - SalaryBonusApplication.zip, SalaryBonusProcess.zip

Sunday, June 10, 2007

JDev/ADF sample - Web Services in Oracle JDeveloper 11g

  • Web Services in Oracle JDeveloper 11g. I have received a comment for my previous post - Web Services and Oracle TopLink, about if to try similar sample on Oracle JDeveloper 11g Technical Preview release. Yes, it is interesting, just because you can compare and evaluate new powerful features that will bring JDeveloper 11g Production release. I have tested Web Services development support in 11g using developed sample application, this sample implements annotation only Web Service. I have used the same business logic as for previous one.
    Download - WSTopLink11.zip

Sunday, June 3, 2007

JDev/ADF sample - Web Services and Oracle TopLink

  • Web Services and Oracle TopLink. If you are Oracle TopLink developer and want to access persistence layer through Web Service interface, hopefully you will find an answer in this post. Developed sample doesn't provide user interface, it will be tested on Oracle Application Server. It is based on standard HR schema and provides functionality of querying for all or one particular country.
    Download - WSTopLink.zip