How to Configure HikariCP in Spring Boot Application

Overview In Java world, when it comes to database connectivity, there are two main approaches to deal with. First one is direct JDBC connection by using DriverManager. The other one is by using data source. […]

How to Import Signed Certificate into Java Keystore

Overview In this short blog post, I will explain how to import certificate into Java Keystore. This steps is useful whenever you need to access HTTPS from JVM. Export the certificate from your browser as […]

Basic Usage of Functional Interface in Java 8

interface

Introduction After couples of Golang articles, I want to bring something different in this article. I want to talk about Java 8 features, which is functional interfaces. This feature comes up in 8th edition due […]

Document Your REST API using Spring Boot and Swagger

Overview As a developer, you considerably have two main tasks while developing the system. One part is coding itself. Of course, when I say coding, it means code and testing (I would say a TDD […]

Spring Boot: Encrypt Property Value in Properties File

Overview During my experiences working with Java, there are must be cases that I have to use properties files in order to store configurable parameter. For example, folder location for storing temporary files or wsdl […]

Securing Spring Boot REST API – CORS

Introduction In today’s IT architecture world, most of the web applications are invoking REST API to interact with backend system. So if you have experiences on developing a web application using Javascript, or XHR precisely, and you are dealing […]

How to Deal with Java 8 Stream API (Cont.)

Well, well. It seems I post faster that I thought regarding the additional Stream API functionalities. Soon after I published the stream how-to, a friend of mine came and gave me a feedback, or request […]

How to Deal with Java 8 Stream API

Introduction I’ve been in Java world since its 1.2.1 version. And I’ve been using all their major release version, until 8.0 recently. Therefore, I have noticed a couple game changers in several releases. Well, take […]

How to Deploy Spring Boot App to Wildfly

Spring Framework One of the most exciting framework in the Java world is Spring Framework. They offer a lot of useful features, from spring core, spring jms, spring data jpa, spring boot and many more. […]