Second pitfall (with AOP)

We will learn AOP in detail in the following chapter. Right now, we are not covering this pitfall in detail. I just want you to understand that if you have Aspect on a bean, then make sure there is no circular dependency between beans; otherwise, Spring will create two instances of that bean, one without Aspect and the other with a proper aspect, without informing you.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset