Java
-
Spring Security Misconfiguration
I recently saw Mike Wienser’s SpringOne2GX talk about Application Security Pitfalls. It is very informative and worth watching if you…
Read More » -
Builder pattern using Java 8
I work in an environment where a great deal of our day to day scripting tasks occur through calling remote…
Read More » -
Cluster-wide Java/Scala application deployments with Docker, Chef and Amazon OpsWorks
Docker is great for running isolated containers on a single node. However, most software systems run on multiple nodes, so…
Read More » -
Apache Ant tasks for JMX access
I wanted to invoke JMX operations from the Ant tasks. However finding usable ant tasks library as well as the…
Read More » -
Testing with Aliens: How to test a JPA type converter with Arquillian
This post was written together with +Aslak Knutsen (@aslakknutsen). JPA type converters provide an easy way to define how an…
Read More » -
JavaMail can be evil (and force you to restart your app server)
JavaMail always had an interesting approach when it comes to its configuration. Basically you have to fill an untyped map…
Read More » -
Stop Trying to Emulate SQL OFFSET Pagination with Your In-House DB Framework!
I’m pretty sure you’ve gotten it wrong in numerous ways, so far. And you probably won’t get it right any…
Read More » -
Hibernate Debugging – Finding the origin of a Query
It’s not always immediate why and in which part of the program is Hibernate generating a given SQL query, especially…
Read More » -
Creating files and directories in NIO.2
Great number of applications nowadays create files or directories for very wide range of purposes. Whether it is to generate…
Read More »