A Transit Bean is a lightweight request-scope bean that intercepts data write requests issued by components, and focuses or otherwise processes them before they reach the bean model. They are the generalisation of the concept of validators in architectures like Spring or JSF, in that being pure beans they may be wired with arbitrary getters and setters. See the use of the DateTransit bean in the Hibernate Cookbook for an example usage. Transit beans are a form of usage of the OTP pattern, and are typically defined in Spring using a BeanExploder.
As RSF matures, expect a good repertoire of these components to be developed and contributed - being pure beans[1], the advantage is that they can be reused in scenarios outside RSF, and even outside the web in general.
You can post comments and questions on this page using the following blog. Please set your name using UserPreferences before posting.