The deployment descriptor may be used to augment the interceptors and interceptor methods defined by means of annotations. When the deployment descriptor is used to augment the interceptors specified in annotations, the interceptor methods specified in the deployment descriptor will be invoked after those specified in annotations.
Although it is not anticipated as a typical use case, it is possible for the application developer to combine the use of metadata annotations and deployment descriptors in the design of an application. When such a combination is used, the rules for the use of deployment descriptors as an overriding mechanism apply.
Is there some exceptional condition for callback method plese clarify.
In this case only the order of invocation can be changed.When you have interceptors mentioned in the dd and with annotations all the interceptors will be called.refer to 12.3.1 and 12.4.1 of core spec for detailed description of the order in case of multiple interceptors.It is a sort of union.