Spring Conditional Bean Configuration: Load Beans Based on Application Properties File

In complex applications, there are times when you will want the Spring dependency injector to create an instance of a class based on a given condition. One common case is to configure the bean definition based on a property defined in the application.properties file. By using this approach you can load custom beans at runtime… Continue reading

How to deploy Spring Boot applications on Tomcat (as WAR)

By default, Spring-Boot applications are packaged as JAR files and they have an embedded container that hosts them. The embedded container allows developers to not have any web server installed in order to run their apps. This is pretty cool and brings many benefits for developers like easier deployment and management. However, customers usually have… Continue reading

Voxxed Days Bucharest 2017

I had the opportunity to attend my first Java developer conference: Voxxed Days Bucharest 2017. I learned a lot of things, I had a great time and I thought it would be a good idea to share my thoughts about this event. What I liked The diversity and relevance of the content. There were many… Continue reading

Python in Action – Convert Geographic Coordinates to Decimal

I want to share my first experience with Python 🙂 Recently, I had to work on a small parser that needed to read geographic coordinates (40.25.00N, 19.00.00E) from a CSV file and convert them to decimal WSG-84 coordinates (42.56, 27.62). So, I took it as an opportunity to learn something new. I decided to spend one… Continue reading

Create a Spring Boot Application Using Multiple Maven Modules

Spring Boot has been receiving a lot of hype lately. There are plenty of materials online. However, most of the examples used to demonstrate Spring Boot are rather simple. In 99% of cases, a single Maven module is used. But, in the real world, developers are building complex applications and they want to structure their… Continue reading