Year: 2014
-
Software Development
REST API with JSON
What is REST API? REST stands for Representational State Transfer. It relies on a stateless, client-server, cacheable communications. In most…
Read More » -
Desktop Java
Programming a simple slot machine game using Java
No matter how simple or complex the game is, Java can do the job! On this post, let’s take a look…
Read More » -
Desktop Java
JavaFX Tip 14: StackPane Children – Hidden But Not Gone
Another short tip: Swing provides a layout manager called CardLayout, which manages a set of components (cards) inside a container…
Read More » -
Core Java
Java Concurrency Tutorial – Visibility between threads
When sharing an object’s state between different threads, other issues besides atomicity come into play. One of them is visibility.…
Read More » -
Career
The Full-Time Developer ‘Curse’
Some time ago I wrote an article with my advice to (junior) developers about their career. One of the things I…
Read More » -
Core Java
This is Stuff: jUnit: Dynamic Tests Generation
Dynamic tests generation is useful when you need to run the same set of tests on many different input values…
Read More » -
Enterprise Java
URL shortener service in 42 lines of code in… Java (?!) Spring Boot + Redis
Apparently writing a URL shortener service is the new “Hello, world!” in the IoT/microservice/era world. It all started with A…
Read More » -
Core Java
Java 8 : Functional VS Traditional
The business logic is the same : Given a String expression composed of visits / time like : “1/24h,1..3/3h,5/*” Then…
Read More »