CI for the cheapskates – part 1 – Maven repository with Nginx and SSH

The motivation for this article is the situation I found myself in. I wanted to set up continuous integration pipeline for Java-based project I was working, and it needed to be as cheap as possible :-).  Initial idea was to get a cheap cloud instance ($10-20 per month), set up Jenkins build server and Nexus …

CI for the cheapskates – part 1 – Maven repository with Nginx and SSHRead More »

Generating unique IDs in distributed system

Recently, I’ve been working on developing distributed application based on microservices. One problem I’ve ran into with this project is the way to generate unique IDs for entities within application. Although it seems like a trivial problem, there are some requirements that made this a bit tougher to crack. system should work with multiple databases, …

Generating unique IDs in distributed systemRead More »

EJB with NetBeans and Wildfly – part 2

This is the second part in the series about EJB development. In the previous article,  we discussed general concepts of Enterprise Java Beans, and we installed tools needed for application development. We also outlined what we will build as part of the series. In this post, we start actually building our application. Complete source code …

EJB with NetBeans and Wildfly – part 2Read More »

EJB with NetBeans and Wildfly – part 1

This post is the first in series of tutorials about Enterprise Java Beans (EJB) development. EJBs are core Java EE technology and are wildly used in enterprise application which require heavy business logic and support for other enterprise technologies, such as transactions, security, messaging etc. In this post, I will go through the process of …

EJB with NetBeans and Wildfly – part 1Read More »

Object Oriented JavaScript – polymorphism

In previous post about object-oriented programming in JavaScript, we described how inheritance works. In this post, I’ll cover one more important concept of object oriented programming – polymorphism. I will not go into theoretical details, since there many online resources available, such as this Wikipedia page. Rather, I will try to explain how polymorphism can …

Object Oriented JavaScript – polymorphismRead More »