Tag Archives: Java

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 »

Hackathon at Carnegie Museum of Art (My App: Track Your Progress)

Recently Carnegie Museum of Art (CMOA) has conducted a hackathon. As the website says: “To celebrate the 120th birthday of Carnegie Museums of Pittsburgh, Carnegie Museum of Art is opening up its collection data in a weekend-long hackathon that brings together arts, technology, and education communities. The museum will make… Read more »

JBOSS Tools For Eclipse (JBOSS WildFly 9.x and Eclipse Mars)

To have development environment with JBOSS and Eclipse, need to install JBOSS Tools.  Installing JBOSS Tools plugin In Eclipse, Help -> Install New Software. In “Work With” box, give http://download.jboss.org/jbosstools/updates/development/mars/ Select ‘Abridged JBOSS Tools’. Click Next and Finish.  Setup JBOSS Server in Eclipse In Eclipse Java EE perspective, right click… Read more »

Installations and Environment Setup

This post will be used to make note of the installations and environment setup that will be used in this website. The software list, versions etc. will be updated as needed. 1) JDK: Install JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html . I will be using Java SE Development Kit 8 for Windows x64…. Read more »