-
Groovy
Logging Hibernate SQL
There are two well-known ways to log Hibernate SQL in Grails; one is to add logSql = true in DataSource.groovy…
Read More » -
Enterprise Java
Introduction to PostgreSQL PL/java
Modern databases allow stored procedures to be written in a variety of languages. One commonly implemented language is java.N.B., this…
Read More » -
Software Development
What is HMAC Authentication and why is it useful?
To start with a little background, then I will outline the options for authentication of HTTP based server APIs with…
Read More » -
Core Java
Investigating Deadlocks – Part 1
I’m sure we’ve all been there: it’s late, you’re hungry, your server has hung or your application’s running at snail’s…
Read More » -
Core Java
Locking with a semaphore : An example
Concurrency is one aspect that brings along interesting challenges along with it. If not correctly handled, it brings about race…
Read More » -
Enterprise Java
Sending Event Invitations With Seam
These days one of my colleagues had problems with sending event invitation using mail templates with seam (version 2.x). In…
Read More » -
Core Java
Compact Off-Heap Structures/Tuples In Java
In my last post I detailed the implications of the access patterns your code takes to main memory. Since then…
Read More » -
Software Development
Should you care about Conway’s Law?
Conway’s Law says that “organizations which design systems (in the broad sense used here) are constrained to produce designs which…
Read More » -
Core Java
Eclipse refactoring on steroids
In my last post about common Java violations, I listed a set of mistakes that java developers tend to make.…
Read More »