From the course: Java EE: Application Servers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Payara database configurations
From the course: Java EE: Application Servers
Payara database configurations
- [Instructor] The Hplus IT directors asked if we have configured the Payara server database resources. And so, we're off to our next task. Again, with the Payara Glassfish server started, we're going to add our MySQL database driver to the Payara instance using the CLI. By typing bin/asadmin add-library, and then we're going to go to our downloads, select the database driver, and hit enter. This will prompt us for a username, we'll type admin, and a password. If everything was successful, we should see a command that says add-library executed successfully. Alright, so now let's open back up our browser, then go to the resources, and select JDBC, and then JDBC Connection Pools. You'll notice that on this page, there are a couple of different connection pools already. Keep in mind, these are here for examples, and not meant for production. We'll click on the New buttton, and in the Pool Name, I'm going to put HplusPool. In the Resource Type, I'll select javax.sql.DataSource. For…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Payara versus GlassFish5m 30s
-
(Locked)
Install and configure Payara4m 50s
-
(Locked)
Payara web console5m 39s
-
Deploy WAR files in Payara3m 17s
-
(Locked)
Payara database configurations3m 47s
-
(Locked)
Payara clusters5m 59s
-
(Locked)
Prepare a remote instance8m 26s
-
(Locked)
Configure the remote instance8m 53s
-
(Locked)
Payara pros and cons4m 12s
-
(Locked)
-