JSF and File Downloads, Take Two

JSF and File Downloads, Take Two Yesterday, I detailed some issues I was having getting a JSF app to allow the download of an Excel spreadsheet as the result of a backing bean action being called. My solution involved a servlet and some JavaScript, with just a -pinch- a fistful of kludge. Thanks to the esteemed Mr. Chad Cummings, I have a better solution, and it involves one small change to the backing bean (the.....

Read More ›

JSF and File Downloads

JSF and File Downloads At IEC, we have an application used to report inventory counts. Part of the app creates an Excel spreadsheet using POI. The user selects a batch from a select/combo, click on the button, and the server sends them a spreadsheet. The basic work flow is this: Display the page User selects a batch and clicks the button JSF calls the specified action on the backing The backing bean creates the.....

Read More ›

A Java-based 'Playground' App

A Java-based 'Playground' App As I’ve noted earlier, I’ve been debating whether or not I should continue PHP development and move to only Java. Part of the process has included writing a web application using some of the newer Java libraries…​ What I needed was something simple to help me try out some of the newer (at least to me) Java libraries. What I came up with is.....

Read More ›

There has to be a decent ORM for PHP

There has to be a decent ORM for PHP For quite a while now, I’ve been using PEAR’s DB_DataObject to do data persistence, but I’ve never been quite satisfied with it. As I’ve used Hibernate more and more, I find myself increasingly disappointed with DB_DataObject, so I went searching for a solution. While I haven’t searched real hard, I’ve done some googling, and.....

Read More ›

To PHP or not to PHP...

To PHP or not to PHP…​ After years of PHP development, I find myself trying to decide if I should stick with the language…​I have been doing PHP for years; since the PHP3 days. I have found it to be a powerful and flexible language that is easy to code in and deploy. Every web application I have running at home, on this site, or any of the other hand.....

Read More ›