Friday Jan 29, 2016

Using Refresh Container component in MAF by Waslley Souza

clip_image001fresh Container, to use when we need to refresh a list view component.

In this post, I will show how you can use the Refresh Container component to update a list of employees instead of use a button component.
As a starting point, I will use the application of this post: REST/JSON in MAF.
Download the sample application: MAFRESJSONApp_v2.zip.

Open the empList page.
Go to Struture panel and right-click the List View component.
Select the Surround With option, and then the Refresh Container option.

Set the properties: action=”goFindAll”, pullText=”Pull down to refresh” and busyText=”Refreshing…”.

Remove the Refresh button. 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 Jan 28, 2016

MAF 2.2 New Features by Srini Indla

clip_image002V2.2 is the new release of Oracle Mobile Application Framework (Oracle MAF). This blog provides an overview of several new features added in this release.

1. UI Components

This release introduces several new components and enhancements to help developers support latest mobile patterns

Swipe To Reveal :

Allows user to swipe on a row in a list to reveal contextual actions. This functionality can be added to an AMX page using <amx:accessoryLayout/> component.

Example usage:

Pull To Refresh :

Allows developers to swipe down and refresh the contents of a page. This capability can be added to a page using <amx:refreshContainer/> component. 

Example usage: 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 Jan 27, 2016

WeatherApp with MAF using MCS by Soham Dasgupta

clip_image002Pre-requisites/Assumptions :

  1. MAF version : 2.1.3
  2. mafmcsutility.jar exists in the classpath of the application.
  3. Two REST API build and exposed from Oracle Mobile Cloud Service(MCS).
    • This application is available on GitHub and can be downloaded and run from your own machine.
    • This application uses 2 APIs created and exposed in MCS
      • /mobile/custom/WeatherAPI/getweather?country=<CCC>&city=<AAA>
      • /mobile/custom/WeatherAPI/getCities?country=<CCC>
  4. Part 1 : talks about creating the Mobile Backend on MCS : http://adfjava.blogspot.in/2015/10/weatherapp-with-maf-using-mcs-part-1.html

GitHub application can be found on :

https://github.com/sohamda/WeatherApp/

Following sections, I will talk a bit about

  • maf-application.xml
  • Datacontrol
  • Taskflow
  • Javascript to enable device back button

You can download the Github project and check the whole source code in JDeveloper 12.1.3
maf-application.xml:
I have defined the MCS connection details in this xml. 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 Dec 25, 2015

PaaS free trial accounts MCS and JCS

clip_image002As part of our communities we do offer free PaaS accounts (only for partners in Europe, Middle East and Africa. In case you are not part of EMEA please contact your local partner manager):

· Java Cloud Service & Mobile Cloud Service PaaS Demo Accounts (WebLogic Community membership required)

· Integration Cloud Service & Process Cloud Service PaaS Demo Accounts  (SOA Community membership required)

Watch the GSE Overview Video! Get an overview of what GSE is and how you can use GSE to help you sell. You can also get long running dedicated PaaS instances, therefore please send us details about your use cases.


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 Dec 08, 2015

Tutorial: Integrating iOS Beacons with MAF

clip_image002This tutorial walks you through developing an Oracle Mobile Application Framework (MAF) application that monitors and detects iBeacons on both iOS and Android devices. You will learn how to develop an iOS app that advertises an iBeacon identifier. During the lab you will also learn how to develop AMX pages, incorporate 3rd party Cordova plugins, and make practical use of local notifications with MAF apps.
In the first part you create a beacon client MAF application that uses a Cordova plugin as a bridge between the device’s bluetooth capabilities and the MAF application. Because the Cordova plugin’s API is written in JavaScript, you include JavaScript to communicate between the MAF application and the plugin. You'll also include a local notification so that if the application is in the background or the device is asleep, the user will become aware that the device has entered a beacon region.
In the second part of the tutorial, you create another application that acts as a beacon that will advertise its location. To test the applications from this tutorial, you must deploy each application to a separate device that supports Bluetooth Low Energy. One device will act as the beacon and advertise, while the other device will use an application to monitor and detect the advertisements. The device running the advertising beacon must be an iOS device. The device running the client application may either be an Android or iOS device. Note that the device running the advertising application must be an iOS device. This tutorial deploys and tests applications on iOS devices. 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 Dec 07, 2015

Mobile Cloud Service – External SOAP Service Connector by Andrejus Baranovskis


clip_image002These days everything is about MCS/MAF. I'm also looking into this new area, but I'm trying to mix traditional ADF topics and new things. Who knows may be MCS/MAF is a new big thing and its good time to learn it. I was testing how it works to define my own custom SOAP connector to calculate currency conversion rate.
MCS developer portal allows to create and use new connector. Special wizard helps to complete this task, just click on large CONNECTORS icon:

There is new option available to create new SOAP/REST connector:

Wizard reminds me JDEV interface, steps are similar as to generate SOAP connection in JDEV. You need to provide SOAP WSDL URL, name and description: 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 Dec 06, 2015

Mobile Cloud Service: Create an API that calls a external web service by Rubén Rodríguez Santiago

clip_image001In the lasts post about Oracle Mobile Cloud Platform I already told that you can connect to a external SOAP/REST web service, but you have to do it through a connector. We ahev also to keep in mind that with REST API or Android/iOS SDK you cannot call directly a connector, you have to call a custom API that will make the call to that connector so we will also have to make a implementation of out custom API using node.js.
You can download this example from my Github repository.
Check my previous post to see Oracle Mobile Cloud Service overview

In this post I am going to show with a quick example  how easy is to create an API that makes a call to an external REST web service.

The steps we are going to do are:

  1. Create a Mobile Backend (MBE)
  2. Create a Connector
  3. Create, design and implement an API.

Create a Mobile Backend (MBE)
A Mobile Backend is the gateway through we will make any API (custom or platform) call, so the first step is to create one.
In the Developer Portal we have to make click on Mobile Backend and in the next page we have to click on "New Mobile backend" and fill the required fields like name and description. 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 Dec 03, 2015

Mobile Cloud Service updated collateral

Thursday Nov 05, 2015

New Features : Oracle Mobile Security Suite Integration in Oracle MAF 2.1.3 by Kundan Vyas

clip_image002

Introduction

MAF 2.1.3 provides a tighter integration with Oracle Mobile Security Suite (OMSS) 11.1.2.3.1.This integration offers capabilities like, Android Containerization, Data Leak Protection, Data Encryption, Application Tunneling, Container Authentication and Single Sign-On. Features like Containerization, Data Leak Protection and Data Encryption are already supported on iOS from previous MAF releases.

New Features

1. Support for Android Containerization

Mobile app containerization allows customers to add a standardized security layer to native mobile apps.

The containerization process is simple, and developers do not need to change a line of code. MAF developers just need to deploy the application to OMSS, in JDeveloper or Eclipse. During the deployment, the app is first compiled and an unsigned version of the app is generated that is intended to be signed with an enterprise distribution certificate for distribution within the company. After deployment, a wrapped APK file is generated which is signed with the signing certificates which are configured in the MAF JDeveloper / Eclipse Preferences, in the Android platform section. 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 Nov 04, 2015

Create the MAF Client Application to Monitor and Detect Beacons

clip_image002 This tutorial walks you through developing an Oracle Mobile Application Framework (MAF) application that monitors and detects iBeacons on both iOS and Android devices. You will learn how to develop an iOS app that advertises an iBeacon identifier. During the lab you will also learn how to develop AMX pages, incorporate 3rd party Cordova plugins, and make practical use of local notifications with MAF apps.
In the first part you create a beacon client MAF application that uses a Cordova plugin as a bridge between the device’s bluetooth capabilities and the MAF application. Because the Cordova plugin’s API is written in JavaScript, you include JavaScript to communicate between the MAF application and the plugin. You'll also include a local notification so that if the application is in the background or the device is asleep, the user will become aware that the device has entered a beacon region.
In the second part of the tutorial, you create another application that acts as a beacon that will advertise its location. To test the applications from this tutorial, you must deploy each application to a separate device that supports Bluetooth Low Energy. One device will act as the beacon and advertise, while the other device will use an application to monitor and detect the advertisements. The device running the advertising beacon must be an iOS device. The device running the client application may either be an Android or iOS device. Note that the device running the advertising application must be an iOS device. This tutorial deploys and tests applications on iOS devices.

Purpose

Download Files

In order to complete this tutorial you must have JDeveloper 12.1.3 and MAF 2.1.1 installed. Then download a file archive and unzip it into a temporary place on your machine. This archive contains code and the Cordova plugin you will need during the tutorial. The file should be saved and unzipped in a temporary directory located in the same hard drive partition as your JDeveloper/mywork directory. The zip file also contains solution applications.

clip_image003

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

Tuesday Nov 03, 2015

MAF MCS Utility: Accessing Oracle MCS from MAF Made Simple by Frank Nimphius

clip_image002

With the recent release of Oracle MAF 2.1.3 a new utility becomes available that simplifies access to Oracle Mobile Cloud Services (MCS) from Oracle MAF applications. Oracle MAF MCS Utility (MAF MCS Utility in short) is a Java library for Oracle MAF applications and exposes  MCS client platform REST API calls as native Java calls. This blog post introduces Oracle MAF MCS Utility, explains what it does, how it works and where to find it.

Oracle Mobile Cloud Service client API

Oracle MCS is all about REST! Any mobile client that is capable of sending REST requests and to handle JSON responses can invoke MCS mobile platform functionality exposed on a mobile backend (MBE). This includes calls to Analytics, Notification, Storage, User Information and Custom API.

About MCS client SDK

REST is a good choice for Oracle MCS and ensures an understandable and very easy to use application development interface.

From the perspective of mobile application developers however, accessing REST interfaces from mobile applications is a mental mismatch. To access REST APIs from a mobile application developers need to "think REST" though their comfort zone is within their favorite programming language, which for mobile usually means Objective-C, Java or scripting.

To address this lack of developer comfort and to improve developer productivity, Oracle MCS provides development language specific client SDKs. The MCS client SDK provides a native language abstraction to the underlying REST calls (for Android and Objective-C at current, as well as Xamarin), plus handy infrastructure functionality like offline synchronization and support for push notification registration and handling.

The image below shows the basic architecture pattern implemented by all Oracle MCS SDKs. All in all, using the MCS SDK makes developers more productive, requiring them to write less code. 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 Nov 02, 2015

Installing MAF 2.1.2 and MCS Lab Utility on Mac (OS X Yosemite 10.10.4) by Luis Augusto Weir

clip_image002During the OFM Summer Camp for Mobile Cloud Service (MCS) it was all going very smooth. In fact too good!! until I had to set up MAF 2.1.2 in JDevleoper and configure the utility provided in the lab (maf-mcs-utility-2.1.3.1.4). At this point nothing worked…The fact that I use Mac didn’t make things easier either as most people were on Windows and the lab sort of assumed the same….. So after at least 6 hours banging my head against the wall I finally found a solution.


Word of Caution

I initially tried to make this work in an existing Jdeveloper 12.1.3 soaquickstart installation. I tried to set up MAF 2.1.2 in this environment (following the docs steps) and it got to the point that I was getting all sort of weird errors (many related to MDS not loading and others around compilation). So at this point I decided to do a full clean install of everything (including Java).

Below the steps:

Preparation:

  1. Uninstall JDK 1.8 or JRE 1.8 (if you don’t have a JDK installed yet) by following these instructions
    1. JDK uninstalling steps: https://docs.oracle.com/javase/8/docs/technotes/guides/install/macjdk.html#A1096903
    2. JRE uninstalling steps: https://www.java.com/en/download/help/macuninstalljava.xml
  2. Download JDK 1.7 from: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
  3. Download JDK 1.8 (for later use) from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
  4. Download JDeveloper 12.1.3 from: http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html
  5. Install Xcode from https://developer.apple.com/xcode/
    1. If Xcode is already installed make sure SDK is installed by clicking on Xcode Menu > Preferences > Download
    2. If no simulator is installed, click on the latest simulator to install it

Installation:

  1. Double click on jdk-7uxx-macosx-x64.dmg to install JDK 1.7
  2. Open a command prompt and check that it was properly installed by running java –version. 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

Saturday Oct 31, 2015

Designing Custom APIs for Oracle Mobile Cloud Service (MCS) right from the Browser by Andreas Koop


clip_image002

Designing Custom APIs for Oracle Mobile Cloud Service (MCS) right from the Browser

One of the powerful and cool new features in Oracle Mobile Cloud Service is the hub for Custom APIs. From the architectural perspective Custom APIs are consisting of two parts: The „Design“ and „Implementation“ Part. In this post I am going to focus on the first part.

Within MCS it is possible to create the API interface right in the browser or by uploading a so called RAML document that describes the API resources. Having done this you can provide some sample data being able to test and implement against the newly created API.

Focus of this post is to show how to design an API right in MCS UI and test it.

How to do it

Goto Development > APIs

Click „New API"

If you have a RAML document at this point in time you can upload it to define the Resources for your API. If not it is possible to create it on the fly (as shown in this post).

Next: Click „Create“. It will take you to the „Designer“ View. You will see the general configuration of your Custom API. 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 Oct 30, 2015

Managing Multiple Applications in Oracle Mobile Cloud Service by Yannick Ongena

clip_image002Introduction

When the landscape in IT is changing from an on premise architecture to a cloud based architecture and from a desktop based workstation to mobile and tablet workstations,  some questions may arise from an enterprise architecture perspective. On of those questions will probably be: “How do we manage multiple applications” .
When you have to design multi-channel application you have a set of back-end services, security providers, policies and so on. How do you manage these assets and how do you make them available to different application?

This article will guide you through some concepts used in Oracle Mobile Cloud Service (MCS) so will have a better understanding on how to manage multiple application programming interfaces (API’s) and expose them to different applications based upon their needs.

Main Article

Bottom-Up Approach

First of all we need to rethink the way we design mobile API’s.

Currently, many enterprises are using a Service oriented architecture which advocates a top-down approach. All the services are created independent from who or what consumes these services. This top-down approach will provide services that can be used in the entire enterprise and if a new application requires any of these services, the application needs to consume these service as-is.

The difference with the bottom-up approach is that we tailor the services, or API’s on the need of the mobile application. At first this might contradict with everything a proper enterprise architecture stands for, however when we start to think about it, it makes more sense.

Current SOA enabled services are consumed by applications deployed on heavy hardware. They have plenty of processing power and super fast network connection to the back-end services.
If we look at the mobile landscape, all the processing power comes from a single device. Your mobile phone or tablet needs to parse huge amount of data coming from the server. Because of this we need to rethink the design of the services that are consumes by these devices.

In general an application deployed on a server will call multiple back-end services to build the data model for a single screen. While the server can call these services in parallel and build the screen in an asynchronous way, a mobile device lacks that capability. That is why it is better to tailor these service for mobile consumption. These services also need to be optimized for mobile usage so only the data that is used on the mobile device will be included in the response. This will result in the best performance for your mobile application.

More information about designing mobile optimized API’s can be found in the article Creating a Mobile-Optimized REST API.  .

Mobile Backends – Gateway to your Application

If you want a mobile application to connect to your resources in MCS you have to create a mobile backend (MBE). An MBE is like a gateway for your application into your mobile assets. They are a server-side grouping of resources that can be used to group mobile applications. 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

Search

Archives
« February 2016
SunMonTueWedThuFriSat
 
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
     
       
Today