Comments (3)
问题一 jar的升级升级过程中应该保持接口兼容,如果不兼容那么老的代码依赖了0.3 引入了不兼容的0.4会导致老代码无法运行成功。 如果非要解可以指定不同的微服务加载不同文件夹下单jar包,参考tomcat的类隔离机制,但是这会导致tac变得更加复杂。
问题二 没有明白,可否描述详细一点?
from tac.
问题一,对兼容性的要求要比较高。最好是后面版本兼容前面版本,容器只是用最新版本。
问题二,举个例子,我在jar包中使用spring boot框架,生成一个@bean, 通过@Autowired注入,代码本身可以运行,但是jar包放到container里面,肯定是没法运行的。
这个时候我该怎么处理?第一是container里面增加configure的路径,然后重启, 第二,修改container的spring框架,能够动态加载jar包中的bean。 不知道我这么理解正确么?
from tac.
可以的
from tac.
Related Issues (8)
- 这个是我姿势不对嘛~~ HOT 2
- ConsoleApplication.java中有段代码重复 HOT 1
- 有点疑问 HOT 5
- 关于项目应用场景的一些疑惑 HOT 1
- maven打包到tac-engine不动了
- 麻烦能不能补充下系统设计文档 HOT 1
- 测试问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tac.