It would be very interesting if I can list the available drivers in a Glassfish
domain. This could allow my installation script to detect in advance if the
driver required by an application is available or not.
It also can be integrated in the Admin GUI, and during the deployment of an
application the GUI can show a Warning to the user about a missed JDBC driver.
In my opinion, the listing of all available resources should be available
through CLI and Admin GUI. The automatic deployment for testing or production is
a common practice and Glassfish should support the automatic build scripts as
best it can. A Hudson server, for example, is blind about the GF resources and
it may deploy application that will not work properly in the absence of a
resource, but today there is nothing Hudson can do to warn the developers about
that - specially when the server is upgraded and someone forget to install the
drivers required by the applications.