Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The application development will take you through the following

  1. Setting Eclipse for Application development 
  2. Define and implement the Java Bean
  3. Define and implement Model(M) in application
  4. Define and implement View(V) in application
  5. Define and implement the Validator component
  6. Define and implement the View navigation by Controller(C)

Once you have all the pre-requisites installed follow the following steps to create a project with Eclipse

1. Setting Eclipse for Application development

  • Launch Eclipse and Create a dynamic web project as shown in the figure

...

  • The next window suggests to create JSF Implementation library. Give the library name as JSFCommon JSFCustomLibrary and add the following jars. Select Finish once done. See the figure below
  • <GERONIMO_HOME>\repository\commons-beanutils\commons-beanutils\1.6.1\commons-beanutils-1.6.1.jar
  • <GERONIMO_HOME>\repository\commons-collections\commons-collections\3.1\commons-collections-3.1.jar
  • <GERONIMO_HOME>\repository\commons-digester\commons-digester\1.8\commons-digester-1.8.jar
  • <GERONIMO_HOME>\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar
  • <GERONIMO_HOME>\repository\org\apache\myfaces\core\myfaces-api\1.2.2\myfaces-api-1.2.2.jar
  • <GERONIMO_HOME>\repository\org\apache\myfaces\core\myfaces-impl\1.2.2\myfaces-impl-1.2.2.jar
    Image Removed!JSFCustomLibrary.GIF!
  • Check Deploy and modify the URL pattern to *.jsf. Select Finish.

This finishes the setting up of Eclipse IDE for application development