A
A
Alexey Kopendakov2018-02-04 21:49:16
MySQL
Alexey Kopendakov, 2018-02-04 21:49:16

Where is it correct to connect the database to the java ee project when using wildfly?

Where is it "more correct" to connect the database to the project?
Directly in the wildfly server itself? or in the app?
If on the server, then how in this case it will be possible to run tests that should check the work with the database?
And if in the application, then tell me how? No matter how I struggled, I could connect to the database from the application only when manually setting the database through the wildfly admin panel.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question