- Spring 5.0 Microservices(Second Edition)
- Rajesh R V
- 115字
- 2021-07-02 19:44:56
Bundle dependencies
As per this principle, all applications should bundle their dependencies along with the application bundle. With build tools such as Maven and Gradle, we explicitly manage dependencies in a Project Object Model (POM) or gradle file, and link them using a central build artifact repository such as Nexus or Archiva. This will ensure that the versions are managed correctly. The final executables will be packaged as a war file or an executable jar file embedding all dependencies:

In the context of microservices, this is one of the fundamental principles to be followed. Each microservices should bundle all required dependencies and execution libraries, such as HTTP listener and more, in the final executable bundle.
推薦閱讀
- HTML5+CSS3王者歸來
- Building Modern Web Applications Using Angular
- Flask Web開發入門、進階與實戰
- 鋒利的SQL(第2版)
- 全棧自動化測試實戰:基于TestNG、HttpClient、Selenium和Appium
- Apache Camel Developer's Cookbook
- Django Design Patterns and Best Practices
- Application Development with Parse using iOS SDK
- 多媒體技術及應用
- Java EE架構設計與開發實踐
- OpenCV 3.0 Computer Vision with Java
- Raspberry Pi Blueprints
- LabVIEW入門與實戰開發100例(第4版)
- PostgreSQL 12 High Availability Cookbook
- Docker on Windows