![]() ![]() Official documentation on auto-configuration can be found here: In this way, when upgrading a third-party dependency, you only need to upgrade the version of this (exclude = )īut it should only be done when absolutely necessary. We can learn from Spring IO Platform to write our own basic project platform-bom, and all business module projects should be introduced in the form of BOM. It is itself a sub-project of Spring Boot and maintains other third-party open source libraries. How to do it? In fact, Spring IO Platform does just that. If a large project includes many undeveloped modules, it will be very cumbersome to maintain. But some are not included in the actual project use, which requires us to maintain the version in the project. The Spring Boot project itself uses and integrates a large number of open source projects, which help us maintain these third-party dependencies. This practice is based on my experience in actual projects. Use a custom BOM to maintain third-party dependencies The best practices are listed below, in no particular order. In this article, I’ll focus on Spring Boot-specific practices (and most of the time, also apply to Spring projects). These are based on my personal experience and articles by some well-known Spring Boot experts. In this article, I’ll share with you the best practices I’ve adopted since 2016 for using Spring Boot in professional development. ![]() Spring Boot is the most popular Java framework for developing micro services. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |