JBoss Central provides an archetype for RichFaces 4, also implementing the "kitchensink" example. RichFaces 4 leverages EE 6's BeanValidation by moving those declarative validation rules from the server down to the client.
RichFaces 4 for Desktop & Mobile in JBDS 5 from JBoss Developer on Vimeo.