Skip to content

sebastiankoltun-blog.com

  • Home
  • About me
  • Contact

Tag: Java

Spring profiles with Maven
16 August 2019 / Spring

Spring profiles with Maven

How to set Spring active profiles with maven profiles? In this example we will setup configuration for Spring Boot profile activated by Maven.

Continue Reading
spring-docker logo
12 February 2019 / Docker

PostgreSQL with Spring Boot on Docker

Today we will learn how to configure PostgreSQL with docker for Spring Boot application. At the end of this article you should have Spring Boot application running on Tomcat server connected via JNDI to PostgreSQL data source.

Continue Reading
utility-tools
10 February 2019 / Clean code

Are static utility classes bad?

Static utility classes are common in libraries and in user code. For example Java Math for basic mathematical calculations or DateUtils to operate on Date/LocalDate objects. It’s not always wrong to create and use them but sometimes using utility methods are considered code smell. I’ll try to explain when and why use or not to …

Continue Reading
mind map image
22 October 2018 / Learning

Java Mind Map

Java mind map is useful tool when you want to learn Java from scratch. Or if you are already experienced developer and you want to refresh your knowledge. Below you see a full Java mind map with general topics. It is based on Oracle documentation and some interview questions. I decided to share this mind …

Continue Reading
hexagonal_architecture monolith-to-microservice
10 February 2019 / Clean code

Monolith to microservice

In last few years “microservices” term was very popular and almost everyone wanted to migrate their systems to such architecture. But what’s wrong with monolithic applications you may ask. Actually nothing. Monolith apps are as good as microservice apps. It’s not the case what is better. I don’t want to discuss what are the benefits …

Continue Reading
5 June 2018 / Clean code

Best practice for passing method arguments

In this article I will present simple yet effective best practice for making code more readable by changing method arguments. It’s a good practice to only pass values, that the method requires, everything else ruins readability and causes tests to be more complicated. Following this simple rule we will check how it really affects code …

Continue Reading
25 May 2018 / Linux

Install Oracle Java JDK 10 on Ubuntu 17.10

In this article we will quickly install Oracle Java JDK 10 on Ubuntu 17.10 machine from terminal. There are multiple methods of doing it, some more easy and some more sophisticated, like using bash scripts. It always depends on use case, but we will do it as simple as it can be. For this moment …

Continue Reading

About me

Sebastian Kołtun Java EE programmer from Poland with 3 years of experience. Interested in photography, film music and electronics.

Recent Posts

  • Spring profiles with Maven
  • PostgreSQL with Spring Boot on Docker
  • Are static utility classes bad?
  • Java Mind Map
  • Docker with Wildfly 13 and OpenJDK 10

Archive

  • August 2019
  • February 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018

Categories

  • Clean code
  • Docker
  • Learning
  • Linux
  • Refactoring
  • Spring
  • Testing

Tags

Clean code Design Patterns Docker Java Java8 JavaEE JUnit5 Learning resources Linux Maven Refactoring Spring Spring Boot Test Ubuntu Wildfly

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Newsletter

©2019 sebastiankoltun-blog.com - Powered by Simpleasy