Sunday Jun 21, 2015

WebSocket Accelerated Live Data Synchronization for MAF by Andrejus Baranovskis

clip_image002New generation Mobile and Web applications are going to use WebSockets. This is one of the fastest and convenient ways to transfer JSON formatted data from the server to the client and back. Huge advantage - server could initiate data synchronisation request and deliver JSON messages directly to the client. You should read my previous post about detail information how to configure MAF with WebSocket - Oracle MAF and WebSockets Integration - Live Twitter Stream.
In this post I would like to describe, how to integrate further information received through WebSocket with MAF components. I will use MAF Tree Map UI component to display live data for Tweets locations.
Below you could see screen recording - MAF Tree Map is getting refreshed automatically, each time when update through WebSocket channel is being received. This is amazing, how fast data through WebSocket channel is coming. In this test, MAF is handling around 1 update per second, received from WebSocket: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Thursday May 28, 2015

ADF BC Web Service – Return List of Complex Types by Rohan Walia

clip_image002ADF Business Components can be exposed as SOAP Services. Application Module provides Service Interfaces as a way to define operations for the services to be exposed. Custom methods written in AMImpl class can also be exposed as operation of web services.
But one of the limitation is that there is restriction on return types from the services exposed as service interface from Application Module.
In this post we will see how easily we can develop a web service using ADF BC Service Interface and can tweak/use one of the given returnType List to return list of complex type object.
Use case here is to create an operation in ApplicationModuleImpl class to return List of Object consiting of three variables -  DepartmentName,ManagerId,IsManagerFlag and expose the operation as ADF BC Service Interface SOAP Service. (Jdeveloper 11.1.1.7)
So Lets get started
Created a simple ADF Web Application using HR Schema and created DepartmentsEO , VO and AM and there respective Java Classes.
Create a Programmatic VO - WSResultPVO which will be returned from the operation of the WebService.
Now Add three variables in the PVO. DepartmentName,ManagerId and IsManagerFlag. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Wednesday May 27, 2015

Indicator for Background REST Service Access with A-Team Mobile Persistence Accelerator by Andrejus Baranovskis

clip_image002You should check my previous post about Background REST Service Access with A-Team Mobile Persistence Accelerator (AMPA). There I describe how to optimise MAF performance for REST service calls, allow user to continue working with the mobile application, without locking the screen until Web Service response arrives. Steven Davelaar have documented how it works, you can read it in his blog - Calling Web Services in Background Using MAF 2.1.
I have updated sample application from previous post, to include indicator for AMPA background service call status tracking. Updated sample application - MobileServiceBusApp_v8.zip.
AMPA provides application scope variable, which acts as a flag and indicates when background service call is executed. Based on this flag, we could conditionally display animated GIF image, this will help user to understand if background service call still runs:

When user is searching and request is being processed in background, he will see rotating status indicator in the top right corner: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Tuesday May 26, 2015

How to implement iBeacon in MAF 2.1.1 by Graeme Mawson

clip_image001Want to alert your customer to a special loyalty discount offer when they enter the menswear department in one of your retail stores?  Want to present information about a famous artist’s life when a visitor to your museum nears one of the artist’s paintings?  These are just two of the many real-world scenarios made possible by the use of iBeacon technology.

This blog post provides an introduction to iBeacon technology and a description of how to build two different MAF apps – one that pretends to be an iBeacon and another that detects iBeacons and uses the local notifications functionality provided in MAF 2.1.1 to inform the user, even when the app isn’t even running.

To deploy these apps to iOS devices you will need an iOS developer account.

What is a beacon?

A beacon is a device that is intentionally conspicuous to draw attention to a location, such as a lighthouse sitting on the edge of a cliff.

In in the Internet of Things (or IoT), a beacon is a small electronic device that transmits a regular radio signal according to the Bluetooth v4 Low Energy spec (otherwise known as “BLE”).  A beacon typically does no more than advertise its existence by transmitting a unique identifier and can last for months on a single cell battery.

Any BLE-enabled device, such as a modern smartphone, can detect a beacon by listening for BLE-based transmissions.

Whilst the possibilities appear endless, typical applications for beacons currently include retail stores, exhibition halls, museums, places of employment and homes, where users can be alerted to information pertaining to their current location within a building.

What is (an) iBeacon?

iBeacon is a technology introduced by Apple in iOS 7 that defines a standard for how a beacon identifies itself (or “advertises”) in its BLE transmissions.  Any beacon that implements this standard can be called an iBeacon.

Most beacon manufacturers implement the iBeacon standard by default, whilst some can also be configured to use their own proprietary protocol.  It’s also possible to configure a post-2012 iOS device, or Mac running OS X Mavericks (not Yosemite), to act as an iBeacon.

Whilst the iBeacon technology is included in the iOS Core Location framework since iOS 7, any BLE-enabled device can detect iBeacons and various libraries exist for use on devices running Android 4.3 or above.

How does iBeacon work? Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Monday May 25, 2015

MAF 2.1.1 : Using Local Notifications by Luc Bors

clip_image002One of the new features in version 2.1.1. of Oracle MAF are local notifications.
These notifications originate within the MAF application and are received by the same application. They are delivered to the end user through standard mechanisms supported by the mobile device platform (for example, banner, sound) and can work when the application is either in the foreground, background or not running at all.
I this post I show you an example of how to work with Local Notifications from Java. I use a simple MAF app. I will not explain how to build this app, but the source can be downloaded here. It is mainly derived from the "LocalNotificationDemo" public sample app.
Introducing Local Notifications
As with many framework features, MAF supports three ways to set Local Notifications. First you can use the device features datacontrol. To support declarative use of Local Notifications, the DeviceFeatures data control includes the addLocalNotification and cancelLocalNotification methods, which enable MAF applications to leverage a device's interface for managing notifications so end users can schedule or cancel local notifications.

Second you have the option to set Local Notifications from JavaScript. MAF allows you to manage local notifications using JavaScript APIs in the adf.mf.api.localnotification namespace. The methods add() and cancel() are available. More info on this is available from the developer guide (see resources at the end of this post).
Finally you can set Local Notifications from Java code, which is what I will explain in the remaining part of this post.
Set up the Listening Part
Because the Listening part is the same for all methods mentioned above I will start to explain this before going into detail for setting Local Notifications from Java code.
The concept of Local Notifications is from an MAF perspective not different from Push Notifications
First we need to create an eventListener that specifically listens for Local Notifications.
This class must implement oracle.adfmf.framework.event.EventListener.
In this class we must use the onMessage() method, which will fire when a notification is received. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Sunday May 24, 2015

Mobile Bootcamp training material available

At our WebLogic Community Workspace (WebLogic Community membership required) we published the Mobile Bootcamp training material from the Community Forum in Budapest.

clip_image002Oracle Mobile Application Framework (Oracle MAF) is a framework for building on-device mobile application, allowing you to embrace a mobile strategy whilst exploiting your current enterprise skills.  Based around Java, HTML5, JavaScript and CSS, you will be able to quickly build and deploy applications to both iOS and Android mobile platforms.  This workshop will take you step-by-step through the creation of a mobile application using Oracle Mobile Application Framework (MAF), building pages, page flows, building data services, consuming REST services, security and device integration.

For more information please visit the MAF tag here (WebLogic Community membership required)

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Thursday Apr 16, 2015

Reading MAF iOS Simulator Logging Output by Andrejus Baranovskis

clip_image002It could be very handy to know how and where to read MAF logging output from iOS simulator. This is not that obvious to find logging output on Mac OS system. All log is written into application.log file, this file is located inside temporary application directory. I will explain how to locate this directory and how to open application.log file. You can read more about MAF testing and logging here - 18.5 Using and Configuring Logging.
Sample mobile application - ADFMobileLogginApp.zip, is pretty basic and contains System.out.println to write a message into application.log file: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Wednesday Apr 15, 2015

MAF 2.0: Using Local Database by Waslley Souza

clip_image001

When you are building a MAF application, you may decide to use Web Services (SOAP / REST) or local Database to retrieve or persist your data. If you decide to use local Database, the SQLite is the default Database of MAF. SQLite is designed for use as an embedded database system, one typically used by a single user and often linked directly into the application. It is ACID-compliant, lightweight and portable.

In this post I will create a CRUD of employees in Oracle MAF 2.0 using SQLite Database. Download the sample application: MAFDBApp.zip.

This article was published on OTN LA in brazilian portuguese, and you can read it here: Oracle Mobile Application Framework 2.0: Usando Banco de Dados Local.

Create a Mobile Application Framework Application, and name it as MAFDBApp. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Tuesday Apr 14, 2015

Mobile Suite – Web Service Performance Optimisation with Result Caching by Andrejus Baranovskis

clip_image002One of the main advantages of Oracle Mobile Suite - Service Bus and SOAP/REST web service transformation (more here - Oracle Mobile Suite Service Bus REST and ADF BC SOAP). In addition you will get very nice performance improvement, there is out of the box caching for Web Service resultset with Coherence. I'm going to demonstrate how it works, all out of the box - really simple.
You could define caching for external service (ADF BC SOAP web service in my case), just edit service definition. This is our business service running on WebLogic backend, where actual processing happens. Naturally we would like to eliminate duplicate calls and retrieve previous resultsets from cache stored in Service Bus layer: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Monday Apr 13, 2015

Get your Oracle Mobile Development 2015 Implementation Specialist Certification!

clip_image002Mobile Development 2015 Essentials Exam (1Z1-441) is now available in beta testing.
This certification covers topics such as: Mobile Application Framework (MAF), Mobile Application Framework (MAF) Data Layer, User Interface (UI) Development, Device Services Integration, and App Security. Up-to-date training and field experience are recommended.

This certification is available to all candidates, but is geared toward members of the Oracle PartnerNetwork. OPN members earning this certification will be recognized as OPN Certified Specialists. This certification qualifies as competency criteria for the Oracle Mobile Development specialization. Access the exam study guide in order to get pointers to resources meant to help you prepare for the exam! Take the exam for free while in beta testing! Request a discounted beta voucher via the OPN Beta Certified Specialist Exam Voucher Request Form!

Useful links:

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Tuesday Mar 10, 2015

Monitoring of Mobile Applications

clip_image002Describing the INI Settings for the Application Interface Services Server This tutorial describes the INI settings for the AIS Server through Server Manager.

Describing Logging and Diagnostics of the Application Interface Services Server This tutorial describes the logging and diagnostics for the AIS Server through Server Manager.

Describing the Runtime Metrics of the Application Interface Services Server This tutorial describes the runtime metrics for the AIS Server through Server Manager.

Describing Clustering with the Application Interface Services Server This tutorial describes monitoring clustered AIS Servers through Server Manager.

Get the Tutorial overview here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Saturday Mar 07, 2015

Form-Field Validation in MAF by Waslley Souza

clip_image002The validation of required fields in web applications is important, and you have to do the same for mobile applications.
In this post I will show how you can validate required fields in Oracle MAF 2.0. To do this, I will use the application of this post: REST/JSON in MAF.
Download the sample application: MAFValidationApp.zip.

Open empEdit page.
Add the Validation Group component to validate required fields.
Go to Components panel > Operations, drag the Validation Group component and drop before the panelFormLayout component.
Set the property: id=”vg1″.

Go to Structure panel, drag the Panel Form Layout component and drop inside the Validation Group component. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Friday Mar 06, 2015

Building Mobile Applications with Oracle Mobile Application Framework free Oracle Tutorial

clip_image002 In this tutorial, you use Oracle JDeveloper and Oracle MAF to build and deploy a mobile application. The application uses a simple Java class to store the data and displays a list of employees on one page and a graph of salaries on another. As you build the application, you will add MAF layout components to further control and customize the behavior of the application.

In Part 2 of the tutorial, you add specific device integration to your application. In Part 3, you add a call to a web service that accepts arguments and upgrades the salary of an employee. Get the Tutorial here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Wednesday Mar 04, 2015

Catching Up on Mobile By Carlos Chang


clip_image002There's a few things we should probably catch up on regarding Oracle Mobile Application Framework (MAF) that you may have missed or should revisit...

1. There's a new version of Oracle MAF. Version 2.0.1 has support for iOS 8, enterprise management and security enhancements, component enhancements and enhanced tooling support.  Joe Huang covers it in detail in here. Speaking of enhance tooling support, leads to #2.

2. If you haven't heard about Oracle Enterprise Pack for Eclipse (OEPE), well, OEPE <3 MAF and isn't afraid to show it. The new release supports Eclipse Luna, Oracle Developer Cloud Service, and of course MAF 2.0.1.  Greg Stachnick covers it well here.

3. So now you have JDeveloper and Eclipse to choose from. Good! Time to put step up to the challenge. The Oracle Mobile Application challenge. Sign up of right challenge and potentially win some cash. Click here for details.

4. Want a bit of extra help? This article on mobile design patterns might help.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Search

Archives
« July 2015
SunMonTueWedThuFriSat
   
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today