Hey
As some of you know I have a couple of test beans that I use for testing
jBoss 2.0. Eventually these will be integrated with the ZOL project, but
for now I have made them available at:
http://www.dreambean.com/download/rickard/jbosstest.zip
Unzip next to your jBoss *CVS* directory. The scripts are set up to
reference jBoss through the name "../jboss/dist/bin/", so anything else
will break. Edit scripts in /bin accordingly to get it to work with
other setups.
Run banktest.bat to start the test. Edit banktest.conf to setup where
jBoss will load beans from, and which tests will be run. The names of
the tests correspond to the method names in the
org.jboss.test.bank.client.Main class. Add/remove as you see fit.
These tests provide a good example of how to construct clients for jBoss
2.0. The JNDI setup is done through jndi.properties, and the client uses
jboss-client.jar in /lib/ext for the jBoss specific classes. This isn't
really necessary as they could be loaded by means of dynamic
classloading just as well, *at least on JDK 1.3*. If JDK 1.2 is used
then the proxy classes need extra permissions (to create the proxy
classes), and hence need to be loaded locally.
Enjoy! :-)
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.ejboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]