I'm spending sometime with DynaTrace. I'm impressed by its feature related to cross jvm instrumentation. In simple words, DynaTrace is able to instrument Java code creating trace with some statistical information. This is nothing new. There is a feature really interesting: when a call to an external JVM is execute, DynaTrace is able to link this new trace to the caller one (i.e. remote session bean, web services, remote RMI and so on). How could it be possible? I'm not able to immagine how to implement this feature? Any ideas?
Thank you
This information is normally extracted using MXBeans. Such beans provide a standard API for accessing standard runtime information. Similarly, such applications often scan the class loaders for specific classes and extract relevant information by hard-coded access. This is why less popular solutions are often not supported by monitoring tools.