Why are Angular Components more Successful than JSF Components?

Posted 6 CommentsPosted in Angular, JSF, simpliying JSF

At first glance, there are many similarities between Angular and JSF. Both offer a decent abstraction layer from the DOM, both offer two-way binding (yes, I know it’s optional since Angular2), and both use components as building blocks of the application. Even better, both frameworks offer a way to create your own custom components. The […]

UI Survey 2017: Java vs. JavaScript

Posted 4 CommentsPosted in Angular, AngularJS, BootsFaces, Javascript, JSF, Spring, UI survey, Uncategorized, web design

Recently, I’ve seen a number of surveys covering the popularity of Java and Java UI frameworks. Most surveys show that either Spring or Java EE is more popular. However, they don’t answer two important questions: is Java becoming more or less important? Currently, I’m mostly interested in UI frameworks, so the next logical question is: […]

What’s New in BootsFaces 1.0?

Posted 4 CommentsPosted in BootsFaces, JSF, responsive design, simpliying JSF, web design

BootsFaces 1.0 has been released. Actually, we’ve already published the first bugfix release, BootsFaces 1.0.1. I was a bit shy to proudly announce the 1.0.0 version because we had so many obstacles to overcome. Apart from the usual obstacles like exhausting projects at work (and they were exhausting this time!), there were also the earthquakes […]

How to Use Advanced Search Expressions with Mojarra, MyFaces or OmniFaces

Posted Leave a commentPosted in BootsFaces, developer productivity, JSF, simpliying JSF

I consider the advanced search expressions of PrimeFaces and BootsFaces tremendously useful. In particular, @next and @previous make it a lot easier to move input fields around on the screen or from one screen to another during the prototype phase of your project. The only problem with the search expressions is that they only work […]

Single-Page Applications With BootsFaces

Posted 15 CommentsPosted in AJAX, AngularFaces, AngularJS, BootsFaces, JSF, simpliying JSF, web design

Singe-page applications have become tremendously popular in the last couple of years. They are fast, they are responsive and they can save network bandwidth. The first SPAs that caught the attention of the community were based on JavaScript. So nowadays everybody seems to believe you can’t write an SPA with JSF. But you can. It’s […]

JSF ViewState and CSRF Hacker Attacks

Posted 2 CommentsPosted in JSF

One of the implementation details of JSF hardly any developer knows anything about is the hidden field “javax.faces.ViewState” that’s included in every JSF view. On the one hand, it’s good that you don’t have to know anything about this field. Thing is, this lack of knowledge is filled with many myths. One of these myths […]

How to Detect a Page Reload in JSF

Posted 1 CommentPosted in JSF

One of our customers wants to reload everything from scratch when they hit the F5 key. Many web applications work like that, so customers have learned over the years that a page reload gives you fresh data. Usually that works because the web application doesn’t cache data in the session or view scope. Unfortunately, some […]