05 Aug 2016
Spring with annotations has made asynchronous processing much more easier to handle. You can make any methods to behave asynchronously just by annotating it with @Async. Read ahead to know more about this.
14 Jul 2016
Testing Java service classes might get a little tricky if they use application properties which are injected via Spring. Creating separate test-properties file for such tests is expensive if it has only one or two properties in it. In such situations, it could be helpful to use the below described approach.
04 Jul 2016
The Google core library for Java called Guava provides lot of ready made features for Java developers. One such feature is the caching Data Structure using CacheBuilder. We should consider using caches when a value is expensive to compute or when it is needed more than once.
29 Jun 2016
Configuring and sending emails in java has become a lot more easier with the support of Spring Boot. Now you can send emails in your application with very little configuration and development time.
27 Jun 2016
It is often very convinient if we could adjust the spring boot profiles from an external tool like maven. This might come handy when we want to easily activate profiles during the maven build without the need for editing the boot properties file manually.