Spring Cloud Tutorials – Introduction to Spring Cloud Config Server

Spring Boot provides a lot of flexibility in externalizing configuration properties via properties or YAML files. We can also configure properties for each environment (dev, qa, prod, etc.) separately using profile-specific configuration files such as application.properties, application-dev.properties, application-prod.properties, etc. But once the application is started, we cannot update the properties at runtime. If we change the properties, we need to restart the application to use the updated configuration properties.

Getting Started with SpringBoot in Intellij IDEA Community Edition

We can use IntelliJ IDEA Community Edition for working with Spring Boot applications, as we don’t need support for configuring servers like Tomcat, Wildfly, etc., and can simply run the applications by running the main() method.

However, there is no provision in IntelliJ IDEA Community Edition to create a Spring Boot application directly, the way it is supported in the Ultimate Edition.

Creating Custom SpringBoot Starter for Twitter4j

Spring Boot provides a lot of starter modules to get up and running quickly. Spring Boot’s auto-configure mechanism takes care of configuring Spring Beans on our behalf based on various criteria.

In addition to the Spring Boot starters that come out-of-the-box provided by the Core Spring Team, we can also create our own starter modules.

In this post, we will look into how to create a custom Spring Boot starter. To demonstrate, we are going to create a twitter4j-spring-boot-starter which will auto-configure Twitter4J beans.

SpringBoot : Working with JOOQ

In my previous article, SpringBoot: Working with MyBatis, we learned how to use the Spring Boot MyBatis Starter to quickly get up and running with Spring and MyBatis. In this article, we are going to learn about how to use the Spring Boot jOOQ Starter.

jOOQ (jOOQ Object Oriented Querying) is a persistence framework that embraces SQL.

SpringBoot : Working with MyBatis

MyBatis is an SQL Mapping framework with support for custom SQL, stored procedures, and advanced mappings.

Spring Boot doesn’t provide official support for MyBatis integration, but the MyBatis community built a Spring Boot starter for MyBatis.

SpringBoot : Working with JdbcTemplate

Spring provides a nice abstraction on top of the JDBC API using JdbcTemplate and also provides great transaction management capabilities using an annotation-based approach.