Thats the normal process of creating custom tags irrespective of AEM !! XML acts as a definition of the tag and java class is the model to hold the values of those tags.
Refer the below URLs which will give more information on custom tags
Thats the normal process of creating custom tags irrespective of AEM !! XML acts as a definition of the tag and java class is the model to hold the values of those tags.
Refer the below URLs which will give more information on custom tags