Running the example

Before we can run the example, we need to start the GlassFish Server and deploy our JEE application in it:

  1. Start the GlassFish Server.
  2. Once it is started, right-click on the GlassFish Server in the Servers view and select the Add and Remove... menu option:
Figure 7.23: Adding a project to GlassFish for deployment
  1. Select the EAR project and click on the Add button. Then, click Finish. The selected EAR application will be deployed in the server:
Figure 7.24: Application deployed in GlassFish
  1. To run the JSF page, course.xhtml ...

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.