In this tutorial we will learn on how to add new web servers to Eclipse. The web server to be added is GlassFish. Make sure the computer used to complete this task is connected to the Internet with acceptable speed. Firstly, launch Eclipse IDE. Click Window menu > select Show View sub menu > select Servers.
|
Or, right click mouse anywhere in the Servers page > select New menu > select Server sub menu.
Next, in New Server page, notice in the middle box which list the available servers. We are going to download Glassfish server which is not in the list. Type the Server’s host name (if needed). In this case we are using 'localhost'. Then, click the Download additional server adapters link.
The Install New Extension wizard will begin, searching available server adapters which are available from the update servers.
Next, from the list of available server adapter, select Glassfish server and click Next.
The download requirements and dependencies process will begin.
--------------------------------------------------------------------------------------
After the download requirement and dependencies process completed, click Next.
Accept the license agreement and click Finish.
Click OK for the server adapter download confirmation prompt window.
The Glassfish download and installation will begin. Click Details for the details process.
The task can be set to be done at the background by clicking the Run in Background button.
Finally, restart Eclipse in order the new downloaded and installed Glassfish server take effect.
Now, in the New Server page, Glassfish server will be visible in the list of the available servers that are associated to Eclipse and ready to be used.