Pure-Essence.Net

Archive for March 2011

Dynamically invoke methods using spring config

Posted by: pureessence on: March 25, 2011

A business rule at work requires some flexible configurations. I attempted to fulfill the need by create different spring batch steps/tasklets to execute each requirement based on a property value. For example, step 1 will need to execute methodOne on the class Repository with the appropriate parameters. The method signature & parameters are determined by [...]

AT&T rethink possible…to still use your service

Posted by: pureessence on: March 24, 2011

Tried to add a new line with AT&T was almost impossible. Got the new phone today and trying to activate it was unusually painful. Their online activation gave the error: ACT015: We cannot process your request at this moment due to insufficient data. Please contact Customer Care at 1-800-331-0500. On the phone with the first [...]

How to execute IN() SQL in spring jdbcTemplate

Posted by: pureessence on: March 16, 2011

So for a long time, I wondered how you’d do the sql IN() using spring jdbcTemplate. Today I had an opportunity to work it out. Normally I used It’s not too friendly if you do If you wish to use the “where in” sql, there is a pretty elegant way to do it in spring [...]

Use modal windows for delete confirmations please

Posted by: pureessence on: March 1, 2011

While reviewing an existing project at work, I notice it has many delete confirmation pages. In my opinion, delete confirmation PAGES should really just retire from the face of the earth. Seriously, why do we need to create a http request & html for the mere purpose of asking “Are you sure you wish to [...]


My most adorable Pomeranians

Categories

Archives

SocialVibe


Follow

Get every new post delivered to your Inbox.