Now my colleagues are working on a registration subsystem, and they want to link the individual operations that were initiated using some business method. For example, if a method from bean A calls a method in bean B and then in bean C, it will be useful to know what business methods are in bean B and bean C, some employees for the method from bean A. It will be especially good to know that the methods from B and C did some unit of work for a particular call to bean A.
So, the question is how to relate these units of work to something in common? Obviously, itβs nice to use method arguments to bind!
And also I think that the time has come to ask another question, which is close enough to the previous one. What if I want to distribute some contextual information from bean A to other beans called from A? Something like a security credential and a security principal? What can I do? Maybe the questions I asked are some bad practice?
source share