JSTL with JSF/Facelets

October 18, 2008

In my years of JSF development, especially with respect to Facelets, I have come to both love and hate JSTL. JSTL without Facelets is even more of a nightmare and I would strongly recommend considering otherwise. JSTL with Facelets is a little better, but still requires a full understanding of how Facelets interacts with JSF […]


CSS Sprites

October 18, 2008

I decided to take the plunge and begin making my site more YSlow compliant. I had already enabled GZip through a custom GZip filter and browser caching for static resources. My next task was to limit the number of resources being served. My first part here was first minifying and combining all javascript and CSS […]

Comments Off on CSS Sprites

JSF Performance Improvements: Part I

October 18, 2008

This is my first post on improving sites utilizing JSF. This post is more relevant for mostly static content that only changes at the result of database updates. One of the easiest ways to improve performance is through caching. There are several types of caching from database caching (JPA/Hibernate), model caching (EHCache), browser caching (resources, […]

Comments Off on JSF Performance Improvements: Part I

JSF Relative Client IDs

October 13, 2008
Tags: , ,

Currently in JSF, if you wish to have one component refer to another component, you have to use one of two types of client ids: absolute or relative. A relative id is resolved against its closest parent NamingContainer and searches for a suitable match. An absolute id starts with a separator character (typically a colon) […]

Comments Off on JSF Relative Client IDs

Controlling GC and Improving Unit Testing through Factories

October 13, 2008

So I was looking at design patterns and read across the factory pattern and the pooling pattern. I know what both of those do independently but never considered them together and as a result, my mind started racing with ideas. One of the many problems with applications in terms of performance is garbage collection. Pooling […]

Comments Off on Controlling GC and Improving Unit Testing through Factories

HTML5 Adoption via Emulation

October 11, 2008
Tags: ,

The biggest issue right now with web related specifications is browser adoption. The specs clearly state that at least two mainstream browsers must implement the standard to be considered complete. In most cases that tends to be Firefox, Opera, Safari, and Internet Explorer. The first of these three has always been adapt to adopting standards. […]

Comments Off on HTML5 Adoption via Emulation