Java Reference
In-Depth Information
@Stateless
@Log1
@Log
public class
StudentSessionBeanWithoutInterceptor {
//Methods to intercept
}
In parallel to this the annotation permits us to enable the interceptors. In other words,
it saves you from using the
<interceptors>
element in the
bean.xml
file as we
did in the preceding case.