Installing the CourseManagement EJB application in the EC2 instance

In Chapter 7, Creating JEE Applications with EJB, we developed an EJB application for CourseManagement. We will see how to deploy this application in the EC2 instance that we created in the previous section. We will need to install GlassFish 5 and MySQL server in the instance. Although you can install these servers on separate instances (which is recommended for a production setup), we are going to install both of them in the same instance so that we can reduce the number of steps for creating a new instance. Let’s start by installing the GlassFish 5 Server.

Get Java EE 8 Development with Eclipse 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.