- 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.
推薦閱讀
- 游戲程序設(shè)計(jì)教程
- Java EE 8 Application Development
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)踐教程
- Raspberry Pi Home Automation with Arduino(Second Edition)
- MongoDB,Express,Angular,and Node.js Fundamentals
- Mobile Device Exploitation Cookbook
- Image Processing with ImageJ
- App Inventor少兒趣味編程動手做
- Android Development Tools for Eclipse
- STM8實(shí)戰(zhàn)
- 從零開始學(xué)Python大數(shù)據(jù)與量化交易
- Getting Started with JUCE
- HTML5/CSS3/JavaScript技術(shù)大全
- Mastering Node.js
- Eclipse開發(fā)(學(xué)習(xí)筆記)