GraphQL Java Server for your Micro Service Platform


GraphQL had been on my ‘one to watch’ list for some time. Upon casual glances it looked both expensive to implement and lacked any burning issue it could solve (at least for me). So there it sat. Then GitHub announced they were adopting GraphQL for their next generation public api, and around the same time, our micro-service based product started having growing pains.  Those growing pains came from the disparate API jungle our consumers needed to navigate.  Was a GraphQL server the answer?

Continue reading “GraphQL Java Server for your Micro Service Platform”

OpenCypher will bring the Graph Database into mainstream

If you haven’t yet read about Graph Databases you really should.  While many traditional and newer ‘NoSQL’ databases provide a lot of brawn, Graph databases really are the brains of the database world.  OpenCypher, recently announced by Neo Technology, is a query language for graph databases.  It will bring Graph Databases into mainstream.


Continue reading “OpenCypher will bring the Graph Database into mainstream”

Soulmate Builder Pattern

Big fan of using the Builder Pattern for my Java domain objects.  Builders are also becoming increasingly common in other libraries (e.g. guava).  What struck me recently was the variations in Builder pattern implementation styles.  Here I will summarise the two most common implementation styles, and introduce my own variation I call the ‘Soulmate Builder Pattern’.

Example of Builder Pattern used to create Domain objects

Continue reading “Soulmate Builder Pattern”

Using Markdown for Multiline Properties

md-databaseHave you ever just wanted to load multiline properties values into Java and sank in your seat at the choices available?  I had the exact same ‘sigh’ on a new lightweight project when I needed to store some database statements.  After quickly refusing to accept the usual suspects (Java string concatenation, XML bloat, properties files or JSon escape ugliness) I thought it shouldn’t be too hard to load from a Markdown file.  No frameworks, no more dependencies, just a few lines and simple rule for beautifully maintainable multiline properties.

Continue reading “Using Markdown for Multiline Properties”

Hello React World

There’s been a lot of growth and interest in the use of the React JavaScript UI library. Not only created and used by Facebook but also includes some big name adopters, like the UK BBC website rebuild project.

The react site itself has a very good getting started tutorial but I also found a few quality blogs that were useful for getting quick overviews and a better understanding.

Continue reading “Hello React World”

CQL with Cassandra Driver for NodeJS

I’ve recently been trying to carve out some time to learn JavaScript and Node.  My background is firmly in the classroom of Java and the Enterprise, with recent years focused on NoSQL technology.  Having finally decided to go and see what all the noise in the playground of JavaScript is all about I decided to share some sample code using the DataStax Cassandra driver for NodeJS.  Here is what I learnt.

Continue reading “CQL with Cassandra Driver for NodeJS”