jeudi 20 novembre 2008

Support for Seam 2.1

Support for Seam 2.1 is now in available the trunk and in the latest
GDS nightly builds
( Don't
hesitate to give it a try if you are interested to help us testing it
before the stable release.

As a few parts of the API have changed, there are some little
differences of configuration and deployment.

First you will need to use the granite-tide-seam21.jar instead of
granite-tide-seam.jar. The swc library is the same granite-tide-seam.swc.

Most implementation classes are different :

<granite-config scan="true">
! Use Seam 2.1 based security service.
<security type=""/>

! Enable Seam components for Tide
<component instanceof=""/>
<component instanceof="org.jboss.seam.framework.Home"/>
<component instanceof="org.jboss.seam.framework.Query"/>
<component annotatedwith="org.granite.tide.annotations.TideEnabled"/>

services-config.xml is exactly the same.

The good news is that you can completely remove all dependencies on
Faces if you don't use it. Thus web.xml can be as simple as :

<web-app version="2.4" xmlns=""

<display-name>GraniteDS Seam 2.1</display-name>

<!-- Seam -->







More complete details are here :

Remember that if you remove Faces, you will not be able to use
FacesMessages any more (of course) and you will have to use the new
Seam 2.1 StatusMessages API. By default, Tide comes with a basic
implementation of it but it's not necessary to refer explicitly to the
concrete Tide implementation class and you can just use
@In StatusMessages statusMessage;

If you need to use a html view layer side by side with Flex/Tide, this
default TideStatusMessages will be overriden by the view-specific
implementation and you won't have to change anything in the components.

8 commentaires:

Seto a dit…

A suggestion, make this site with another domain?
The blogspot domain is blocked in the daytime and accessed in the nighttime in China.
So it should be helpful if this blog can be access with another domain.

William Draï a dit…

We are going to try to set an alternative domain for the site. Hopefully this will help with access from China, but the filtering is probably done by IP address and not by domain name.

Pedro Sena a dit…


I would like to know WHERE may I find the granite-tide-seam21.jar file, since it is not in download area.


Olvin a dit…

Marble City Company is an expert installer and fabricator of granite countertops, also is the largest importer of granite in the Bay Area, CA.

Olvin a dit…

granite tops, coarse-grained igneous rock of even texture and light color, composed chiefly of quartz and feldspars. It usually contains small quantities of mica or hornblende, and minor accessory minerals may be present.

squad a dit…

Great list of resources! I also recommend for finding great domain names. This site uses the "wisdom of crowds" allowing users across the world to submit domain name suggestions. The best suggestion wins a prize that is setup in advance by the contest holder, creating a win win situation for every one. Contests start at $50 and users typically receive 200+ good name suggestions within 2 days

david a dit…

Granite worktops at

Gexton a dit…

Thanks, you guys that is a great explanation. keep up the good work in your granite blog.
granite edmonton
granite countertops edmonton