NetBeans IDE 5.5 is an integrated development environment to create, deploy, and software Java EE web applications. This section describes how to use the NetBeans IDE 5.5 to create and deploy the web applications for Sun Java System Web Server 7.0.
Download NetBeans IDE 5.5 from http://webserver.netbeans.org and install it.
After installation, launch the NetBeans IDE 5.5.
Download the latest plug-in.
Extract the org-netbeans-modules-j2ee-sun-ws7.nbm file.
Select Update Center of NetBeans, from the Tools menu.
Select Install Manually Downloaded Modules (.nbm Files) and click Next.
Add the downloaded .nbm files and click Next.
Select Sun Java System Web Server 7.0 and click Next.
Select the Include option and click Yes to install the plug-in.
The Web Server 7.0 plug-in is installed in the IDE.
Start the NetBeans.
Select Server node in the Runtime tab. Press mouse button and choose Add Server from the popup menu.
Select the Sun Java System Web Server 7.0 to register the Web Server and click Next.
Provide the details of the Sun Java System Web Server 7.0 installed on the local system or remote machine.
The plug-in requires a local Web Server installation on the same machine, even if you are registering a remote Web server. The local installation is required for some of the Web Server jar files.
(Optional) If the Web Server contains multiple configuration, select the configuration.
The drop-down list contains configuration which have at least one virtual server and one instance.
Once the server is registered, it is listed in the Server node of the Runtime tab. Right click and choose Start.
You can expand the nodes and see all the web applications and resources.
Start the NetBeans.
Select New Project from the File menu.
Select Web in the category list, and in the projects list, select web application. Then click Next.
From the Server drop-down list, select Sun Java System Web Server 7.0.
Click Next to complete the web project creation.
Once the project is created, web project is displayed in the Projects tab. You can find all basic files created in the Web Server specific sun-web.xml deployment descriptor .
The web application is now ready to compile, deploy.