After deploying my Cordova application about 100 times, I got really tired of changing environment specific constants. I was doing some work in the office and then packing up my laptop and then doing some more work at home. One…
Authentication with Ionic and Angular.js in a Cordova/Phonegap mobile web application
There are many different approaches to authentication in general. One size certainly does not fit all. However, I will explain one approach to solve this problem using the ionic framework and Angular.js. First, we need to discuss how the backend…
When Ehcache elements need to have a midnight curfew
I was recently asked to setup Ehcache as a second-level cache for a Java based Seam application. In doing so, I was asked if I could expire entities in the cache at midnight or after being alive for 8 hours(whichever…
Building Dynamic RichFaces Components with Seam
There are a couple of different ways to dynamically build RichFaces components. We can implement it inside the view or we can implement it on the server side. Let’s say we want to build a panelMenu where the user can…
Adding an unsigned signature to a PDF using Seam and iText
Seam provides a nice component library that uses iText to generate a PDF document. In the process of building a proposal management system, I found myself needing to add an unsigned signature to a PDF. The requirement was to provide…