All,
As you know we are currently using the JMX RI HTML adaptor so that one
can browse to jBoss and administer it through a web interface. While it
is better than nothing, there are a couple of problems with it:
* It is only generated, so not very good interface
* We don't have the source so we can't change it
* The license doesn't really permit redistribution like we do
So, the best way to get around this is to make a new web administration
tool.
I have now created the foundation for such a tool, called (simply)
"Console". :-) It is a pluggable web admin tool, where the emphasis on
the plugins is to have ones that are specific for each service, i.e. no
autogenerated stuff. To make it easy to develop such plugins I have used
the WebWork web app framework (although this is not a requirement for
the plugins, just a recommendation).
The current version of Console comes with two plugins: one to administer
the JNDI service, and one to get an overview of all the services and
start/stop them. This should give you an idea of how plugins should look
like, both JSP and codewise. Look at
"org.jboss.console.action.plugin.JNDI" and ".Services" for examples on
how to code plugins. Also look in /resource/web/jndi.jsp for an example
plugin viewer.
If you make more plugins, they are added to the Console by editing the
properties file /WEB-INF/classes/plugins.properties (which contains
simple name->action mappings).
Ok, so here's the download:
http://www.dreambean.com/download/rickard/Console-0.1.zip
Install by placing console_0.1.ear in jBoss' /deploy directory. Surf to
"localhost:8080/console" to use. (I know it looks ugly as hell, but hey,
it works).
If anyone is interested in working on making this tool complete (add
plugins, security, better look&feel) let me know!
regards,
Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com