温故而知新,回顾一下osgi bundle

本年的基本工作目标,基本确立了,重点还是osgi,先来回顾一下以前所做的。osgi看了看规范,目前还是4.1,这相差不大。equinox的版本,目前正式的算是3.4.1,以前用的为3.3,相差也不大。还是继续使用3.3吧,毕竟也懒得更新eclipse了,老是用新版本也不是个办法。看了一下jetty bundle,目前已经出来6.1.7了,相差还是有点,不过估计3.3也能支持6.1.7。servlet规范使用了2.5,其实2.4已经足够了,我又不需要jsp,不必使用新的el引擎。dm还是使用spring-dm,目前为1.2m,这个算是比较有大的发展,我现在用的还是1.0.2的,dm这一块估计变动也不会太大,其实,如果不是需要spring的一些其他功能,还不如直接用equinox的dm算了,为了赶个时髦,还是用spring算了,毕竟用惯了ServiceReference。
整理了一下,基本上的bundle还是那么几个:
osgi 核心:
org.eclipse.osgi_3.3.2
org.eclipse.osgi.services_3.1.2
equinox:
org.eclipse.equinox.common_3.3.0
org.eclipse.equinox.registry_3.3.1
org.eclipse.equinox.http.jetty_1.0.1 (需要更新)
org.eclipse.equinox.http.registry_1.0.1
org.eclipse.equinox.http.servlet_1.0.1
org.eclipse.equinox.preferences_3.2.1
org.eclipse.equinox.log_1.0.1
org.eclipse.equinox.preferences_3.2.1
必须的bundle:
org.mortbay.jetty_5.1.11 (需要更新)
javax.servlet_2.4.0 (可选更新)
org.apache.log4j_1.2.9
org.apache.commons.logging_1.0.4
spring bundle:
org.springframework.spring_2.5.2 (可选更新)
org.springframework.bundle.osgi.extender_1.0.2 (可选更新)
org.springframework.bundle.osgi.core_1.0.2 (可选更新)
看了看一个基本的应用就需要这么多bundle,也够呛的,这还不算上hibernate,webwork,等其他第三方jar.

猜你喜欢

转载自marsvaadin.iteye.com/blog/1412229