The GlassFish server can be downloaded using the following URL: https://javaee.github.io/glassfish/download.
The following screenshot shows the main screen:
Select GlassFish 5.0 - Full Platform and download it. Once it is downloaded, unzip the file and go to the glassfish-5.0\glassfish5\glassfish\bin directory. Start the server using startserv. This will bring up the GlassFish server on its default port, 4848. In the browser, head over to http://localhost:4848/. This URL takes us to the GlassFish server console. This is shown in the following screenshot:
Now, we need to create the resources for messaging. By default, ...