Custom 11G XPath function not showing up in JDeveloper 12C

You can write your own XPath lib in Java to make certain things easier and re-usable. For an example see here. From the documentation of 12C, nothing indicated that things would have been changed so I stuck in an old library and restarted JDev. When I opened the xslt mapper, I didn’t see my functions under User Defined. This made me wonder if maybe something did have changed. Last week Continue ReadingCustom 11G XPath function not showing up in JDeveloper 12C

Automated acceptance testing using Fitnesse, Java and the OSB

When I was at Xebicon this year I saw a talk from Dave Farley. At 26 minutes or so he starts talking about Domain Specific Languages. Making an abstraction layer on top of your system where your tests run against so when the underlying system changes, you only have to adjust your layer in between instead of all the tests. This idea got me thinking of how we could be Continue ReadingAutomated acceptance testing using Fitnesse, Java and the OSB

SOA Suite 12C: Simple example of using the Spring component

A few days ago, we needed a some business functionality to validate an IBAN account number. You can use inline Java in your BPEL process but there are more elegant ways as you don’t want to pollute your orchestration layer with business functionality. An nice and elegant way, in my opinion, is the use of the Spring component. By using this component you can expose a Java bean as simple Continue ReadingSOA Suite 12C: Simple example of using the Spring component

Oracle Fusion Middleware 12C: Deploy the MDS using Maven

maven

In two previous posts here and here, I demonstrated how you can setup CI for OFM 12C projects. One of the things I hadn’t figured out yet was how I could deploy the MDS using Maven. After a vague hint on the internet, Oracle’s response that this feature wasn’t officially supported yet and some trial and error I came across the solution. It is actually quite simple. Basically it comes Continue ReadingOracle Fusion Middleware 12C: Deploy the MDS using Maven

OFM 12C: An example of the Business Rule Engine with Java facts

OFM

One of the components of the Oracle SOA Suite is the Business Rule Engine. The Oracle Business Rules engine….and I quote ‘allows the externalization of specific business logic and parameters. Business analysts can easily define, update, and manage key parameters and decision trees that are likely to change based on business evolution (for instance discount levels, credit rates, etc.) without having to involve IT and developers. This all sounds pretty Continue ReadingOFM 12C: An example of the Business Rule Engine with Java facts

Continuous Integration using Oracle SOA Suite 12C: Part 2. Building a SB and SOA project using maven and the MDS

CI

In the part 1 I have shown how to setup a simple CI environment and how to build a Service Bus project using Maven. In this part I will try to make a release pipeline which builds, deploys, tests, packages and release a whole service using Jenkins and if all successful and finally install the artifact in Nexus. Lets start where we left of. Startup Tomcat and log into Jenkins. Continue ReadingContinuous Integration using Oracle SOA Suite 12C: Part 2. Building a SB and SOA project using maven and the MDS

OFM 12C from the trenches: Business flow instance name bug and solution

A new feature in OFM 12C is that you can track a Business flowinstance. I won’t go into the details as you can read all about it here. As this is a nice feature I was going to use this to set a good Flow instance name as descripted here in chapter 47.5.4 How to Set the Business Flow Instance Name or Composite Instance Name at Design Time. I created Continue ReadingOFM 12C from the trenches: Business flow instance name bug and solution

The Oracle Maven repository available now!

maven

For ages, software companies have had maven repositories to manage their artifacts. Using maven’s dependencies system, you can easily add new libraries to your project without needing to know which other libraries you needed and maven will even download them for you. So the times of adding a library…compiling…class-not-found…adding another library…compiling…next-class-not-found where over. Unless you needed some oracle libraries! Up to now, Oracle did not have a public repository so Continue ReadingThe Oracle Maven repository available now!

Continuous Integration using Oracle SOA Suite 12C: Part 1

CI

Continuous Integration has been a big deal in Java land for many years now. We all want to integrate and test our software as soon as possible and preferably automated. With the new 12C edition, we can now build OSB projects and SOA composites using Maven. That is great because Maven has all sorts of nice features out of the box and available plugins. In this blog post I will Continue ReadingContinuous Integration using Oracle SOA Suite 12C: Part 1

Consuming a service in Oracle Service Bus 12C using the REST adapter

REST

In a previous post I have shown how to create a REST service in 12C. That was easy. But how do we consume a REST service? In this next bit I will show how to do that. The REST service we are going to use is Google’s Geocoding API. You can use this API to input address data and retrieve geo data in both JSON or XML. For example: To Continue ReadingConsuming a service in Oracle Service Bus 12C using the REST adapter