- 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.
推薦閱讀
- 程序員面試白皮書
- 小程序?qū)崙?zhàn)視頻課:微信小程序開發(fā)全案精講
- 程序設(shè)計(jì)與實(shí)踐(VB.NET)
- 我的第一本算法書
- SEO實(shí)戰(zhàn)密碼
- HTML5+CSS3網(wǎng)站設(shè)計(jì)基礎(chǔ)教程
- iOS編程基礎(chǔ):Swift、Xcode和Cocoa入門指南
- Visual Basic程序設(shè)計(jì)
- Android系統(tǒng)級(jí)深入開發(fā)
- SQL Server實(shí)用教程(SQL Server 2008版)
- Android嵌入式系統(tǒng)程序開發(fā):基于Cortex-A8(第2版)
- Java Web應(yīng)用開發(fā)項(xiàng)目教程
- C#面向?qū)ο蟪绦蛟O(shè)計(jì)(第2版)
- Oracle 12c從入門到精通(視頻教學(xué)超值版)
- Web編程基礎(chǔ):HTML5、CSS3、JavaScript(第2版)