(This article is translated by https://glassfishzugins.dev.java.net/eclipse33/index.html.Article)
First download eclipse 3.3, eclipse 3.3 Jee
Http://www.eclipse.org/downloads/
After installing the IDE, start it.
Go to open perspective, select javaee, There are shortcut keys in the upper right corner of eclipse |
|
In the servers section, create a server |
|
Click Download addtional server adapters (if there is a firewall, make sure you have Security Proxy ). |
|
|
|
Next, select glassfish Java ee 5 Server |
|
Needless to say here |
|
Start download |
|
After the download is complete, you must restart eclipse |
|
After restarting, you will see a new glassfish project. |
|
Select a VX and you want to use it as your server. |
|
Manually set the installation path for glassfish If you have not installed glassfish, go to the next Https://glassfish.dev.java.net/downloads/v2-b41d.html |
|
Next, set some basic attributes. |
|
Now you can click the server you set in servers to start it. |
|
Once started successfully, the State column is displayed as "started ". |
|
If you want to view the server startup log, you can switch to the console |
|
Then, you can create a Jee web application.ProgramYou can select dynanic WEB Project |
|
Enter the project name and make the appropriate selection, as shown in the right figure. |
|
Next, you want to continue setting up some items, if or if you want to publish with sub-web.xml by default, make sure you have selected the information shown on the right |
|
Next, it should be easier. |
|
|
|
Set the run on server wizard |
|
The Web application has been released. You can view the release details on the console. |
|
You can also debug the program |
|
you can set a breakpoint on the JSP page. It is estimated that this previously exists only in netbeans. |
|