Suppose we have a jsp page which has a form whose data should be sent to the server. The form has fields which are directly related to the fields of an entity on the server. An entity is a simple java class which has some fields and their getter and setter methods. Let’s say the entity is a User (which means we have a User class on the server and each field of the jsp form is linked to a field of User class. When we say linked, it simply means that the name attribute of the form element is the same as the nameRead More →

There are scenarios where we want to take some actions before a bean is fully constructed and put into service such as giving a specific name to the bean other than that given in the configuration, setting the application context into a bean property, making a log entry immediately after bean initialization etc.Read More →