java

New App Idea (Don’t Read – No Meat)

I was requested (in alignment with my hazy career plan in the company) to do a review of our corporate strategy and to present my report to a line of the T.M. (WOW! sound like this guy is climbing somewhere…. but, he’s really and truly not:-) ). While reading a financial newspaper a couple of days ago I was...

Spring controller forwarding

I’ve been through Spring forums for quite a while now trying to figure out how to SIMPLY forward a request to a controller from another controller (keywords: forward, forwarding, controller chaining, …). It seems that this basic function has no easy implementation. The problem started when I wanted to forward the request to a controller that is dynamically determined...

Spring Admiration Post

The plug was pulled on the project I was working on – adapting an opensource workflow engine (jBPM in my case) for use in an existing application. Although it did hurt a bit (since I’ve done an extensive job understanding the target application), yet, the amount of time I spent on Spring (the framework of choice) were really thrilling....

Middlegen Sample Simple build file

Middlegen is a timesave.Although it’s not the perfect solution to generate Hibernate mapping files and hence POJOs, yet, it saved me a lot of time. I was about to quit playing with it as it wouldn’t read foreign key names with the exception:`java.lang.IllegalArgumentException: There is no column named in the table named ` It seemed that Middlegen was reading...

Chainsaw

A neat tool for log [files] processing is Chainsaw.It enables processing log files from various sources and in various formats.I had to download log4j-1.3alpha for some of its jars (UGLI) in order to start Chainsaw. I’m still trying to configure it to read some log output (stdout) from my application during development.

DB2/400 and Hibernate Order By

I Hate DB2/400 (iSeries) or at least V5R1 SEVERE: SQLException occurred<br>java.sql.SQLException: [SQL0208] ORDER BY column WRID or expression not in result table. Discovered that was because Hibernate “auto generated” alias for any column in its select clause is not used in the ORDER BY clause (real column name is used instead).A DB2/400 deficiency as many other databases understands the...

Opensource CMS

I’ve been looking around for a a Java based opensourced CMS. The journey is quite fascinating. Many projects with many features, design and architecture.I’ve been to Magnolia, InfoGlue, Daisy, and more. Still not set on which one I’m going to use. Magnolia seems like a good choice, one advantage is their use of the upcoming API for java content...

ValueList and DbForms

In a quick search for display libraries I landed on the ValueList project. It really worth some exploration, especially with its spring configuration and direct resultset fetching for a better memory utilization (rather than in-memory lists in Displaytag)/ Through another search for ValueList discussions, I landed on a bigger find, DbForms. It looks like a solution that I have...

DisplayTag 1.0 released

Displaytag 1.0 was released today. Version changes are in the announcement. [Display Tag Download] A look at some javascript table grid (w/client side data sort) has made me pay a visit to the Displaytag website (out of appreciation to their work). Long live to server side data manipulation.

jBPM Sample Process in Tomcat

Deploying jBPM sample application (payraiseprocess application) to Tomcat – my experience with some tricky issues: Added the jar files (commons-fileupload.jar, commons-validator.jar, commons-digester.jar, jakarta-oro.jar) to jBPM application library (WEB-INF\lib) or to <jbpm-directory>\lib if you’re going to perform a build (required after Hibernate mapping modification below). I got “Cannot find ActionMappings or ActionFormBeans collection” error when calling the jbpm application without...