Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

Creating a dynamic Web project

You create and maintain the resources for your Web applications in Web projects.

Unlike with static Web projects, dynamic Web projects enable you to create resources such as JavaServer Pages and servlets.

To create a new dynamic Web project, complete the following steps:

  1. Open the Java EE perspective.
  2. In the Project Explorer, right click on Dynamic Web Projects, and select New > Dynamic Web Project from the context menu. The New Dynamic Web Project wizard starts.
  3. Follow the project wizard prompts.

General Information

Project Facets
A facet represents a unit of functionality in a Web project. For example, the Dynamic Web Module facet enables the project to be deployed as a dynamic Web module. A brief description of a project facet appears in the wizard when you select it. Note that in many instances, you can view the constraints for a project facet by right clicking on the facet and selecting project constraints from the pop up menu.
Target Runtime
Use this field to define a new installed runtime environment. Runtimes are used at build time to compile projects.
Enterprise Application project (EAR Project)
A new or existing Enterprise Application project (EAR Project) must be associated with your new Web project to facilitate deployment. If you want to override the default settings for the Enterprise Application project, you can do so using the wizard. When your Web project is created at the end of the wizard, the new Enterprise Application project is also created with the name specified in the EAR project field. Note that the default is the name of the web project appended with EAR (unless the ear project was selected when you opened the wizard.)
Context Root
The context root is the Web application root, which is the top-level directory of your application when it is deployed to the Web server. You can change the context root after you create a project using the project Properties dialog, which you access from the project's pop-up menu. The context root can also be used by the links builder to ensure that your links remain ready to publish as you move and rename files inside your project.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire