Installing GlassFish

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, ...

Get Kotlin for Enterprise Applications using Java EE now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.