Originally Posted by
Whitescars
Assume a daemon java application and does a lot of things. (Lets say it is a web crawler). I want to monitor this application, i mean the status of the application like how many pages are saved, what is the progress, what about jvm stats (like memory usage, disk usage etc). Beside i also want to make some changes on configuration on the fly (i mean no restart of application). All those monitoring and configuration changes should be done via web interface.
So, according to what i have found on google, i need JMX, Jetty or Tomcat and set the system up.
First, one clarification. JMX has, by itself, nothing to do with Jetty/Tomcat or in general with "application servers". If your application is a Java EE application (uses Web Components, that are JSPs/Servlets and/or EJB or other Java EE API), then it's obviously necessary to use a servlet container or (at least for EJB) a full Java EE application server.
Originally Posted by
Whitescars
Can you guys give me idea how to achieve this goals, maybe a tutorial or book etc.
The basic official tutorial should be sufficient to start with JMX:
Trail: Java Management Extensions (JMX) (The Java™ Tutorials)