領先一步
VMware 提供培訓和認證,助您加速進步。
瞭解更多我很高興地宣佈 SpringSource dm Server(以前稱為 SpringSource Application Platform)的 RC2 版本現已可用。此版本已完成所有功能,如果沒有出現嚴重問題,將在兩週內正式釋出 1.0 GA 版本。
此版本修復了一些關鍵錯誤,升級到 Tomcat 6.0.18,並更新了所有程式碼、文件和支援材料,以反映新名稱。
由於產品重新命名,PlatformOsgiBundleXmlWebApplicationContext 已重新命名為 ServerOsgiBundleXmlWebApplicationContext,並從 com.springsource.platform.web.dm 包移動到 com.springsource.server.web.dm 包。因此,如果您在共享服務 WAR 的 web.xml 中為 Spring MVC 的 ContextLoaderListener 或 DispatcherServlet 設定 contextClass,請務必將其完全限定路徑更改為 com.springsource.server.web.dm.ServerOsgiBundleXmlWebApplicationContext。
對 PlatformOsgiBundleXmlWebApplicationContext 的重新命名也影響了對 Web 模組或共享服務 WAR 的 BundleContext 的程式化訪問:用於從 ServletContext 檢索 BundleContext 的常量現已變為 ServerOsgiBundleXmlWebApplicationContext.BUNDLE_CONTEXT_ATTRIBUTE。
表示特定於個性的型別的清單頭名稱已從 Platform-ModuleType 更改為 Module-Type。因此,為了使現有 Web 模組繼續正常工作,您需要更新 Web 模組中的 META-INF/MANIFEST.MF,並將 Platform-ModuleType: Web 替換為 Module-Type: Web。
請注意,所有示例應用程式(即 Pet Clinic、Form Tags 和 Spring Travel)中的 Web 應用程式均已更新以反映這些更改。
以前在 com.springsource.platform 下發布的 MBean 現在在 com.springsource.server 下發布。
下載、示例和文件可以在以下位置找到:http://www.springsource.com/beta/dmserver。