Monthly Archives: December 2015

Key Concepts Hands-On: Dependency Inversion Principle, Inversion of Control, Dependency Injection (using Spring) – Part 1

To write code that is maintainable and readable, understanding of certain architectural and design principles is needed. Let’s start with a few concepts and apply them in an example using Spring framework. The terms discussed in this post are quite broad (with differing definitions, opinions and contexts), but our focus… Read more »

Java REST Client to access Drupal Content – Part 2

In Part 1 we have created a REST API which provides content stored in Drupal. We will now write a Java REST client to access the content. We will use Jersey which is the JAX-RS API (JSR 311 & JSR 339) reference implementation. We will begin by creating a Java… Read more »

Java REST Client to access Drupal Content – Part 1

A concept that is recently gaining a lot of attention in Drupal community is what is referred as “headless” Drupal or decoupled Drupal. The idea is to combine the strengths of Drupal as a content management system (CMS) with strengths of other technologies and frameworks like AngularJS or integrate with… Read more »

Creating standalone Java project using Maven Archetype

Maven archetypes make it easy to start projects with a standard/consistent code structure. Instead of repeating these steps in every blog that needs starting a project, this blog will be used to show common steps used to start new projects using Maven Archetypes. This post focuses on standalone apps. Create… Read more »