Posts Tagged ‘ java ’

Unit Testing Spring-Hibernate Code with HSQLDB

Aug 6th, 2013 | By | Category: code snippets, design, Featured, j2ee, java

Recently, we used hibernate extensively in a Spring based ¬†Java application to connect to an Oracle DB. For unit testing, we decided that we should connect to HSQLDB so we can test out the usage of hibernate in a more portable manner. I scoured the web for snippets of code to achieve this. Finally, I […]



Ecommerce & Java

Aug 24th, 2011 | By | Category: Featured, java

I recently spoke at a Java conference in Bangalore where we discussed Java and E-commerce. This is becoming important with the advent of major e-commerce re-platforming efforts in some significantly large organizations. I am enclosing the deck that I had used in the meeting here. Ecommerce & Java Take a look!



Multi Column Sorting in Java

Feb 21st, 2008 | By | Category: java

¬† Link to code. Java provides a reasonable API for sorting. The Collections.sort() static method which has been modelled from C++ STL caters to a decent cross-section of sorting requirements. This accepts a list of objects and sorts them. To summarize what is provided by the sorting API in java, there are two variants of […]



Asynchronous Execution Wrapper

Feb 10th, 2008 | By | Category: design, java, optimization
This entry is part 8 of 9 in the series optimization

This entry is part 8 of 9 in the series optimizationWith the advent of Java 5 , asynchronous execution has become an easy thing to code. One has to be just grab hold of an ExecutorService from the java.util.concurrent library and start passing it a runnable. The only problem with this is that our class […]



Java & Performance

Feb 8th, 2008 | By | Category: design, java, optimization
This entry is part 2 of 9 in the series optimization

This entry is part 2 of 9 in the series optimizationI attended a No Fluff Just Stuff conference held at Newark,NJ in August 2006. This post is a condensation of what Brian Goetz mentioned in the course. One of the topics that was presented out there was about Java and performance. That seemed odd since […]