Custom annotation with Spring

In client-server application when a client sends a request to server to insert something into database or when server fetches some data from database and set this data to model class, sometimes we need to validate this data against some rules like data of a specific property should not be null or empty, length of … Continue reading Custom annotation with Spring