Software Development

Create JSF2 application with Eclipse Mars

This post demonstrates how to create a JSF2 application with Eclipse Mars.

1. Create a Dynamic Web Project

Choose File -> New -> Dynamic Web Project from the main menu.

jsf-mars-001

2. Describe your Project

For this post, the project is named Jsf2SampleDemo. You may define your own project name.

[wp_ad_camp_1]

jsf-mars-002

Then, click Modify....

3. Configure

Choose JavaServer Faces v2.2 Project.

jsf-mars-003

Notice it selects appropriate Facets.

jsf-mars-004

[wp_ad_camp_2]

Then click Ok.

4. Additional configuration

jsf-mars-005

Click Next.

jsf-mars-006

Click Next again.

jsf-mars-007

Click Next.

5. Download JSF Implementation Library

[wp_ad_camp_3]

Once you reach this page, click the download icon just on the right-side part of the screen.

jsf-mars-008

The Download Library Dialog will display. Just click Next.

jsf-mars-009

Then, the Library License Dialog is displayed.

jsf-mars-010

Choose I accept the terms of this license and click Finish. It will start the download process.

jsf-mars-011

Download complete. Click Next.

[wp_ad_camp_4]

jsf-mars-012

Completing the process.

jsf-mars-013

It then completes the process.

jsf-mars-014

[wp_ad_camp_5]

Loading

Got comments or suggestions? We disabled the comments on this site to fight off spammers, but you can still contact us via our Facebook page!.


You Might Also Like