b**********n 发帖数: 27 | 1 找来找去,都说得云山雾罩的,看的还是似懂非懂。
有人能用最简单的话讲清楚OSGI的用途和优点吗?包子伺候…… |
e*****t 发帖数: 1005 | 2 a container that can manage the lifecycle of components.
【在 b**********n 的大作中提到】 : 找来找去,都说得云山雾罩的,看的还是似懂非懂。 : 有人能用最简单的话讲清楚OSGI的用途和优点吗?包子伺候……
|
g*****g 发帖数: 34805 | 3 这个东西除了类似Eclipse这样的客户端实在不太有用。server端要管理不同的
components,直接写不同的service好了,放在不同的结点里,要关就关,要开就开,
没那么复杂。
【在 e*****t 的大作中提到】 : a container that can manage the lifecycle of components.
|
x****d 发帖数: 1766 | 4 osgi is good, now there is dosgi, which use zookeeper, better.
【在 g*****g 的大作中提到】 : 这个东西除了类似Eclipse这样的客户端实在不太有用。server端要管理不同的 : components,直接写不同的service好了,放在不同的结点里,要关就关,要开就开, : 没那么复杂。
|
b**********n 发帖数: 27 | 5 那就是说,OSGI是写UI用的啰。
号称可以有不同版本的同一个bundle运行,不用重启就能热切换bundle,似乎很不错。
【在 g*****g 的大作中提到】 : 这个东西除了类似Eclipse这样的客户端实在不太有用。server端要管理不同的 : components,直接写不同的service好了,放在不同的结点里,要关就关,要开就开, : 没那么复杂。
|
w**z 发帖数: 8232 | 6 出了问题,版本不对,搞死人的。
【在 b**********n 的大作中提到】 : 那就是说,OSGI是写UI用的啰。 : 号称可以有不同版本的同一个bundle运行,不用重启就能热切换bundle,似乎很不错。
|
b**********n 发帖数: 27 | 7
【在 w**z 的大作中提到】 : 出了问题,版本不对,搞死人的。
|
e*****t 发帖数: 1005 | 8 yes, we made the same conclusion after we evaluated OSGI.
On other drawback is that there's no guarantee the memory can be reclaimed a
fter a component is unloaded. There's no way for OSGI itself to GC them.
【在 g*****g 的大作中提到】 : 这个东西除了类似Eclipse这样的客户端实在不太有用。server端要管理不同的 : components,直接写不同的service好了,放在不同的结点里,要关就关,要开就开, : 没那么复杂。
|
e*****t 发帖数: 1005 | 9 that's the idea, but in reality, think about eclipse....
【在 b**********n 的大作中提到】 : 那就是说,OSGI是写UI用的啰。 : 号称可以有不同版本的同一个bundle运行,不用重启就能热切换bundle,似乎很不错。
|
F*M 发帖数: 104 | 10 以前好像看到过linkedin的架构师做演讲说linkedIn是怎么用osgi的,好像还不错. 刚
google了一下,发现最近的一个ppt
http://java.dzone.com/articles/how-linkedin-building-new
a
【在 e*****t 的大作中提到】 : yes, we made the same conclusion after we evaluated OSGI. : On other drawback is that there's no guarantee the memory can be reclaimed a : fter a component is unloaded. There's no way for OSGI itself to GC them.
|
F*M 发帖数: 104 | 11 以前好像看到过linkedin的架构师做演讲说linkedIn是怎么用osgi的,好像还不错. 刚
google了一下,发现最近的一个ppt
http://java.dzone.com/articles/how-linkedin-building-new
a
【在 e*****t 的大作中提到】 : yes, we made the same conclusion after we evaluated OSGI. : On other drawback is that there's no guarantee the memory can be reclaimed a : fter a component is unloaded. There's no way for OSGI itself to GC them.
|