JavaFX: TouchGesture Memory Leak?

In one of my projects I was fighting with a memory leak the last couple of days (yes … “couple”) and I came to the conclusion that there might be an issue related to touch / scroll gestures. In the sample below I have two buttons. The first one creates a list view with one thousand rows, the second one ...

Read More »

Creating a proxy object using cglib

In the previous post I was talking about the standard Java based proxy objects. These can be used when you want to have a method invocation handler on an object that implements an interface. The Java reflection proxy creation demands that you have an object that implements the interface. The object we want to proxy is out of our hand, ...

Read More »

Exception Handling in Spring RESTful Web Service

spring-interview-questions-answers

1. Introduction We might have been across some of the several ways by which we can handle exceptions in a RESTful web service application in Spring. In this article, we will try to explore the best approach we can take to achieve efficient exception handling. 2. Problem Statement Let’s create a simple application that will identify the employee name in the ...

Read More »

Transitioning from MySQL to Cassandra at Chaordic

Ivan Linhares is an Engineering Manager at Chaordic. He has been working as a lead engineer and software developer for more than fifteen years. He is passionate for developing great teams and solving challenging technical problems. At Chaordic, he leads the Data Platform team in scaling its personalization solution for the e-commerce sector. Chaordic is the leader in big data ...

Read More »

The staffing pyramid

When I see development teams I expect to see more programmers than requirements people (BAs, Product Managers, etc.), and I expect to see even fewer management types. Think of it like a staffing pyramid structure:                 Programmers (and often testers) should form the largest group, without programmers there is no software, and while ...

Read More »

Dockerizing Spring Boot Application

Docker here, Docker there, I see Dockers everywhere In this post I will describe process of migrating Spring Boot application to Docker. We will start with modifying build file, then we will create Dockerfile so it could be run locally. Finally we will publish our image in DockerHub. Introduction A few months ago I have started new personal project called ...

Read More »

How to Pattern-Match Files and Display Adjacent Lines in Java

Recently, we’ve published our article about the awesome window function support in jOOλ 0.9.9, which I believe is some of the best additions to the library that we’ve ever done. Today, we’ll look into an awesome application of window functions in a use-case that is inspired by this Stack Overflow question Sean Nguyen: How to get lines before and after ...

Read More »

Navigating The Internet of Things

Having worked a number of years with connected devices, I thought I’d like to briefly share some observations and pitfalls that folks just arriving to the field should heed. The network isn’t always there Many folks arriving on the scene of connected devices come from a background where their applications ran in the datacenter and connectivity was a user’s problem. ...

Read More »