Issues & suggested solutions:
- (1) 126.96.36.199. Use Interceptors with CDI chapter contains a section named Example: Interceptors without CDI
- I believe this example should be removed. We want to introduce CDI and how to use interceptors WITH CDI.
- Besides using non-CDI interceptor with CDI enabled suggests you are asking for a trouble (non-CDI interceptors get picked up as regular beans which is often problematic)
- It is ok to leave the lines before explaining the problem of interceptors without CDI
- (2) sub-chapter Use interceptors with CDI should be promoted one level higher in the hierarchy of the chapters
- E.g. make it bigger, equal to the current size of Example: Interceptors without CDI