Core Java


Creating Custom Annotation for validating Domain object’s field value


Today, I am going to show you a very interesting thing. That is, creating custom annotations and processing them using reflection. We will first create an annotations for fields that will be used to check if the field is null or not.

Creating annotation

Following is the code to create a new More >


Manage Property file in Java


In Java, property files has very important role to implement flexible applications that can be configured at run time without rebuilding the application. Today, we will see how to manage property files to read key value pairs or to write key values pairs and also to walk through all properties even More >


Creating Object using Reflection in Java


Reflection in Java is the mother of all modern frameworks that we see now a day in the world of Java Development. So, I would like to start up this tutorial side with the tutorial of Java Reflection.

In this tutorial, we will learn how to create instance of a class at run time using More >

Go to Top