Tech and Stuff
-
Cake Pattern in Scala
Last week I started looking into Scala, it’s one of those things that has been on my to-do list for a very long time and but never got to it until now. Looking back, I should have bumped it up the list a long time ago.
-
Configuring Spring MVC Async Threads
Spring MVC Aync is Awesome! The thing I love most about Spring web framework is the abundance of features and flexibility. The ‘callable’ async web request handler that came with Spring MVC 3.2 is one of them. Basically we can return a ‘callable’ wrapping the type you’d normally use – and it’ll auto-magically turn it into an async web call.
-
Cloudant Spring Boot Auto-Configuration
With this starter for SpringBoot, using Cloudant and CouchDB couldn’t be easier! The Github project for Spring Boot auto-configuration binding for Cloudant is available at https://github.com/icha024/cloudant-spring-boot-starter
-
Bluemix Config Parser (Java)
When using Bluemix (CloudFoundry), services configuration are read by parsing the JSON from VCAP_SERVICES environment variable. This is a handy util library for parsing Bluemix VCAP_SERVICES configurations JSON. Common configs classess are provided so it’ll even work with auto-completion on your favorite IDE. No more messy JSON config parsing!