code: public static void main(String[] args) throws Exception {
  		try (Split ignored = SimonManager.getStopwatch("org.javasimon.examples.jmx.main").start()) {
  			Class.forName("org.h2.Driver");
  			Class.forName("org.javasimon.jdbc4.Driver");
  
  			MonitoredApplication s = new MonitoredApplication();
  			s.setUp();
  
  			Connection conn = null;
  			try {
  				conn = DriverManager.getConnection("jdbc:simon:h2:mem:db1");
  
  				//noinspection UnusedDeclaration
  				try (Split ops = SimonManager.getStopwatch("org.javasimon.examples.jmx.sql").start()) {
  					s.doInsert(conn);
  					s.doSelect(conn);
  				}
  			} finally {
  				if (conn != null) {
  					conn.close();
  				}
  			}
  		}
  
  		System.out.println("Simon monitor hierarchy:\n" + SimonUtils.simonTreeString(SimonManager.getRootSimon()));
  
  		register();
  		waitForEnterPressed();
  		unregister();
  	}
docs: Entry point of the example application.
  
  @param args command line arguments
  @throws Exception sometimes bad things can happen