NETBEANS IDE IS AN IDEAL ENVIRONMENT for developing web applications. The IDE eliminates many of the nuisances you normally would encounter, particularly in setting up the application and in the steps between coding, deploying, debugging, and redeploying your application. And because Ant is the basis for this automation, there are no proprietary mysteries you need to unravel if you want to make the project work without the IDE as an intermediary. Following are some of the things the IDE does to make web application development easier:
This chapter focuses on issues specific to web applicationscreating and editing web components, debugging HTTP transactions, and so onbut does not include information on project creation or the IDE's support for the JavaServer Faces (JSF) and Struts web frameworks. See Chapter 3 for information on creating projects. See Chapter 9 for information on using the IDE's support for web frameworks. Most of the topics in this chapter assume that you are using the Tomcat web server, but it is also possible to use the Sun Java System Application Server, which supports full Java EE applications and includes full support for web services. The IDE also makes it possible to connect with other application servers, such as JBoss and BEA WebLogic. Most of the tasks detailed here that involve the Tomcat server are very similar to the equivalent tasks you would perform if deploying to an application server. See Chapter 13 for more information on working with the Sun Java System Application Server and Chapter 12 for information on developing, exposing, and consuming web services. |