Java
-
When using direct memory can be faster
Overview Using direct memory is no guarantee of improving performance. Given it adds complexity, it should be avoided unless you…
Read More » -
Forcing Tomcat to log through SLF4J/Logback
So you have your executable web application in JAR with bundled Tomcat (make sure to read that one first). However…
Read More » -
Event streaming with MongoDB
MongoDB is a really great “NoSQL” database, with a very wide range of applications. In one project that we are…
Read More » -
Type-safe Empty Collections in Java
I have blogged before on the utility of the Java Collections class and have specifically blogged on Using Collections Methods…
Read More » -
How cool is integration testing with Spring and Hibernate
I am guilty of not writing integration testing (At least for database related transactions) up until now. So in order…
Read More » -
Working Efficiently with JUnit in Eclipse
Recently I was dragged into a discussion1 with some test infected2 fellows about how we use JUnit within the Eclipse…
Read More » -
Google Guava EventBus for Event Programming
It’s a given in any software application there are objects that need to share information in order to get work…
Read More » -
SQL Injection in Java Application
In this post we will discuss what is an SQL Injection attack. and how its may affect any web application its…
Read More » -
Guava’s Collections2: Filtering and Transforming Java Collections
One of the conveniences of Groovy is the ability to easily perform filtering and transformation operations on collections via Groovy’s…
Read More »