Most of the issues I see clients have with JSF boil down to a few fundamentals: - ignorance of the JSF lifecycle (leads to all sorts of trial + error with attributes; performance issues (e.g. repeating controls are in forms)) - not understanding state saving (leads to memory problems) - a lack of class design in managed beans (backing bean is a dumping ground for all sorts of cross-cutting concerns; inappropriate scoping of data)
Of course, you could probably generalize this problem. Anyone who struggles writing a correct Servlet application isn't going to fare any better when you stick JSF on top of that stack. People's eyes tend to glaze over when I suggest referring to the specifications. Most of the work I've been doing is migrating projects off server-side frameworks to static HTML + REST. The old web tiers have used SOAP to consume services, so this approach is relatively low-impact. If you want to evaluate this approach, look at Apache Wink. On Fri, Feb 10, 2012 at 11:56 AM, Vince O'Sullivan <[email protected]>wrote: > In our dept., we're putting together JSF 2.0 applications to run on > the company intranet. They're written in Java 1.6 and hosted on a > Tomcat 6 web server on a linux box and they access data in Oracle > databases. They work fine and are proving reliable but JSF and > managing beans does seem to be something of a dark art. > > The database is a given and I'd be reluctant to change either the base > language or web server that we use (but might be persuaded). > > Given those restrictions, what are the most mainstream alternatives > that we might consider? > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
