Name: sofa-ark
Owner: Alipay
Description: SOFAArk is a light-weight?java based classloader isolation framework.
Created: 2018-03-12 09:07:08.0
Updated: 2018-05-24 09:58:03.0
Pushed: 2018-05-15 10:08:11.0
Size: 851
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
SOFAArk ????? Java ???????????????????????????????????????????????? Fat Jar ???????????????????? Fat Jar????????????? Java ?????? Spring Boot ??????? https://alipay.github.io/sofastack.github.io/ ????????????????
???? Java ??????????????????????????????????????????????????????????LinkageError
, NoSuchMethodError
????????????????????????????????? SpringBoot ???????????????????????????????????????????????????????????????????????????????????????????? protobuf2
? protobuf3
????? SpringBoot ????????????
?????????????????????????????? Classloader ??????????????????????OSGI ?????????????????????????????????? OSGI ???????????????????????? OSGI ?????????????????????????????
SOFAArk ?????????????????????????????????????????????????? SOFABoot ??????? SpringBoot ?????????????SOFAArk ??????????????????? SpringBoot ?????????? Java ???????
SOFAArk ??????????Ark Container
, Ark Plugin
? Ark Biz
; ???????????
???????????????????????????? Ark ?
?Ark ????????????? Executed Fat Jar
???????? Maven
?? sofa-ark-maven-plugin
????????????????? Ark ?
????? java -jar application.jar
??? Ark ?????????Ark ?
???? Ark Container
?Ark Plugin
? Ark Biz
?????????????????????
Ark Container
: Ark ??????????????Ark Plugin
? Ark Biz
??? Ark ??????????????????????????????????? classpath ??? Ark Plugin
? Ark Biz
????????????????????
Ark Plugin
: Ark ?????????????? Fat Jar
???????? Maven
?? sofa-ark-plugin-maven-plugin
??????????? Java Jar
??????????? Ark Plugin
? Ark Plugin
?????????????????????????????????????Ark ???????? PluginClassLoader
??????????????????????????????????????????
Ark Biz
: Ark ???????????????? Fat Jar
???????? Maven
?? sofa-ark-maven-plugin
????????????????? Ark-Biz
?????????????????????????????????????
?????Ark Container
????????? classpath ??? Ark Plugin
? Ark Biz
??????????????????????????? Classloader ???????????????????????Ark Plugin
?? Ark Biz
??????Ark Plugin
???????????????????????????Ark Plugin
? Ark Biz
????????????? Ark Biz
?? Ark Plugin
????????????
SOFAArk??????????????????????? SOFAArk ???????? ?????????????????????A ? B??? A ???????? 0.1 ? C ????? B ???????? 0.2 ? C ??? C ???????????:
??????? SOFAArk ?????????????? A ???? 0.1 ? C ???????? Ark Plugin
??????????????????