Continuous Integration with Spring Boot, Maven, GitHub, and Jenkins

If it happens you have a publicly available Spring Boot project hosted on GitHub and interested to know how to establish a Continuous Integration (CI) pipeline with Jenkins, this post is well-suited for you. Having a CI pipeline in Jenkins with a Maven project, in this case, Spring Boot, is … Continue Reading →

Getting started with Spring Boot on OpenShift

In the previous post, I described how to run MongoDB on an OpenShift gear. In this, I expand the topic and explain about deploying a Spring Boot application to OpenShift. Basically, Spring Boot is an abstracted version of Spring with the purpose of fast development of production-ready apps. Spring Boot … Continue Reading →

How to get rid of getter, setter in Java

One of the boring stuff to do in programming is to add getter, setter methods. Thanks to IDEs nowadays with few clicks or pressing shortcut keys you are able to add getters and setters to code. However, still much of coding space is wasted and besides that from my point … Continue Reading →

IntelliJ IDEA shortcuts for Eclipse users

Introduction IntelliJ IDEA IDEs are very popular among developers, especially Java folks. In addition to that, they support multiple languages such as Java, Scala, C/C++, Python, etc. I have recently switched from Eclipse to IntelliJ for Java development. At first, I had very difficult time to give up Eclipse convenient … Continue Reading →

How to increase insert performance of Amazon AWS Redshift using JDBC

Redshift is one of the greatest Amazon AWS services which is suitable for Big data, BI and analytics purposes. Though, it is sometimes difficult to adapt yourself due to some limitations it has in comparison to even its parent Postgres. If you manage to get used to it, you will … Continue Reading →

Java JDBC connection pool using Tomcat JDBC Connection Pool

Creating database connection is resource intensive and it is very crucial to have a connection pool mechanism to reduce system overload, especially when you aim to do many interaction with database. Most of enterprise frameworks such as EJB, Hibernate have connection pool automatically by default and you just need to … Continue Reading →

Difference between abstract and interface in Java

One of the most repetitive programming interview question is “what’s the difference between abstract and interface classes?”. To answer this question I have had search the internet to come with a complete answers in bullet points. I tried to cover as much as I can. Below is the end result … Continue Reading →

Few hints about Apache Ant

Apache Ant is one of the most awesome automation tools, even though it is not as good as Maven. If nowadays I want to select an automation tool for a new project definitely I got with Maven, but before it existence Ant was rolling. Recently, I had to work with … Continue Reading →

How to create RESTful web service in Spring

Spring provides many facilities to Java developers which ease the programming as well as reducing the complexity of the code. One of the most powerful features Spring supports is called invasion of control or dependency inject. In addition to that, throughout the years Spring framework has had tremendous growth and … Continue Reading →

Object-relational mapping in Java

Object-relational mapping (ORM) is a technique which allows programmers to access a relational database from an object-oriented language and programmers do not need to map and type cast each column of database to classes manually. In other word, ORM technique take care of populating the result sets. In Java there … Continue Reading →

Transaction in JDBC

Java JDBC is a very simple and basic library to access to database data, but it is quite common and easy to setup that is why it is kind of popular. However, it has various shortages such as Object-relational mapping (ORM) and Transaction Management. The latter though can be done … Continue Reading →

How to add Gson library to Android Studio project

Google Android Studio from my point of view is the most suitable IDE for native Android programming. It is simply works out of the box. However, during working with this IDE, I have faced the shortage of documentation. Unfortunately, majorities of tutorials have been written for Eclipse IDE and since … Continue Reading →