Spring Boot, and the Spring Framework that Spring Boot is based on, is a great framework for developing microservices in Java. Larsson, Magnus. Microservices with Spring Boot and Spring Cloud: Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes, 2nd Edition (p. 67). Packt Publishing. Kindle Edition. In this article, we will not discuss Microservices (this post about Introduction Microservices) here, we just share knowledge about fundamental Spring Boot.

Continue reading

After we talk about generating the Spring context using @Bean and Stereotype annotations in Part 1, now we talk about the third way which is used Programmatically. This programmatic approach offers flexibility to add the bean into the context, this way will be proper when you want to have a custom way of adding beans into the context, and the preceding ways of @Bean and Stereotype annotations are not sufficient for your case.

Continue reading

In this tutorial, we will discuss the fundamental concept of Spring that we must know, which is Spring Context, it is the basic knowledge that we need to understand in the Spring ecosystem. Spilca Laurentui said in his book: Imagine the context as a place in the memory of your app in which we add all the object instances that we want the framework to manage. By default, Spring doesn’t know any of the objects you define in your application.

Continue reading

Author's picture

Truth can only be found in one place: the code. - Robert C. Martin

Software Craftmanship

Indonesia