Re: Pretty Faces vs Rewrite

Splash Forums PrettyFaces Users Pretty Faces vs Rewrite Re: Pretty Faces vs Rewrite

#21684

PrettyFaces 3.x is a separate library which focuses on URL rewriting for JSF. It provides configuration via XML and annotations and offers a view JSF components. But there is no more active development done for PrettyFaces.

On the other side there is Rewrite. Rewrite is actually a completely new project which doesn’t only focus on JSF but on all web frameworks built on top of the Servlet spec. Rewrite is configured using a type-safe fluent Java API and recently added support for annotations. XML isn’t supported any more. The JSF integration module of Rewrite could be considered as something like PrettyFaces 4.0.

I’m not aware of any problems when using Seam Faces with PrettyFaces/Rewrite. Actually Seam Faces internally also uses PrettyFaces (See [1]).

[1] http://docs.jboss.org/seam/3/faces/latest/reference/en-US/html/viewconfig.html#viewconfig.urlrewriting