A comprehensive example of JSF’s Faces Flow
Though introduced as a “big ticket feature” in JSF 2.2, there are surprisingly few examples available for the new Faces Flow feature. Those that are existing seem to be more or less variations of the...
View ArticleWhen to prefer EJB over CDI
While Contexts and Dependency Injection (JSR 299, CDI) is becoming more and more popular, there is also some confusion about the usage of CDI and EJB. We are sometimes asked by our clients when to...
View ArticleGoing Stateless with JSF?
JSF 2.2 introduced a new feature called “stateless views”. In a stateless view the state of JSF components will not be saved and restored on every request. Statefulness in JSF has always been a point...
View ArticleHow to highlight invalid components in JSF
Giving the user a hint about failed validation is essential in form based applications. Though JSF components offer a lot validation functionality there is no such thing as a...
View ArticleJSF Performance: Mojarra improves dramatically with latest release
In our comparative study about the runtime behavior of both JSF implementations we came to the conclusion that Apache MyFaces performs significantly better on large component trees than the reference...
View ArticleJSF Configuration Context-Parameters
Finding the appropriate configuration parameters for your JSF application can be difficult: Some params are defined in the JSF specification (those start with ‘javax.faces‘) and thus are available in...
View ArticleJSF Performance Tuning
I had the chance to talk about JSF performance tuning at JAX Con in Mainz, Germany. The slides are available only in German, so here is an English summary of what I was talking about. Introduction...
View ArticleJSF 2.2 (JSR-344) is final
Only few weeks before the scheduled release of Java EE 7, JSR 344 – the defining specifiaction for JSF 2.2 – went final today. Despite the version number, JSF 2.2 could be considered to be a major...
View ArticleJSF-Comparison: MyFaces vs. Mojarra
A couple of weeks ago we published the results of a comparative study about the performance impact of large component trees on JSF implementations. The article is available in German only so here is a...
View ArticleHow to get the total Number of Components in the JSF Component Tree
Knowing the size of the JSF component tree is often times helpful for JSF developers. Unfortunately, JSF does not provide an easy way to inspect the tree itself. Though <ui:debug> prints out the...
View ArticleJSF 2 Custom Scopes without 3rd party libraries
Almost every JSF application that I am aware of uses some mechanism to store values in a scope longer than the original “Request Scope” but shorter than “Session Scope”. “Wizards” are a common...
View ArticleWhats the problem with JSF? A rant on wrong marketing arguments
There is a lot of fear, uncertainty and doubt about JSF. Thats nothing new. Beeing a JSF developer you have to deal with that FUD. But where does it come from? A lot of FUD is created when developers...
View ArticleCustom Tags as an Alternative to Composite Components in JSF
Composite components are well known and the concept is widely adopted by JSF developers today. Regrettably, another powerful concept seems to be ousted by the popularity of composite components: Custom...
View ArticleBootstrapping JSF applications with SystemEvents
SystemEvents offer a nice way to respond to events like system startup or -teardown. A frequent use case is to log if the application startup was successfull and if all neccessary resources are...
View ArticleICEFaces just a copy of PrimeFaces?
Just stumbled over this on Twitter: PrimeFaces lead developer accuses ICESoft to copy source code from PrimeFaces. According to PrimeFaces official blog post, 90% of the new ACE component libraries...
View ArticleICEFaces 3.0 released
ICESoft has released version 3.0 of their popular JSF library. ICEFaces comes with the set of already known components as well as a second library called “ACE components”. The release notes describe...
View ArticleJSF and MVVM ?
A view days ago my colleague Sönke Sothman gave an excellent talk about knockout.js and the MVVM pattern at one of our internal know-how meetings. His presentation showed a lot of nice usage scenarios...
View ArticleJSF, HTML 5 and usability pitfalls
I am currently in a project that aims to bring an existing JSF web application to the iPad. I was looking for some nice libraries when I stumbled upon MyFaces HTML 5 library. It looked very promising...
View ArticleAnwendungsfehler frühzeitig erkennen mit JSF Development Stages
Development Stages sind eines der mit JSF 2.0 eingeführten neuen Features. Das Konzept wurde von Ruby on Rails übernommen und ermöglicht es Anwendungsentwicklern der Laufzeitumgebung mitzuteilen an...
View ArticleRichfaces 4.0 veröffentlicht
Was lange währt wird endlich gut? Nach langer Entwicklungszeit steht seit dem 30.03.2011 Richfaces 4.0 endlich zur Verfügung (Demo). Neben ICEFaces steht nun ein weiterer Platzhirsch unter den JSF...
View Article