搶佔先機
VMware 提供培訓和認證,以加速您的進步。
瞭解更多我很高興地宣佈 SpringSource dm Server RC2 版釋出,之前被稱為 SpringSource Application Platform。 此版本功能已完整,如果沒有嚴重問題,將在兩週後釋出 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。