geeky · java

Dynamically invoke methods using spring config

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… Continue reading Dynamically invoke methods using spring config

personal · rants

AT&T rethink possible…to still use your service

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… Continue reading AT&T rethink possible…to still use your service

geeky · java

How to execute IN() SQL in spring jdbcTemplate

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… Continue reading How to execute IN() SQL in spring jdbcTemplate

geeky · non php code

Use modal windows for delete confirmations please

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… Continue reading Use modal windows for delete confirmations please