Posts

OOW 17

Hi Folks, OOW '17 is coming! I'm writing this post about upcoming sessions from Oracle ADF/JET perspective. While I was browsing over the same, I found the below to be repeating sessions from previous OOW and are already available as Video Formats in Oracle Learning Streams.  " JavaScript and HTML5 UI  Development : Oracle's Visual  Development  Approach" by Brian Fry. -  Link " Oracle  Application   Development   Framework  Back-End for JavaScript/HTML5 UIs " by Sherry Yu . - Link That's all folks!!!

Google Maps : Getting ready with Google Maps JavaScript API v3

Image
Google Maps API enables us to seemly integrate Google Maps with external Web Applications. This post focuses on getting ready with Google Maps JavaScript API creation, activation and monitoring. Console Home : Initially we need to create a Project, enable it and  get a API Key to access it . Go to Google Maps JavaScript API Doc page here . Click on "Get A Key", you would be provided with a popup as shown below, choose "Continue". That would take us to google dev console page, requesting us to create a New Project or choose from Existing ones, make a choice and move futher. Post that you would require to create a Server Key as ADF applications deploy to WebServer, so Choose "Server Key" from API Key. Give some meaningful name, and any domain details for restrictions and you are done. Note:  The Google Maps API is free for commercial use, provided that the site on which it is being used is publ...

Oracle ADF : Dynamic Regions

Image
A good web design should consider the following aspects Page boot-up/ load speed Visually attractive appeal Quicker navigation The first two aspects largely deal with the amount of  picturesque content, styling & UI approach taken. In this post, I am going to deal with "In-Page" Navigation. The above approach helps to keep the end user engaged still being on the same page. So, the question here is, how to achieve it? Oracle ADF provides Regions & Dynamic regions to achieve this. A region is a section of the page that renders, so if we are ought to achieve dynamic updation of region, we need to implement Dynamic Regions - an ADF region where the task flow binding dynamically determines the value of its taskFlowId attribute at runtime. Hope you got the theory, let's check it out... Create an adf application (For the demo sake, I have developed based on static content, not related to any data bound components). Considering the work space s...

Oracle ADF Mobile : Hybrid App Development

It's the era of mobile computing and Oracle has snatched its opportunity with the unveiling of Oracle ADF Mobile. I know, it's been more than a year since Oracle unveiled this, the so-called hybrid framework, never the less its worth exploring. There are quite a few competitors like Adobe PhoneGap, IBM Worklight and Apache Cordova, so what makes this distinguishing?  Commercial vendors like Oracle have taken extra care to set apart this hybrid framework from competitors by adding additional functionality that caters a rich user experience, that’s completely optimized for mobile. It embeds PhoneGap libraries to support device services integration like Gallery, Camera, GPS, Email, Contacts, etc. It supports SQLite DB engine for offline activites. Business logic can be delivered through Java, Javascript or WS. Out of box integration support with OIM. Seamless integrated development experience with Oracle JDeveloper. Same development paradigm as develo...

Oracle ADF : Working with Parameters

Image
Parameters accept and store values and can be very helpful in ADF applications. There are many types of parameters as visualized below. To demonstrate the above scenario let’s develop a ADF application, Scenario: Lets have 3 buttons on a page & on press of each button renders different page fragments by passing the parameters as depicted in above pic. Ø   Create a JSPX page – “Index.jspx” with no bindings, add 3 buttons with action listeners respectively with each action listener having a unique value, say first button has the following value   #{‘a’} stored to #{requestScope.ClickRec}, i.e this translates to ClickRec of requestScope variable storing a value – ‘a’ on clicking first button in laymen’s terms. Ø   As the components on page is not bound to any data controls, no data bindings is created dynamically, so update this by right clicking on the page & create Page Definition and accept the defaults. Ø   Naviga...

Oracle ADF : Consuming Web Service to drive data to UI

Image
The context of this post on Oracle ADF is SOA to ADF integration or Consuming Web Service by creating a Web Service Data Control to display data on UI Page, it’s your take, anyway! To get our hands dirty, let’s get started with following ü   Jdeveloper IDE   (11.1.1.7.0) ü   Oracle DB XE 11G (Up & Running!) ü   WL Servers 10.3.6 (Up & Running!) ü   Internet Explorer 10 (10.0.9200.16384) [Remember, I asked you to take down the WSDL URL in my previous post , that’s right! We are going to use the same WSDL URL & the SOA application deployed earlier is Active on WLS.] Here it goes, Ø   Create an ADF application. Ø   Open up New gallery from Model Project to create a Web Service Data Control as displayed below.   Ø   To the invoked popup, specify a Name & WSDL URL which we noted down earlier.   Ø   Click “Next” to Shuttle the data control operation &...

Oracle SOA : Exposing data using Web Service

Image
Hi folks! Welcome to my new post on Oracle SOA.   This post explains the use of Mediator as a component to expose the data through a Web Service Adapter to outside world, received from DB Adapter. [The WSDL URL obtained later, can be consumed in an ADF Application. Check out this post ] To start with, I have the following resources handy ü   Jdeveloper IDE   (11.1.1.7.0) + SOA Extensions ü   Oracle DB XE 11G (Up & Running!) ü   WL Servers 10.3.6 (Up & Running!) ü   Internet Explorer 10 (10.0.9200.16384) Here it goes, Ø   Create a SOA Application with Empty Composite as below.   Ø   Drag & drop a “ Database Adapter ” from component palette to the External References swim lane as pictured below.     Ø   Click “Next” in the popup invoked to configure the DB adapter.     Ø   Input a Service Name, choose a DB Connection. ...