Kubernetes: Copy a dataset to a StatefulSet’s PersistentVolume

Neo4j Clusters on Kubernetes This posts assumes that we’re familiar with deploying Neo4j on Kubernetes. I wrote an article on the Neo4j blog explaining this in more detail. The StatefulSet we create for our core servers require persistent storage, achieved via the PersistentVolumeClaim (PVC) primitive. A Neo4j cluster containing 3 core servers would have the following PVCs: $ kubectl get ...

Read More »

How to Deploy Spring Application Without web.xml to Tomcat

spring-interview-questions-answers

Introduction Since the Servlet 3 specification web.xml is no longer needed for configuring your web application and has been replaced by using annotations. In this article, we will look at how to deploy a simple Spring-based application without web.xml to Tomcat 8.5.*. Creating an Empty Application Use the following command to create an empty web application using maven webapp archetype: ...

Read More »

Minimize Java Memory Usage with the Right Garbage Collector

Size matters when it comes to software. It has become clear that using small pieces within the microservice architecture delivers more advantages compared to the big monolith approach. The recent Java release of Jigsaw helps decompose legacy applications or build new cloud-native apps from scratch. This approach reduces disk space, build time and startup time. However, it doesn’t help enough ...

Read More »

Building a Restful API interface using Android Things

Building a Restful API interface using Android Things is useful whenever we have to connect Android Things to an external system. This article explains how to build a Restful API interface using Android Things so that other apps or applications can invoke this API. There are several scenarios, where Android Things has to be integrated with external systems and it ...

Read More »

Building a Simple Neural Network With Eclipse Deeplearning4j

Introduction to Neural Networks Deep learning encompasses both deep neural networks and deep reinforcement learning, which are subsets of machine learning, which itself is a subset of artifical intelligence. Broadly speaking, deep neural networks perform machine perception that extracts important features from raw data and makes some sort of prediction about each observation. Examples include identifying objects represented in images, ...

Read More »

The Libraries and Packages of the Code Coverage Ecosystem

If you’ve been writing test-driven code for even a little while, you’ll know about code coverage (also known as test coverage). If you’re not familiar with the term, here are two short definitions. Wikipedia defines it as: A measure used to describe the degree to which the source code of a program is executed when a particular test suite runs. ...

Read More »

Sprint Review Tips for Product Owners

The sprint review meeting is maybe the most important Scrum event for product people—it helps you collect feedback and make the right product decisions thereby increasing the chances of creating a successful product. But I find that product owners are not always clear on who should attend the meeting, how it should be run, and how to collect the relevant ...

Read More »