抢占先机
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。