Archive for the ‘java’ Category

Java blogs searching

Friday, July 28th, 2006

I think its time for a "Java blogs" update. There is a lot of useful information hidden within. However, without being able to perform more advanced searching much of that information remains hidden. At the very least, I wish you could have the option of ordering search ...

Use DisplayTag or NOT

Friday, July 8th, 2005

I am debating the use of displaytag in one of our apps. It has paging, sorting and exporting of data in (excel, pdf, xml). e.g. a lot of nice functionality you get for free. However it has one major gottcha.It wants all you data. I ...

Personalblog with Webwork, Hibernate3, Sitemesh, and Velocity

Sunday, April 24th, 2005

For those interested in comparing Struts vs Webwork, I converted the Struts version of PersonalBlog to Webwork.I didn't pull out the whole bag of tricks. If I did the whole application from scratch, there would of been a few things done differently.  Anyway this should provide a pretty good ...

Why do JSF tools suck so bad?

Wednesday, April 20th, 2005

I tasked myself with a simple project:Namely create a form with a checkbox and textField.When someone clicks on the checkbox, set the textField.text to "Please enter some text". (A fairly simple process to do with javascript directly).I first tried .NET. Within 5-10 minutes, I had a working solution. ...

Proxying spring prototype strangeness

Wednesday, April 6th, 2005

Given this applicalation context and the following test code, buisnessService acts like a prototype and buisnessService2 acts like a singleton(ignoring the singleton=false attribute setting). Both services have singleton set to "false".The difference between the two setups is that bean "buisnessService" has no target properpty set, target is mentioned as last interceptor instead. In ...

Proxying spring prototype strangeness.

Wednesday, March 30th, 2005

Given the code below, buisnessService acts like a prototype and buisnessService2 acts like singleton(ignoring the singleton=false attribute setting). In my tests reuse of buisnessService2 is stateful. It has the values from the previously execution. "buisnessService" is clean everytime I use it(as it should be). The autocreater stuff works fine, but this makes consise / abstract definitions ...

Wow month links work

Saturday, January 22nd, 2005

Yes they do...!

p

Wednesday, January 12th, 2005

post todayds

Some complaints about hibernate 2

Tuesday, November 30th, 2004

After learning hibernate, dealing with and solving all the lazy loading issues and everything involved with learning the product where does the on going pain still occur Let me first start off, by saying ...

Stop polluting code with log.debug and use a debugger(Dammit!)

Thursday, October 21st, 2004

loI have felt this way for a while, but another javablogs post motivated me to re-iterate this feeling.I am tired of developers polluting source code with debug.log statements in place of just using a debugger. I am not saying, don't use logging. But logging shouldn't be used in ...