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

2016 OUG Ireland – My Home Event


Last Thursday and Friday was the annual OUG_IRE event in Dublin.

For the past few years we have had a single day of sessions followed by a second day of a masterclass; Tom Kyte, Maria Colgan etc but this year after listening to feedback from delegates who wanted more content, the event went to two days of sessions.

Suitable biscuits
We moved location to the Gresham Hotel to accommodate this change within budget and although (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...)

Manage your database data with Oracle JET

I want to know more about using CRUD (Create, Retrieve, Update and Delete) in a JET-application.

For this I started with a look in the developers guide. You can download a complete sample application here which is based on the HR-schema in an Oracle database.
In this sample application there are some ID’s shown. I added more functionality to get the sample application more user friendly.

First I changed the JSON-file with the department records (more...)

Boek – De Bijenherder

Boek – De Bijenherder

De BijenherderDe Bijenherder is een management novel. Het boek is dus geschreven in de stijl van The Goal, The Phoenix Project, De Kracht van Scrum en bijvoorbeeld Getting Teams Done. Waarbij de laatste twee ook het aandachtsgebied delen met De Bijenherder.

Leiding geven aan zelfsturende teams

De zoektocht in het boek is die naar hoe leiding te geven aan zelfsturende teams. Door de toenemende omslag naar zelfsturende teams wordt ook (more...)

Experiences with Holacracy

Experiences with Holacracy

There is a growing number of books on holacracy. One of the first on this subject without even coining the term was Eckart’s Notes. Also the ones on Semco (like Semco style and Maverick!) are gaining popularity. These all describe case studies, where Reinventing Organisations shows development stages in organization. These in turn are based on literature and case studies like the one that is described in Eckart’s Notes.

Since we (more...)

Getting Started With Sample Programs for Apache Kafka 0.9

Read this article on my new blog Ted Dunning and I have worked on a tutorial that explains how to write your first Kafka application. In this tutorial you will learn how to: Install and start Kafka Create and Run a producer and a consumer You can find the tutorial on the MapR blog: Getting Started with Sample Programs for Apache Kafka 0.9