Creating a New JSF Project
Exadel Studio provides the following when working with JSF:
- Create new JSF projects
- Import (open) existing JSF projects
- You can import any project structure
- Add JSF capability to any existing Eclipse project
- Import and add JSF capability to any existing project created outside Eclipse
Exadel Studio allows you to create brand new JSF projects. A new JSF project will have all the JSF libraries, tag libraries, and a JSF configuration file.
Exadel Studio comes with a number of pre-defined project templates. These templates are flexible and easily customizable.
To create a brand new JSF project, select New/Project.
Select Exadel Studio/JSF/JSF Project and click Next.
On this screen enter Project Name. You can also select where to create the project.
JSF Version allows you to select which JSF implementation to use.
You can also pick a different template on which to base the project. The JSFBlank template will create a standard Web project structure with all JSF capabilities.
The JSFKickStart will create the same standard structure but will also include a sample application that is ready to run.
You can of course create your own custom templates.
On this screen select what Servlet version to use and whether to register this application with Tomcat (or other server) for running and testing of your application.
Context Path is the name under which the application will be deployed.
The Runtime value tells Eclipse where to find Web libraries in order to build (compile) the project. It is not possible to finish project creation without selecting Runtime. If you don't have any values, select New... to add new Runtime.
Target Server allows you specify if to deploy the application. The Target Server corresponds to the Runtime value selected above.
If you don't want to deploy the application, uncheck this value.
When you are all done, you should have the following project appear in the Package Explorer view.
At this point you can open faces-config.xml and start working on your application.
Diagram view of JSF configuration file is only available in Exadel Studio Pro version.