RMI Plug-in for Eclipse
|
||||||||||||||||||||||||||||||||||||||
|
The RMI Spy will show you what's really happening inside your RMI application and it complements the Registry Inspector that displays information about the objects in the registry. In particular the RMI Spy can:
(Features marked by "*" require JDK 1.5.0) About the RMI SpyAs you can see, the RMI Spy is a very useful feature when debugging Java RMI applications. In it's simplest use the RMI Spy records all loggable RMI activity of a Java application and displays it in the RMI Spy view. For each RMI event it can show its complete context, including the timestamp, thread name and a complete stack trace of the event. The RMI Spy is implemented using local TCP/IP communication with the RMI application and a small piece of the RMI Plug-in code runs inside your java application and communicates with the Eclipse IDE. This little piece of code is mostly harmless, but it can affect your application in certain ways. The following page details all possible side effects of using the RMI Spy. Using the RMI Spy
Switching between processesWhen you're using the "Debug" perspective, the RMI Spy view will display information according to the process that is selected in the "Debug" view. You can also use the view menu (the spy icon) to display spy information about a particular process. When the process is removed from the "Debug" view, it's spy information is also removed. System eventsSome events in the RMI system are related to a system-level activity, such as the distributed garbage collector (DGC), loading system classes, etc. These events are usually not very interesting from the developer's perspective and by default they filtered out. To change the filtering setting, open the filtering dialog box (by pressing the button on the view's toolbar):
The events counters (on the bottom of the view) will tell you how many events are actually shown out of how many events (incl. system events) there were recorded. |
|||||||||||||||||||||||||||||||||||||
© 2002-18 Genady Beryozkin, rmi-info@genady.net. Read our Privacy policy. Hosted on RimuHosting. Visit Javalobby. |