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

Saturday Feb 28, 2015

MAF 2.0.1.2.0 available

Mobile Application Framework 2.0.1.2.0 Release Notes

Bugs Fixed In This Release

Bug Number

Description

Platform

1.

20020844

Deployment to Android 5.0 device fails if app not yet installed

Android

2.

19987840

First SSL REST web service call has performance issue on iOS 8

iOS

3.

19952693

Task flow doesn't navigate if optional input parameter is not specified

Both

4.

19666265

Redirect loop when accessing a protected web resource

Both

5.

19630198

User can access secured feature after idle timeout

Both

Get MAF 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 Feb 13, 2015

Mobile Tools for Java™ (MTJ) 2.0 plugin for Eclipse IDE released by Alexander Belokrylov

clip_image002I proud to announce that a new version of MTJ plugin for Eclipse have recently been released with a significant contribution of Oracle's engineers. Mobile Tools for Java TM (MTJ) 2.0 release is making MTJ plugin IoT ready by supporting Java ME Embedded 8 platform. Oracle Java ME Embedded 8 is Java TM Runtime client optimized for ARM based micro controllers and other constrained devices. Now MTJ 2.0 provides a support for CLDC 1.8 configuration (JSR 360), MEEP 8.0 profile (JSR 361) support, MEEP 8.0 profile (JSR 361), better IMP-NG profile (JSR 228) support. MEEP 8.0 permissions mechanism was significantly changed and looks similar to Java SE, MTJ 2.0 supports MEEP security model. Code Validation Builder provides an ability to perform pre-compilation analysis and generates warnings using 3rd party plugins created on top of MTJ. Also support for Java ME APIs javadocs in zip archives provided by the new version of MTJ.

Detailed information and download links can be found at the project page 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 Feb 06, 2015

An interview with enterprise mobility lead Luc Bors by Chris Muir


clip_image002Mobility expert Luc Bors from AMIS Netherlands recently published via McGraw-
Hill the Oracle Mobile Application Developer Guide, the very first book to come out about Oracle's Mobile Application Framwork (MAF) since its release earlier this year. Following on from my previous articles on Oracle mobile leaders, in this Q&A article we interviewed Luc to share his insights into the world of Oracle mobility with you.

Firstly Luc, congratulations on publishing your book on Oracle's Mobile Application Framework. This must have been a big achievement for you?

Luc: Thanks Chris. This was definitely a big achievement for me. It was hard work and it took a lot of my spare time. I will never forget the moment when I submitted my final chapter and, some 3 months later, the moment the shipment with my book in print arrived. It felt great! I was finally able to hold the book in my hands.

Great work. If we can take a few steps back, I've had the pleasure of knowing you for a few years when you've presented at conferences around the world, but for the audience can you please introduce yourself, your role and organization you work for?

Luc: My name is Luc Bors. I am an Oracle ACE and I work as a principal consultant for AMIS Services in the Netherlands. AMIS is a consulting company where expertise is key. This is evident in our profound knowledge of the complete Oracle technology stack. With nearly 100 employees we not only work for customers in the Netherlands, but also offer expert services throughout the world.

What’s your background before working on mobile solutions?

Luc: Actually I do not have a background in IT at all. I have a master’s degree in Genetic Engineering from Wageningen University. During my years in university I already developed an affinity to computer science as I was using and altering highly sophisticated software for statistical analysis. After graduating it did not take much time and effort to switch from Bio Technology to Information Technology. Both were emerging technologies in the 90’s and that is where my passion lies: new technologies. I started as an Oracle Forms and PL/SQL Developer in 1997 and about 8 years ago I switched to Java and Oracle ADF. I have been involved in many ADF projects, both greenfield ADF implementations and Forms to ADF modernization projects. First as developer, later as technical team lead and architect.

And today what’s your main focus?

Luc: Today my main focus is ADF architecture and mobile solutions based on the Oracle Mobile Application Framework. I tend to combine both and use the power of both frameworks in the context of enterprise mobility.

As a developer, what’s changed since you took up the “mobile first” mantra?

Luc: The first time I took up a mobile challenge was actually quite some years ago. In a proof of concept for a retailer I created a solution for handheld scanners that called out to a web service to find the stock for articles with a given barcode. Back in those days nobody had heard of “mobile first”. Read the complete interview 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

Search

Archives
« May 2015
SunMonTueWedThuFriSat
     
27
28
29
30
31
      
Today