Seam 2 is very close to finish our 2.3.0 path. Today Seam 2.3.0.CR1 was released! We still have to polish Seam reference documentation and fix a few issues for doing final release of 2.3.0.

 

Anyway there is a big progress in comparing to 2.3.0.Beta2 milestone. We have got now working JUnit Arquillian integration testsuite instead of using legacy JBoss Embedded with TestNG framework, and even Seam 2 framework is not full Java EE 6 framework, as it was originally based on Java EE 5 set of technologies, we tries to come near to AS 7 runtime and support major technology upgrade like JSF 2, JPA2 and EJB 3.1.

 

Seam-gen was updated too and even it is not so powerfull like before it can provide basic project scaffold of ant based project. We won't  invest more time to refactoring seam-gen to produce Maven based project skeleton. Latest JBoss Tools recognizes Seam 2.3 as a runtime and can be used for development in old way as before.

 

Next we polished a little Seam 2.3 Maven modules and give users Seam BOM file, which declares all required dependencies  working with the release and uses also Java EE 6 BOM file with Hibernate. Seam examples bundled in distribution represents its usage.

 

Download links are at https://sourceforge.net/projects/jboss/files/JBoss%20Seam/2.3.0.CR1 and of course published at http://www.seamframework.org/Seam2/Downloads. Documentation was updated too even we will work on it untill final release goes out. Summary of available documentation formats are at http://www.seamframework.org/Seam2/Seam2Documentation.

 

 

How to start with using Seam 2.3.0.CR1?

 

  • First set up the JBoss repository in your ~/.m2/settings.xml like profile (you can use a template from Seam2.3 build/settings.xml ):


<profile>       
       <id>jboss-public-repository</id>
       <repositories>
         <repository>
           <id>jboss-public-repository-group</id>
           <name>JBoss Public Maven Repository Group</name>
           <url>https://repository.jboss.org/nexus/content/groups/public/</url>
           <layout>default</layout>
         </repository>
        ...       
       </repositories>
 </profile>
 ... 

<activeProfiles>
     <activeProfile>jboss-public-repository</activeProfile>
</activeProfile>

 

 

  • Update your application project with the following example of usage Seam BOM and then jboss-seam and jboss-seam-ui modules for instance :

 

<dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.jboss.seam</groupId>
                <artifactId>bom</artifactId>
                <version>2.3.0.CR1</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            ...
     </dependencies>
</dependencyManagement>

<dependencies>

   <dependency>
      <groupId>org.jboss.seam</groupId>
      <artifactId>jboss-seam</artifactId>
      <type>ejb</type>
   </dependency>

   <dependency>
      <groupId>org.jboss.seam</groupId>
      <artifactId>jboss-seam-ui</artifactId>      
   </dependency> 
   ...
</dependencies>