I am new to Jolokia.
I had one requirement where I already have one WAR running in my tomcat, and inside that I want to embed Jolokia's Agent jar.
I referred following solution: Link to Embed Jolokia WAR into another WAR
But I cannot get any examples of How to use AgentServlet with Jolokia's Client and MBeanServer.
I want to know how I can access attributes/operations in my MBeans with the help of AgentServlet.
If anyone could provide an example or tutorial would be of great help.
P.S.: I am not looking for SpringBoot related solutions, as some of the applications where we will integrate this do not use SpringBoot.