15 Top Tech Takeaways From JAX London 2015

15 Top Tech Takeaways From JAX London 2015

I recently attended the JAX London 2015 conference, held at the Business Design Centre in Islington, London. It’s a tech conference, focused on Java for software engineers and business professionals, with workshops and talks from some of the leading companies in

Hystrix (by Netflix) – Fault Tolerance in a Connected World

Hystrix (by Netflix) – Fault Tolerance in a Connected World

In a connected world our software solutions increasingly consist of multiple, distributed components. Service Oriented Architectures are nothing new, and with the growing interest in Microservices it looks like the trend to distribute is going nowhere soon. When dealing with

ClassNotFoundException Running JUnit Tests in Eclipse

ClassNotFoundException Running JUnit Tests in Eclipse

I hit the following problem recently on a project I was working on that used Eclipse and Maven. I’d checked out a bunch of projects from SVN into eclipse, and configured them as Maven projects. All appeared fine until I

Websphere Woes – “A composition unit with name ‘X’ already exists”

Websphere Woes – “A composition unit with name ‘X’ already exists”

I’ve been using Websphere (8.5.x) for the first time recently. Not a fan, I have to say – certainly not when using in a development environment. This is probably due in no small part to having to run on an

Building a HATEOAS Hypermedia RESTful Record Store Web Service with Spring

Building a HATEOAS Hypermedia RESTful Record Store Web Service with Spring

Introduction This is a very simple example of developing a hypermedia-driven RESTful web service, using Spring HATEOAS A companion project is available to download on github (using Java, Maven and Spring Boot) HATEOAS? What is it? HATEOAS (“Hypermedia as the

Querying XML CLOB Data Directly in Oracle

Querying XML CLOB Data Directly in Oracle

Oracle 9i introduced a new datatype – XMLType- specifically designed for handling XML naively in the database. However, we may find we have a database that stores XML directly in a CLOB/NCLOB datatype (either because of legacy data, or because

Data Pumper – Migrating Data from MySQL to PostgreSQL

Data Pumper – Migrating Data from MySQL to PostgreSQL

I recently made the decision to migrate from MySQL to PostgreSQL (the reasons why to be covered later). I thought I’d just jot down my notes on a tool I tried which helped with the migration – SQL Workbench/J Data

MongoDB in 3 Easy Steps!

MongoDB in 3 Easy Steps!

If  you’re entirely new to MongoDB – this is just a very gentle introduction that gets you up and running with a sample database in just a few easy steps. It’s really easy to get started. The steps are: 1.

JPA Searching Using Lucene – A Working Example with Spring and DBUnit

JPA Searching Using Lucene – A Working Example with Spring and DBUnit

Working Example on Github There’s a small, self contained mavenised example project over on Github to accompany this post – check it out here: https://github.com/adrianmilne/jpa-lucene-spring-demo   Running the Demo See the README file over on GitHub for details of running

502 Proxy Error Using CometD, Apache and Camel

502 Proxy Error Using CometD, Apache and Camel

We recently hit an issue during testing with Apache returning “502 Proxy Errors” to clients who were connecting via CometD (using Apache as a proxy server in front of a Camel/Jetty CometD server).   Our Setup We are using a