资 源 简 介
Overview
This simple webapp is intended to be used in a J2EE/Java EE container, in order to test DataSource objects available in a JNDI context.
It allows one to type a JNDI name and a SQL SELECT query and outputs the result in a tabular form.
Installation
Simply deploy the WAR archive (available in the downloads section) to your J2EE container / application server. It should work out of the box.
For example, on JBoss, you just need to copy the DataSourceTester-0.0.1-SNAPSHOT.war file to $JBOSS_HOME/server/default/deploy/ and the application will become available on http://yourserveraddress.example.com/DataSourceTester-0.0.1-SNAPSHOT/
Usage
After opening the main web page, you"ll see a web form with two text fields labeled DataSource JNDI name and Test query text. After you fill them in, press the Test DataSource button. If th