本年的基本工作目標,基本確立了,重點還是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.