JBoss Seam 3.1.0 Beta5 已经现身

目前还没看到正式发布的消息,上周已经看到Tag了,而且已经可以通过 JBoss Maven Repository获取。昨天已经将项目中的Dependency 改成 3.1.0.Beta5,目前没有发现不兼容性问题。

使用Maven的话首先只需要在 dependencyManagement 声明 Seam3 的BOM。

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.jboss.seam</groupId>
				<artifactId>seam-bom</artifactId>
				<version>3.1.0.Beta5</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

然后在 Dependency 中添加自己要使用的模块,如果使用 Seam Faces。

<dependency>
			<groupId>org.jboss.seam.faces</groupId>
			<artifactId>seam-faces</artifactId>
</dependency>
 

Seam Faces 添加 ObjectConverter,可以替代 Seam2 中EntityConverter,但它只能在Conversation中使用。

猜你喜欢

转载自hantsy.iteye.com/blog/1271511