A modern JMX web console
- Zero third-party dependencies
- Basic Web UI
- Simple REST interface (CORS enabled)
- Auto-refresh with display of value deltas
- Invoking operations and setting attributes
- (fix) core/ui: properly map NaN and infinity values to null in JSON
- Initial public release
- Adapters for all major web frameworks
- Authentication
Refer to the samples directory for detailed usage examples.
Download the standalone WAR file and drop it inside your application server.
Maven
<dependency>
<groupId>org.woelker.jimix</groupId>
<artifactId>jimix-servlet</artifactId>
<version>2.1.1</version>
</dependency>
web.xml
<servlet>
<servlet-name>jimix</servlet-name>
<servlet-class>org.woelker.jimix.servlet.JimixServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>jimix</servlet-name>
<url-pattern>/jimix/*</url-pattern>
</servlet-mapping>
Maven
<dependency>
<groupId>org.woelker.jimix</groupId>
<artifactId>jimix-servlet</artifactId>
<version>2.1.1</version>
</dependency>
Spring Boot Application
@Bean
public ServletRegistrationBean jimixServletRegistration() {
ServletRegistrationBean registration = new ServletRegistrationBean(new JimixServlet());
registration.setUrlMappings(Collections.singletonList("/jimix/*"));
return registration;
}
Maven
<dependency>
<groupId>org.woelker.jimix</groupId>
<artifactId>jimix-servlet</artifactId>
<version>2.1.1</version>
</dependency>
Jetty
Server server = new Server(8080);
ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
context.setContextPath("/");
server.setHandler(context);
context.addServlet(new ServletHolder(new JimixServlet()), "/jimix/*");
server.start();
server.join();
Maven
<dependency>
<groupId>org.woelker.jimix</groupId>
<artifactId>jimix-dropwizard</artifactId>
<version>2.1.1</version>
</dependency>
Dropwizard
@Override
public void initialize(Bootstrap<Configuration> bootstrap) {
bootstrap.addBundle(new JimixBundle());
}
Maven
<dependency>
<groupId>org.woelker.jimix</groupId>
<artifactId>jimix-vertx</artifactId>
<version>2.1.1</version>
</dependency>
Vert.x
Vertx vertx = new DefaultVertx();
HttpServer server = vertx.createHttpServer();
RouteMatcher routeMatcher = new RouteMatcher();
routeMatcher.allWithRegEx("/jimix(.*)", new JimixVertxHandler());
server.requestHandler(routeMatcher).listen(8080, "localhost");