Entries from November 2007

Session expired messages using Seam security

Date November 16, 2007

Differentiating between an initial login, a session expired, and a logout when displaying messages to the user on the login screen seems like a simple task. The implementation is unfortunately not quite as simple as it sounds and requires a little legwork. The following tutorial will guide you through the requirements.
The first component […]

Solution using Seam to pagination issue with JSF on DataModel updates

Date November 13, 2007

In an implementation using the JBoss RichFaces rich:dataScroller component, I noticed the first attribute of a UIData component is maintained even if the DataModel it is displaying has changed. It turns out, this is an issue with JSF. The UIData component does not track the DataModel it represents. Thus, when the DataModel is updated it […]

WebBeans and stereotypes, achieve your own stereotypes today with Seam

Date November 9, 2007

Recently reading the Web Beans Manifesto, I was intrigued by the use of stereotypes through annotation. Stereotypes are not a new concept. In fact the UML used them as extensibility mechanisms for defining new model elements that have specific properties suitable to your problem domain. Sound familiar?
The following diagram demonstrates some typical stereotypes:

Obviously, this indicates […]

Alleviating client-side back-button issues with Ajax4JSF and RichFaces

Date November 8, 2007

Recently an article I wrote was published on the Seam conversation model and how issues with the back-button can be eliminated through a continuation approach. This aids developers in resolving back-button issues with respect to server-side state, but what about the client-side. Ajax development is a breeze with Seam especially when used in […]

Finally getting around to it…

Date November 8, 2007

I have been meaning to put together a blog for quite a while, but simply never got around to it. Now seemed like the right time given the publication of my first article and my involvement in the upcoming second edition of JBoss(R) Seam: Simplicity and Power Beyond Java(TM) EE.
I look forward to providing […]