Browse Month by April 2016
View Post

Oracle MCS version 16.1.3 (v1.2) released

A couple of weeks after Oracle MCS 1.1 (16.1.1) was released, I saw that Oracle MCS What’s new page was updated but until now I did not realised the instance has been updated to this new version.

This new version is 16.1.3 (v1.2) and is now live in Oracle MCS instances. It’s good to see that Oracle keeps updated MCS becasue in less than 3 months we have a new version.

In this new released version there are some changed for every role involved in a MCS development project. These are some of the new features:

  • Enabled Facebook login and Enterprise Singles Sign-On
Now we can enable our mobile users to log into the mobile apps using their Facebook account or their corporate SSO credentials.

  • Debuging notifcations
Oracle MCS provides a device registry where you can check every registered device. It will not show if the token is invalid or if the devide has not been reregisted in 60 days.
  • Notifications REST API
Now we can send driver-especific payloads instead of writting all the code.
  • JavaScript SDK
JavaScript SDK has been re-tooled to support browser-based mobile applications.
  • Database SDK
It is now much easier to interact with MCS Database from Custom APIs implementation.
  • Purge and restore artifacts
In previous versions we were able to delete any artifact but it wasn’t deleted permanently from our MCS instance. Now we can purge MCS artifacts trash or restore or restore items if we deleted if accidentally
You can get more information in this link: http://bit.ly/1SUbZKu

Oracle MAF 2.3: deploying and installing an application to the Universal Windows Platform

Almost one month ago, Oracle released Oracle Mobile Application Framework 2.3 that allow us to build Windows 10 applications. After building or migrating our application it is time to distribute it.

Fist you have to prepare you development environment. You can check how to do it here:  Oracle MAF: configuring Windows 10 development environment

In this post I will show how to deploy and install an UWP executable

We are going to use Workbetter application that can be found in the next path (change ‘C:OracleMiddleware1221’ with your JDeveloper installation path):

‘C:OracleMiddleware1221Oracle_Homejdeveloperjdevextensionsoracle.mafSamples’

One we have opened the application we have to deploy it as we usually do todeploy it to iOS or Android, but selecting Windows profile.

Once the deployment has finished, under deploy folder we will a folder structure like this:
‘…deployWindows1debugMafTemplateAppPackagesMafTemplate_1.0.0.0_Debug_Test’
The last folder will depend on the version number and the build mode. We will see many files and folders that includes the dependencies and the certificate we used to sign the application.
This is the folder you have to share in order to install the application.

In order to install the application we have to ‘Run with PowerShell’ the .ps1 file.

We will see a progress bar while installing.

Once it is installed we can search for the application and run it.

OTN Tech Article: PCS, MCS and MAF Integration

I have just published my first OTN Tech Article where I present a use case that demonstrates how Oracle Process Cloud Service (Oracle PCS), Oracle Mobile Cloud Service (Oracle MCS) and Oracle Mobile Application Framework (Oracle MAF) can be use together to expose  an Oracle PCS process instance as a web service and consume it from an external system, web application or mobile application.


Oracle Process Cloud Service is a Platform as a Service (PaaS) provided by Oracle Cloud, allows you to rapidly design, automate, and manage business processes in the cloud.


Oracle Mobile Cloud Service is Oracle’s Mobile Backend as a Service (MBaaS) and enables companies to create and deploy scalable, robust, and secure mobile applications quickly and easily.


Oracle Mobile Application Framework is a hybrid mobile framework that provides a visual and declarative development experience for the rapid development of multi-platform applications

You can check the full article here: https://community.oracle.com/docs/DOC-996644

Oracle MAF: configuring Windows 10 development environment

One of the main features that includes Oracle MAF 2.3 released early this week is the ability to deploy applications in any Windows 10 device.

Downloading and Installing JDeveloper 12.2.1

To develop an application with Oracle MAF 2.3 we need JDeveloper 12.2.1 that can be downloaded in this link:

http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html

You have to download both files.

Once we have installed JDeveloper, we have to install Oracle Mobile Application Framework extension.
This is a known step for JDeveloper users, under ‘Help’ menu click on ‘Check for updates’ and select MAF extension.

Downloading and Installing Visual Studio 2015 Community Edition

First of all we have to download Visual Studio in this link:

https://www.visualstudio.com/products/visual-studio-community-vs


We can use Community, Professional or Enterprise versions


 And click on download button.

Once we have executed the installer, in the wizard we have to select this items and finish the installation.
Creating and Installing the PFX file

Now we need to create a Personal Information Exchange (.pfx file). 
The tools we are going to use are in this folder:

cd C:Program Files (x86)Windows Kits10binx64
First we need to create a .cer and .pvk files.
makecert.exe -sv E:mafmaf.pvk -n “CN=Ruben Rodriguez,OU=MAF,O=rsantrod,C=ES” -r -h 0 -eku “1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13” E:mafmaf.cer
A brief explanation of the arguments
  • -sv path of the private key
  • -n name of the certificate
  • -r means that is self signed
  • -h 0 means that cannot be used as a CA (Certification Authority)
  • -eku 
    • 1.3.6.1.5.5.7.3.3 the certificate can be used to sign code
    • 1.3.6.1.4.1.311.10.3.13 lifetime signing
  • The last one is the path of the .cer file

Once we execute the command, we will have to set a password for the certificate.
The second command will allow us to copy both .cer and .pvk files into a pfx file.

pvk2pfx.exe -pvk E:mafmaf.pvk -spc E:mafmaf.cer -pfx E:mafmaf.pfx -pi rsantrod -po rsantrod

  • -pvk path of the .pvk file
  • -spc path of the .cer file
  • -pfx path of the pfx file
  • -pi password of the key file
  • -po password of the certificate file

Once we have executed both command we will have this 3 files.

Now we have to import the PFX file into the certificate stores by clicking on the PFX file. 
We have to run this wizard 3 times.
The first one will be in Current User location.

We have to select the pfx file.

We have to set a password for the password for the pfx file and click next.

In this first import we have to select Personal certificate store.

Click on finish to import the file.

The second time we execute the import wizard we have to use Current User location and Trusted People Certificate Store.

And the third time we have to select Local Machine location and Trusted People Certificate Store.

Enabling Developer Mode in Windows 10

We need to enable Developer Mode in Windows 10 as by default we will not be allowed to run applications if are not installed from Windows Store.
We have to open settings and click on Update & Security.
Then click on For Developers and click on Developer Mode.

Configuring JDeveloper

The last step is to configure Windows Platform in JDeveloper preferences.
We need to provide Windows SDK location, the PFX file and its password.