I learned that one can only write to java:global into jndi (https://developer.jboss.org/thread/237120).
This works from a JSP: context.rebind("java:global/hello", "hello");
But from a JMX bean on gets UnsupportedOperationException: WFLYNAM0043: Naming context is read-only
Is there a place in JNDI a JMX bean can write to?
Retrieving data ...