<< View previous version | view page history | view next version >>
Under Construction |
JSF Quick Start Tutorial
This tutorial will demonstrate how to configure an ICEmobile JSF application in a matter of minutes. We will cover the exact steps required to create a simple 'Hello World' ICEmobile JSF application using the Eclipse ICEmobile plugin. Our tutorial will consist of 4 parts:
Here is what we will need to get started:
- Eclipse 4.2 IDE for Java EE Developers
- ICEfaces-3.2.0-ICEmobile-1.2.0-Beta-Eclipse-4.2-plugins.zip
- Apache Tomcat 7.x (Binary Distribution -> Core -> .zip)
ICEmobile also offers a Netbeans IDE plugin which can be found in the ICEmobile downloads section. If you want to use an alternative Java EE IDE, you can follow our [JSF Manual Configuration Tutorial].
Note: Screen shots are thumbnails and can be clicked to enlarge
Configure the plugin
1. In Eclipse, navigate to Help -> Install New Software
2. Add --> Archive
3. Select Archive and navigate to location of ICEmobile Eclipse plugin
4. Check ICEfaces/ICEmobile Tool Bundle to install ICEmobile plugin. Select Next
5. The next two steps require that you review the installation details and accept the terms of the license agreement.
NOTE: You will need to click next on the following security warning. This will not harm your system in anyway.
Create your first ICEmobile Application
1. Select New -> Dynamic Web Project
2. Configure your Dynamic Web Project as follows:
3. No changes are required on this screen so we can select Next
4. No changes are required on this screen so we can select Next
5. In order to use JSF, we need the JSF libraries. Eclipse does not bundle these jars so we must download them. Select the download icon on the right of the screen.
6. For this tutorial, we will select the Oracle 2.1.6 JSF implementation
7. Our final configuration step is to select to create a blank ICEmobile project template
Run Application
1. We will now run our application on Tomcat
2. Deploy the application on Tomcat
3. When running the application in Eclipse, it will open it in the Eclipse web browser which is not representative of a real world browser.
Instead we will view the application using a mobile device