Link to home
Start Free TrialLog in
Avatar of Fionageo80
Fionageo80

asked on

is recommended to use DBunit test inside JBoss and run it as app Server?

Hello:

I have created a DBunit test now this DBunit must be run as an AppServer.  In this case I have to use JBoss, this AppServer will be a module of the main program. At the moment is a stand-alone application. My question is:

would be still appropriated to use this DBunit test now as AppServer? or I should send the SQL statements and check it programmatically without using Database Test Cases?

is there any change to reuse or to implement this DBunit inside JBoss without rewritting everything? How?

Thank you for your help.

ASKER CERTIFIED SOLUTION
Avatar of Gibu George
Gibu George
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
DB unit is not intended for a deployed application, also I am not sure how you will be able to run dbunit on server
Avatar of Fionageo80
Fionageo80

ASKER

Ok, thank you for the quick reply. In fact, I have to create a Functionality test for a Database as Application Server that will be a module of the main program this test has to execute without automatically a bunch of queries (and check if the result is the expected) whenever the AppServer is executed.

Before I used DBunit but now I am looking for a solution to make the test to the Database but now as AppServer.