-
Enterprise Java
Getting Started With Spring’s MVC Test Framework – Part 2
The first blog in this mini-series introduced the Spring MVC Test Framework and demonstrated its use in unit testing Spring MVC…
Read More » -
Enterprise Java
JPA 2 | Fetch Joins and whether we should use them
Introduction Recently I have been working with FETCH JOINS in JPA 2 to fetch the data eagerly from the Database…
Read More » -
Core Java
Java Garbage Collection Distilled
Serial, Parallel, Concurrent, CMS, G1, Young Gen, New Gen, Old Gen, Perm Gen, Eden, Tenured, Survivor Spaces, Safepoints, and the…
Read More » -
Groovy
Enhanced Groovy-based JAR/Manifest Diff Tool
This brief blog post provides another Groovy script that provides simple differencing of two JAR (or WAR or EAR) files…
Read More » -
Enterprise Java
Spring @Bean and PropertyPlaceHolderConfigurer
I was recently stumped by what I thought was going to be a fairly straightforward implementation – Consider the following…
Read More » -
Scala
Fake system clock pattern in Scala with implicit parameters
Fake system clock is a design pattern addressing testability issues of programs heavily relying on system time. If business logic…
Read More » -
DevOps
MongoDB Pro Tip: Field Projections
Did you ever learn that select * from table in RDBMS-land is bad? Of course, you did! If you’re only…
Read More » -
DevOps
MongoDB Geo-Spatial Mobile Demo
Mongo: noun (pl mongo or mongos) – a monetary unit of Mongolia. Equal to one hundredth of a tugrik. Origin…
Read More » -
Core Java
Java’s Reflection API
If you have ever asked yourself questions like these: – “How do I invoke a method, having only it’s name…
Read More »