I'm busy looking at JMX and adding it to all applications. Is it possible to have JMX support without having to open a port or having a single port shared between multiple applications? It seems JMX was designed with application servers in mind, we're using lots and lots of micro-jars which means we'll need to manage lots of ports for each individual jar - if there are 20 application jars running, that means 20 ports we need to open for JMX if I understand that correctly.
Alternatively, is there a way to push JMX stats to an external server instead of opening a port or exposing an HTTP interface per application?