Search code examples
javajsf-2richfaces

Reference architecture for RichFaces 4 webapp


I'm currently investigating whether I should use GWT 2.4 or RichFaces 4 for a new webapp I'm going to build. I'm aware of many documents describing the architecture of a GWT application, but I haven't really found any extensive descriptions for RichFaces applications.

I found an old article about JSF with Spring and Hibernate from 2004, but I'm looking for something more current.

I'm especially interested in how to structure a webapp using RichFaces as UI layer and how to best wire the managed beans to the underlying business logic. Package and class diagrams would come in handy, but also a documented sample app would do the trick.

I would prefer to not have Spring and Hibernate in the example architecture so that I can better compare it to pure GWT webapps.

Do you have any pointers for me? Is there something like a reference architecture?


Solution

  • In the meantime, I found an answer by reshaping my question. Instead of looking for specific JSF-related descriptions, I took a more general view on how to structure a JEE6 architecture.

    Most useful for me is the official Oracle JEE6 tutorial and also the in-depth look at the JBoss AS 7 Kitchensink example.