- On the File menu, click New > Project.
- In the New Project dialog box, expand the Web node and select Dynamic Web Project.
Tip: If you don’t see the Web node, ensure that the Show All Wizards check box is selected.
- Click Next to set up your project information.
- In the New Dynamic Web Project dialog box, in the Name field, enter
ViewReportJSF.
- In the Project contents section, do one of the following:
- Select the Use default check box to use the default location of your workspace.
- Clear the Use default check box and type the desired directory path for your workspace.
- Click the New button adjacent to the Target runtime list.
The New Server Runtime wizard opens.
- Expand the Apache node, select your Apache Tomcat Server, and click Next.
- Beside to the Tomcat installation directory field, click Browse to select your Tomcat server installation directory.
- Click Installed JREs.
The Preferences dialog box opens.
- Click Add, and do the following:
- In the JRE type list, select Standard VM.
- In the JRE name field, type
JDK.
- In the JRE home directory field, browse for the directory of your installed JDK.
A list of libraries appears in the JRE system libraries box.
- Click OK.
- Select the JRE in the JRE list and click Finish.
- In the Configurations list, select Faces Project and click Next.
- Select the following check boxes and set the version information:
- Base Faces support
- BusinessObjects Enterprise Reporting
- Dynamic Web Module
- Java
- JSTL
Note: You can have either Embedded Reporting, or Enterprise Reporting in a web project. Therefore, if the BusinessObjects Enterprise facet is selected, you cannot also select the Crystal Reports Java Reporting Component facet.
- Click Next.
- Ensure these fields contain the following text:
- Context Root: ViewReportJSF
- Content Directory: WebContent
- Java Source Directory: src
- Click Finish.
Note: To continue, you must accept the Sun license agreement.
The J2EE Perspective opens which allows you to navigate the different projects contained in your workspace.