搶先一步
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 套件。因此,如果您在 Shared Services WAR 的 web.xml 中為 Spring MVC 的 ContextLoaderListener 或 DispatcherServlet 設定 contextClass,請務必將完整路徑變更為 com.springsource.server.web.dm.ServerOsgiBundleXmlWebApplicationContext。
PlatformOsgiBundleXmlWebApplicationContext 的重新命名也影響了程式化存取 Web Module 或 Shared Services WAR 的 BundleContext:用於從 ServletContext 檢索 BundleContext 的常數現在是 ServerOsgiBundleXmlWebApplicationContext.BUNDLE_CONTEXT_ATTRIBUTE。
表示特定人格類型的 manifest 標頭名稱已從 Platform-ModuleType 變更為 Module-Type。因此,為了讓現有的 web module 繼續運作,您需要更新 web module 中的 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。