BootsFaces Resource Loading Deep Dive

Posted Leave a commentPosted in BootsFaces

Many BootsFaces developers want to add third-party code to BootsFaces. Usually, that’s a Bootstrap component, a jQueryUI plugin or another combination of JavaScript and CSS. Almost always, these plugins fail to work if they are loaded in the wrong order. So BootsFaces added a fine-grained mechanism allowing you to control the load order. To my […]

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: […]

How to Use BootsFaces and PrimeFaces in the Same Project

Posted 4 CommentsPosted in BootsFaces, PrimeFaces

I’ve always promoted BootsFaces as a companion framework for PrimeFaces, but many developers report it’s difficult, if not impossible, to combine these two frameworks. Things are particularly nasty if you’ve already got a (possibly huge) PrimeFaces application. Some developers report that even adding a single BootsFaces component will distort your application’s layout. So I’ve decided […]

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 Wrap BootsFaces (or JSF in General) as a Native Desktop Application

Posted Leave a commentPosted in BootsFaces, desktop GUI, web design

When I showed the draft of my last post (the “Java on the Desktop” survey article), my friends surprised me by saying that nowadays desktop applications are sort of exotic. Everybody’s doing mobile or at least web applications. But the good old desktop has fallen into oblivion. That’s pretty strange, given that most of us […]

Java on the Desktop

Posted Leave a commentPosted in Angular, application servers, BootsFaces, Browser, desktop GUI, web design

For some reason, the vast majority of developers has accepted the browser as the operation system for their applications. While there are some good reasons for this, I never really bought into it. HTML5 has eliminated most of the pain point of web applications, but I still insist that most customers don’t really want to […]

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 […]

How to Use Mockito to Test JSF Components

Posted 5 CommentsPosted in automated tests, BootsFaces, Mockito, quality assurance

There are two strategies to write JUnit test for JSF applications. The first strategy uses a tool like Arquillian to start both an application server and a browser that runs a JSF application. Yeray Santana Borges used this strategy to contribute a couple of JUnit tests to BootsFaces. This approach has many advantages. It runs […]