This category contains 3 posts

JVM Off-heap Caching Libraries

Here’s another gem from Snapdeal Engineering blog : analysis and comparison of different off-heap caching solutions and performs benchmarking for their use-case. The Blog post describes benchmarking & analysis of concurrent hashmap (on-heap) vs EhCache vs MapDb vs Hazlecast vs Apache DirectMemory vs  HugeCollections libraries. The link -> and a snapshot from original post:

Awesome Spring – Superlike @Cacheable @Async and @Scheduled

How many times in last 10 years I have to write code to cache things locally or in distributed cache? How many times did I write code to make heavy-lifting Java methods asynchronous? Probably numerous! Each time with different style for different product!   In years such a boilerplate code becomes just that- a boilerplate […]

Removing JSESSIONID from URLs for Spring Security 3.0+ applications

jsessionid in URLs look annoying, more so in search results. Disabling them from URL is just a configuration in your spring-security.xml file for Spring version 3.0 + : use the disable-url-rewriting=”true” in the security namespace for http tag. the http tag becomes: <security:http auto-config=”false” disable-url-rewriting=”true”> If you are not using http cofiguration and using FilterChainProxy, this […]