January 28, 2019
Spring MVC - How to handle errors from a controller?
In a web application, it is very important to handle errors. Proper error handling would protect the application from several vulnerabiliti...Read Moreby Phee Jay
January 25, 2019
Java - How to find the IP Address of a host in Java ?
In Java, if you are looking to resolve an IP Address from the given hostname, then you can leverage the capabilities provided by InetAddress...Read Moreby Phee Jay
September 02, 2017
Spring - Initializing a Spring Bean
In Spring, it's often necessary to run custom code during a bean's initialization—for example, to validate mandatory properties or ...Read Moreby Phee Jay
August 04, 2017
Groovy - How to Execute Groovy Scripts in Sublime Text?
This article covers the steps to setup Sublime Text to execute Groovy scripts. Read Moreby Phee Jay
August 03, 2017
How to Read Files in Groovy?
This article shows various ways of reading a text file in groovy. Read Moreby Phee Jay
August 01, 2017
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/fai...Read Moreby 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...Read Moreby Phee Jay