Before monitoring Glassfish Server, it should be configured for this purpose. In admin service, you should edit jmx connector settings properly. For detailed explanation, please visit this link . When the editing is done, it is time to code. First, connection to jmx service should be established. However, to achieve this, JMX java library is required. Oracle doesn't provide this library in any other languages, therefore we are forced to take this action in java. Fortunately, in python, with the help of jpype library, we can open a jvm and use the library. Jython is another option to use java libraries in python environment. For this tutorial, we will use jpype, so it is better to quickly install it.
Development of cutting-edge technologies