February 11, 2019

Post Image

Groovy - What is Memoization?

Learn about memoization in Groovy, a powerful technique to optimize performance by caching function results. Understand how it works, its benefits, and how to implement memoization effectively to reduce redundant computations in your applications. Read More
by Phee Jay

February 01, 2019

Post Image

Groovy - How to read and write to excel sheets with Groovy?

Scriptom provides a simple COM library for Groovy. It is a Groovy wrapper around JACOB (Java COM Bridge) which provides access to COM Automation components. Scriptom can be used to work with MS Office tools, Internet Explorer or any other Microsoft Windows COM based components. In this article, you will use Scriptom to read and write to excel files. Read More
by Phee Jay

January 28, 2019

Post Image

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 vulnerabilities, including Security Misconfiguration . In this post, you will see how you can handle exceptions that arise out of a Spring MVC based application. Read More
by Phee Jay

January 25, 2019

Post Image

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 . It belongs to the "java.net" package and provides various utilities related to resolving addresses and IPs. Read More
by Phee Jay