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

Wednesday Dec 09, 2015

Fasten your seat belts: Flying the Oracle Development Cloud Service (3 – Take Off – ROTATE) by Timo Hahn

clip_image001The last part of the series 3 – Take Off – V1 we finished when we could build hte application using ANT on the local machine. In this part we are going to try this on the Oracle Developer Cloud. Finally we should see how Continuous Integration and Continuous Delivery works in the cloud.

NOTE
I created a fresh set of ANT build scripts named ‘buildlocal.xml’ and ‘buildlocal.properties’ from the project to demonstrate the process. The original ones name ‘build.xml’ and ‘build.properties’ are the final result which I didn’t want to revert. So when you create the ANT scripts yourself you can user the default names ‘build.xml’ and ‘build.properties’. When I talk about build files I now mean the ones named ‘buildlocal.*’.

Demo Build Files

For the same reason we create a new build job in the cloud names ADFTestBuild to show the steps to take. The final build job is named ADFCommunuityFrkExt. 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

Monday Nov 16, 2015

What was the "Mandatory Maintenance for Java Cloud Service" last night? by Simon Haslam

clip_image002

Had I been working in Operations and on-call at an organisation using Java Cloud Service then it appeared I may well have been rudely woken up last night! At around 2am in the UK this email innocently dropped into my mail box:

This warning of an impending outage to Java Cloud Service was closely followed by one for Database Cloud Service. Judging by the email - "during the maintenance your services will be unavailable" - it seems an hour and a half later the instance failure notifications (from Enterprise Manager or Nagios etc) would have probably started coming in.

Then at 4:36am I had an email to say my JCS was now available again, and 5:11am to say my DBCS was too so, a total outage according to the emails of just under 2 hours. However when it happened all of my Java and Database test instances (test) were down already but as far as I can tell no changes were actually made to them (they were not started up for example) - be sure to read my conclusions at the end of this post!

What's New?

So this evening I've been having a good look round. The most obvious first change is that you can provision new domains with WebLogic 12.1.3.0.4, and existing full JCS ones (i.e. the ones including 'cloud tooling' for patching) have the following patches available: 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 Nov 14, 2015

Java Cloud Service now available in EMEA datacenters & updated material

clip_image002We are pleased to announce the availability of Oracle Java Cloud Service (JCS) in EMEA datacenters.
This option can now be selected in WebQuote, for new customers.  Please note that this announcement applies to both the metered and non-metered SKUs of Java Cloud Service and Java Cloud Service Virtual Image. Java Cloud Service SaaS Extenstion has been available for provisioning in EMEA for quite a long time now.

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 Nov 06, 2015

Has your organisation adopted DevOps yet?

clip_image002

If not, you should probably consider it.

Organisations that are using DevOps are seeing significant improvements in the performance of their IT organisation, in areas such as:

● agility

● time to market

● failure rate

● time to recover from failure

This improved IT performance is reflected in better business performance. Companies with high - performing IT saw 50% higher growth of their market capitalisation over three years compared to those with low or medium performance IT functions.

So what is DevOps? Fundamentally it is a culture. One in which development and operations work together rather than in opposition. This might sound like an obvious thing to do. However development and operations have traditionally been organised in a way that promotes conflict, rather than collaboration.

Traditionally, development is focused on innovation, operations on stability.

Development creates new software, or modifies existing software. For development change means progress.

Operations works to satisfy SLAs - keeping systems available and performing. For operations, change means risk.

Since the two groups basic goals are in opposition, it is no surprise that the relationship between them has typically been characterised by conflict.

DevOps replaces this culture of conflict with one of collaboration. Both teams share the same goal, and are equally accountable.

A useful analogy here is a factory production line. All of the stages of the process have to be completed successfully before a product can be considered “built”. By focussing on the end goal, all of the teams work together.

Like industrial manufacturing, a key enabler for a DevOps approach is automation. In particular the automation includes the provisioning and configuration of runtime environments. The scripts used to achieve this are considered part of the overall build (“infrastructure as code”), and are included in source control.

The use of automation dramatically reduces the time taken to deploy code changes, whether to production or test environments. This means we can deploy “little and often” - going faster, but with less risk.

While DevOps does not require use of cloud as a deployment platform, the ability to rapidly provision and configure environments via automated tooling is a characteristic of a cloud platform. So cloud is a natural choice of platform for DevOps.

The Oracle Cloud platform has been engineered to help Oracle customers adopt or extend the use of DevOps.

At the heart is the Oracle Developer Cloud Service. This provides enabling capabilities to support a DevOps approach:

● Git code repository for source control

● Code review

● IDE integration (OEPE, NetBeans, JDeveloper)

● Issue tracking

● Continuous Integration using Hudson

● Deployment (automatic or on - demand)

● Wiki

In a typical scenario, a developer would make code changes and then push these to Git. Hudson would detect that code had changed and run a build job or jobs to build the application and run unit tests. The application would then be deployed into the target environment.

Operations staff could then monitor the application in the target environment and raise issues or requests for further improvements in the developer cloud service for the development team.

Oracle Developer Cloud Service is included with the following Oracle Cloud services:

● Java Cloud Service

● Java Cloud Service - SaaS Extension

● Messaging Cloud Service

Unfortunately we can’t change your organisation to a DevOps culture for you, but we can enable that change if you choose to embrace DevOps.

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 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

Sunday Nov 01, 2015

Fasten your seat belts: Flying the Oracle Development Cloud Service (3 – Take Off – ROTATE) by Timo Hahn

clip_image002

The last part of the series 3 – Take Off – V1 we finished when we could build hte application using ANT on the local machine. In this part we are going to try this on the Oracle Developer Cloud. Finally we should see how Continuous Integration and Continuous Delivery works in the cloud.

NOTE
I created a fresh set of ANT build scripts named ‘buildlocal.xml’ and ‘buildlocal.properties’ from the project to demonstrate the process. The original ones name ‘build.xml’ and ‘build.properties’ are the final result which I didn’t want to revert. So when you create the ANT scripts yourself you can user the default names ‘build.xml’ and ‘build.properties’. When I talk about build files I now mean the ones named ‘buildlocal.*’.

Demo Build Files

For the same reason we create a new build job in the cloud names ADFTestBuild to show the steps to take. The final build job is named ADFCommunuityFrkExt. 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
 
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
     
       
Today