Is it possible to store SQL database in Glassfish Server?
I am currently working with a web service that runs on the Glassfish server, but I am using my localhost / phpmyadmin / to store the databases. Is it possible to store the database in the Glassfish server itself?
+3
Lakshan
source
to share
3 answers
Yes it is possible. Use the Java JDBC Pool and create a connection, then add your local database.
0
benuri_alwis
source
to share
Yes, you can store databases on the Glassfish server yourself in the admin console.
+1
Lakindu gunasekara
source
to share
You can use any RDBMS you want, as long as you provide a jdbc driver to connect to the Glassfish server You have to put the jdbc driver on glass board domains and create a jdbc pool for it
Also, for sql server you have to enable tcp port (default: 1433)
+1
Vahid vakily
source
to share