Save MapR Streams messages into MapR DB JSON

Read this article on my new blog In this article you will learn how to create a MapR Streams Consumer that saves all the messages into a MapR-DB JSON Table. Install and Run the sample MapR Streams application The steps to install and run the applications are the same as the one defined in the following article: MapR Streams application Once you have the default producer and

Last week in Stream Processing & Analytics 3/28/2016

This is the 7th installment of my blog series around Stream Processing and Analytics.

Due to the Easter Weekend there were not so many posts last week, guess that will change this week with Strata Hadoop San Jose conference just starting today.

Personally I have started giving Streamsets a try, after having played a little bit with Apache NiFi before. Both offer a nice solution for the handling of data flows, and I’m not yet (more...)

A Designer’s Introduction to Oracle JET

I’m thrilled to be presenting at Collaborate 2016 with my colleague John Sim, on the recently open-sourced Oracle JET! We front-end developers had been seeking a better UI/UX solution from Oracle for quite some time, and they have delivered in a big way.

graphs

Oracle JavaScript Extension Toolkit (JET) is a powerful and intuitive framework that provides a modular toolkit for front-end developers. Rather than re-inventing the wheel, Oracle JET integrates tried and tested open-source frameworks (more...)

OSB Maven archetype with deployment

With my latest customer I was building the same OSB project over and over again with some minor changes. With copy and paste from other project a lot of other namespaces are saved in the xml under the proxy files. The main reason for this OSB proxy is logging and handling the security between the different domains. Because it was the always the same proxy structure and in OSB 11g there is no template available I (more...)

ALTER USER RENAME – Part 3

This is part 3 of the ALTER USER RENAME series

Inspired by a Twitter Comment from Franck Pachot and as I love to test really funny and strange things with Oracle Products.



I was trying to rename the SYS user and the SYSTEM user.

SQL> alter session set "_enable_rename_user"=true;
(more...)

Poll a Microsoft Exchange mailbox from OSB using DavMail

The Oracle Service Bus has built in features to poll an IMAP of POP3 mail account. There are loads of excellent blog posts that exactly describe how to do it. However, when the mail server happens to be a Microsoft Exchange server, things become shady. Exchange’s IMAP implementation tends to be not really that compatible, and the server log will fill up with stacktraces such as:

javax.mail.MessagingException: Connect failed;
  nested exception is:
        java. (more...)

Microservices, a different SOA approach

What are microservices?

Have you heard of Microservices yet? First time I heard the word I had strong associations with a new appliation for bacterial life in food processing. Maybe my background in biochemistry got the better of me.

Actually, the Microservices Architecture (MSA) is a new sprout on the ever-growing tree of Service-Oriented Architecture concepts. The definition sounds vaguely familiar: A particular method of designing (usually complex) enterprise software applications as suites of small, independent (more...)

ALTER USER RENAME – Part 2

It seems that my first blog post today "ALTER USER RENAME - A half official option" got some great attentions :-)

How did I come to the ALTER USER RENAME command? Just a lucky punch due to my customer. My customer were trying to rename an user in an Oracle Database with several objects (tables, view, functions, types and so) by simply updating the sys.user$ table :-)
The result were better than (more...)

ALTER USER RENAME – A half official option

Many times DBA's have to rename / copy complete users/schemas from the current name to a new name within one database. Since several years DBA's are asking for a simple method inside Oracle to execute something like "ALTER USER RENAME".

Common approaches to rename users/schemas are:
  • IMPDP with REMAP_SCHEMA
  • update of sys.user$
For the option "update of sys.user$", which is in my opinion a really bad choice, see Tom Kyte's comment 



Storing photo’s in the database through REST service from an Oracle JET 2.0 hybrid mobile app

In my previous post I made a mobile hybrid application with Google Maps integration. You can find it here.
Now let’s go a step further. An insurance company want’s that their customers can submit a damage immediately in case of an accident. A customer can download an app and install it on their device. When the customer is involved in an accident, he or she can open the app, enter some data and take pictures (more...)

Oracle Fusion Middleware Forum 2016 in Valencia

The past week my colleague Patrick Sinke and myself attended the Oracle Fusion Middleware Forum 2016 in Valencia, Spain held from March 15th to March 18th. It was a week overloaded with information, networking and deep-dive workshops. We worked hard, learned a lot and had some fun once in a while as well. The event coinciding with the annual Las Fallas festival also helped with that last part :-)

In this blog I would like to (more...)

Node.js == serverside Javascript

A change is gonna come, that’s what Sam Cooke sang in 1964. I don’t know if he could have foreseen the major shifts in technology in our time, but it’s evidently that Javascript has become increasingly popular as a web language. First only at the client, but nowadays at the server side too. The more surprising if you realise that it’s nibbling at Java, once the ruler of  web backend applications. Well, ok, according to some (more...)

Something Amiss

Looks like this curious non-review of the novel Laurus seems to have been referring to "Brahmins" as "Brahman" - I suppose republished to correct the mistake:

​Russian Brahman by Alan Jacobs | Articles | First Things

www.firstthings.com/article/2016/04/russian-brahman
First Things
Russian Brahman. by Alan Jacobs April 2016. Laurus by eugene vodolazkin translated by lisa hayden oneworld, 384 pages, $24.99. Eugene Vodolazkin's ...

Finalizers and References in Java

Automatic memory management (garbage collection) is one of essential aspects of Java platform. Garbage collection relieves developers from pain of memory management and protects them from whole range of memory related issues. Though, working with external resources (e.g. files and socket) from Java becomes tricky, because garbage collector alone is not enough to manage such resources.

Originally Java had finalizers facility. Later special reference classes were added to deal with same problem.

If we (more...)

Changing SOA properties via WLST





Hereby a script to change some properties for SOA Suite. These are some generic settings such as:


  • soa-infra
  • AuditLevelGlobalTxMaxRetry
  • DisableCompositeSensors
  • DisableSpringSESensors
  • mediator
  • AuditLevel
  • bpel
  • AuditLevel
  • SyncMaxWaitTime
  • Recovery Schedule Config
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.management.Attribute;
import javax.management.MBeanServerConnection;
import javax.management.ObjectName;
import javax.management.Query;
import javax.management.QueryExp;
import javax.management.openmbean.CompositeDataSupport;
import (more...)

Getting Started with MapR Streams

Read this article on my new blog You can find a new tutorial that explains how to deploy an Apache Kafka application to MapR Streams, the tutorial is available here: Getting Started with MapR Streams MapR Streams is a new distributed messaging system for streaming event data at scale, and it’s integrated into the MapR converged platform. MapR Streams uses the Apache Kafka API, so

Cedar’s Oracle Cloud Day 2016 – Recap

Cedar held its annual Oracle Day in Oracle’s City office last Thursday – it was actually our 6th year of running the event. The attendance was great – just short of 100 – and with 3 streams of content there was plenty to choose from. If you weren’t there, here’s the highlights of the sessions that I attended:

After the opening keynote from Dan Woolstone, Oracle’s James King and myself spoke to a full room (more...)

Integrate Google Maps in a JET 2.0 hybrid mobile application

Last week Oracle JET 2.0 is released. One important feature is hybrid mobile development. A while ago I created an Oracle JET application where Google Maps is integrated.
Now I want to show my current location in Google Maps on my Android Phone. For this I must use the GPS function of my phone.
So let’s start. First create a new JET hybrid mobile application.

img1

After successful creation, we must add the cordova plugin (more...)

Oracle JET 2.0 released

Last monday Oracle released JET version 2.0. The most important news in my opinion is that Oracle JET now is Open Source. Also Oracle JET is available on Github here.

There are a lot of new features added to 2.0. On this site there’s an overview of the new features.

One nice feature is that you can generate a hybrid mobile application.

There are some prerequisites before you can develop a hybrid mobile (more...)

Oracle Composite – leftover oramds imports

On designtime we use the oramds to develop our processflows in our bpel processes.

Basically the composite.xml part for a bpel process would look like this :

<component name="saveEmployee" version="1.0">
    <implementation.bpel src="BPEL/saveEmployee.bpel"/>
    <componentType>
      <service name="client_ep" ui:wsdlLocation="oramds:/apps/xsd/myapp/1.0/saveEmployee.wsdl">
        <interface.wsdl interface="http://mynamespace.nl/saveEmployee#wsdl.interface(bewaarB2bEmployeeServicePort)"/>
      </service>   

When you open the bpel in jdeveloper, jdeveloper will automatically add the next import to your .bpel file :

  <import namespace="http://mynamespace.nl/saveEmployee"
          location="oramds:/apps/xsd/myapp/1.0/saveEmployee.wsdl"
          importType="http://schemas.xmlsoap. (more...)