Tag Archives: java

Designing and building an open source REST API client

I’ve recently designed and built an open source API client for the REST API of a major enterprise video and webcast service, for use by its customers. It was a rewarding exercise that has helped me gain some valuable additional practical experience of emerging technology and tools for building and testing apps. This post outlines the value of the API client, its design, the technologies and tools I used, and how I rate them. I’ve open sourced the code to allow customers, and others, to view and reuse what I’ve built.

Continue reading

Java 8 – Examples of the major, new language features

Over the course of the last month or so, I’ve invested some time familiarising myself with the major new features in Java 8, learning how to apply them, and understanding the benefits which can be gained from using them. As part of this exercise I’ve produced some code examples (see below) for the following features:

  • Lambda expressions
  • Streams (aka bulk or aggregate data operations)
  • Default methods
  • Date/time API
  • Optional type

Continue reading