zarar's blog
Integrating EclipseLink with EhCache to cache ReadAll and Native Queries
The problem at hand is that EclipseLink (great project lead by James Sutherland) does not use a query cache when dealing with ReadAll queries, i.e: all calls to getResultList() go to the database.
Are JSPs dead?
That’s supposed to be a rhetorical question, of course they’re dead. They died a long time ago when it dawned on us that they were nothing but untestable, overweight slobs that only ever existed because of ASP. Anybody who ever used JSPs has at some point, sworn by them, marveled at how great they are and felt really, really excited to write actual Java code inside pages.
A look back at The ServerSide Java Symposium 2007
Sure there was fluff, fluff is everywhere and TSS Java Symposium was no different. But in the end there were more code examples than SOA hand-waving and even when the so-called SOA gurus went about trying to sell you stuff, they usually backed it up (or at least tried to) with some kind of a demo which would translate through to the lowest common developer.
JavaOne vs. TSS Java Symposium
The people I work for have rewarded my countless hours of hard labor by approving my application to go to TheServerSide.com's Java Symposium. This comes a year after I attended JavaOne in San Francisco. So why did I choose TSS Java Symposium over Java One? I'm sure you give a rats ass about my opinion but here it comes anyways.
JavaOne is too big: It's f***ing huge!
The pain of migrating from Ant to Maven
So you want to migrate to Maven because somebody told you it's the greatest build system around?
The shock of seeing your password in clear text
A sick feeling encompasses my soul, a wretched sickness comes over me as I sit there staring at this violation of even the simplest of courtesies. I examine it closely and sure enough, it is there, in clear text mocking me, laughing at me, just as I had typed it - letter for letter, digit for digit. No sense of regard showed on the part of the offender, in this case XDoclet's JIRA.
Passing arbitrary data between JSP pages and SiteMesh decorators
I try not to complain about lack of documentation. So in this blog entry, I'll show how simple it is to pass in arbitrary data from JSP pages to SiteMesh decorators.
Sneaky, sneaky Log4J
So I found myself wanting to know if I could print the enclosing method of the current line of code being executed. A quick look at the reflection API didn't yield much. A little reflective thinking later, I came to the conclusion that it's impossible for the reflection API to tell me this since it explores binary files at the class level.
Developer thinks he'll make a better PM
Although I've been a core developer for a significant part of my career, I do often come in contact with the business-types who drone on about requirements while the eager-to-please IT shop keeps saying yes to even the most unfathomable requests.





