August 01, 2017

JS - How to Create Web Notifications
Web Notifications provide ways for websites to display notifications to users e.g. alerting the user about a business event or success/failure of an asynchronous operation. Read More
by
Phee Jay
July 12, 2017

Spring - Lookup Method or Method Injection
Most common injection mechanisms used in Spring are Constructor and Property injections. In both the mechanisms, the injection happens only once during the initialization of the Bean. They also require a concrete method defined, e.g., a constructor method for constructor injections and a setter method for property injection. Read More
by
Phee Jay
April 28, 2017

Spring - How to Create Custom Namespaces and Handlers in Spring
Custom namespaces in spring are a way to replace the complex bean definitions with a more user-friendly configuration. Spring itself provides several namespaces out of the box. e.g. Read More
by
Phee Jay
April 13, 2017

Spring - Localization with Spring
Localization enables applications to cater to users of different locations and languages. Spring, as usual, has support for this aspect as well. Before jumping into what Spring has to offer, let's explore what we get from Java itself. Read More
by
Phee Jay
March 29, 2017

Spring Boot - How to Create a Deployable War
Spring boot , by default, enables you to create standalone applications through simple, minimal configurations. And due to its self-contained nature, it naturally enables building microservices. Spring starters are poms (if using maven) that Read More
by
Phee Jay
March 09, 2017

Spring Cache - Part 5 - CacheEvict
In the Spring Cache series so far ( Part1 , Part2 , Part3 , Part4 ), we have seen examples where the data is getting added to the cache through the use of @Cacheable and @CachePut . But, what about removing data from cache? Consider a call to delete the record from Service or DB, in which case, we would also want to delete that record from the cache. Read More
by
Phee Jay
March 04, 2017

Java - Deep Copy Java Objects through Serialization
When it comes to deep copy or cloning an object, the first thing that comes to mind is to override the clone() method and set each field manually. This can be pretty cumbersome to implement for complex objects or if you have to do this for a lot of them. Read More
by
Phee Jay