集成到OSGI的几个问题

27 views
Skip to first unread message

Jun Tsai

unread,
May 24, 2009, 10:31:56 PM5/24/09
to Tapestry-OSGi
最近我也想把我的T5应用集成到OSGI的平台中,目前还在思考。
1)查看了Spring DM,我在想能不能把我基于Tapestry5-ioc的十几个module也能想Spring DM 那样方便在其他模块进
行调用,不知道Tapestry-osgi有没有这方面的经验,谢谢,
2)还有一个问题就是现在OSGI如果在我的生产环境,性能怎么样?我需要至少1k的并发。

谢谢

Jun Tsai

donf yang

unread,
May 26, 2009, 6:35:33 AM5/26/09
to tapest...@googlegroups.com
Ioc modules:
在Tapestry-OSGi 中引入的ExtensionPoint和Extension的概念中,就有这样的解决方案,动态构建Extensions,各个模块间动态调用。
目前试图通过这种方式来代替AppModule的功能,正在测试,但是使用@Inject始终是最方便的,还需要更多的测试。
使用Spring-DM来做这件事不是一个好主意,除非你的系统是基于spring的,并且有这样的需求。
 
性能问题:
目前考虑的是通过非常简单的分布式或集群配置来缓解OSGi环境所带来的性能瓶颈。这至少是OSGi的优势吧
 

 
2009/5/25 Jun Tsai <Jun....@gmail.com>



--

Regards,

Donf Yang
------------------------------------------------------------------------------
To be surprised,to wonder,is to begin to understand.
Reply all
Reply to author
Forward
0 new messages