Java
-

Maven best practices
Although Maven offers a “convention over configuration” solution, there is still more then enough configuration necessary to cause some serious…
Read More » -

JBoss AS 7: Custom Login Modules
JBoss AS 7 is neat but the documentation is still quite lacking (and error messages not as useful as they…
Read More » -

Servlet Basic Auth in an OSGi environment
You will first need to get a reference to the OSGI HTTP Service. You can do this through a declarative…
Read More » -

Preventing CSRF in Java web apps
Cross-site request forgery attacks (CSRF) are very common in web applications and can cause significant harm if allowed. If you…
Read More » -

Top 5 Reasons for Not Using JavaDoc in the Next Project
JavaDoc is an absolutely must for the development of frameworks and libraries which provide a public interface for others, e.g.…
Read More » -

Rube Goldberg Spring Integration
Spring Integration provides a very nice abstraction over some complexities involved with Integrating systems together – Spring Integration fits the…
Read More » -

Odd practices in Java
Overview There are a number of practices in Java which oddly baffle me. Here are but a few. Using -Xmx…
Read More » -

Tracking excessive garbage collection in Hotspot JVM
Quite frequently due to memory leaks or other memory problems applications freeze leaving only the garbage collector (GC) process running…
Read More » -

A Simple Introduction to AOP
Why use AOP, a simple way to answer this question is to show an implementation of a cross cutting concern…
Read More »






