[Not sure which forum to use - sorry if there is a better one]

I'm developing an EJB application to run under JBoss and I'm trying to make it work 
'out of the box' - with minimum end user effort.

Included in my system is the generation of some entity beans, and unit tests (JunitEE) 
which tests these beans.

These unit tests need to run on a database with no data (the tests clear out tables 
for each tested entity). The application needs to run with an 'operational' database, 
the data being retained.

The question is 'What is the *minimum* way to set up and configure JBoss and my 
application to allow my unit tests to run with an alternative database to that of the 
real application?'. I am using the built in HSQL.

To summarise - Ideally the user downloads JBoss, installs my app (.ear), runs unit 
tests, then runs application with the minimum of modifications to the JBoss 
installation. Repeating the unit tests does not modify the test database.

Any ideas appreciated.

Ian Hunter






View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823299#3823299

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823299


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to