Java
-
Package your classes by Feature and not by Layers
Most of the enterprise Java applications share some similarities in their design. Mostly the packaging of these applications are driven…
Read More » -
Spring MVC + Hibernate + Maven: CRUD operations example
In this article I want to examine an example of Spring MVC + Hibernate + Maven usage. This set of…
Read More » -
Understanding Dynamic Proxy: Spring AOP Basics
Why AOP : To Understand AOP(Aspect Oriented Programming), we need to understand Cross Cutting Concerns in software development . In…
Read More » -
Google Guava Cache with regular expression patterns
Quite recently I’ve seen a nice presentation about Google Guava and we came to the conclusion in our project that…
Read More » -
Hamcrest Matchers, Guava Predicate and Builder design pattern
Often, while coding we have to deal with some POJO objects that have dozens of fields in them. Many times…
Read More » -
Infamous Java bugs and pitfalls
In year 2000, I was in university and was on the verge of picking a language to build my career…
Read More » -
Spring MVC Form Tutorial
This tutorial will show how to handle a form submission in Spring MVC. We will define a controller to handle…
Read More » -
HotSpot GC Thread CPU footprint on Linux
The following question will test your knowledge on garbage collection and high CPU troubleshooting for Java applications running on Linux…
Read More » -
SiftingAppender: logging different threads to different log files
One novel feature of Logback is SiftingAppender (JavaDoc). In short it’s a proxy appender that creates one child appender per…
Read More »