This lesson illustrates how to populate the Web site with Web pages
Once you have your Web site laid out using page icons in Web Site Designer, you are ready to begin creating your pages. The page icons are currently bordered by broken lines; this indicates that the file represented by the page icon, or the actual page, does not exist. After the files are created, the page icons will have solid lines as borders
JavaServer Faces is a technology developed by Sun Microsystems that helps you build user interfaces for dynamic Web applications that run on a server. The JavaServer Faces framework manages UI state across server requests and offers a simple model for the development of server-side events that are activated by the client. JavaServer Faces is based on a model-view-controller (MVC) framework. For JavaServer Faces, this means that the controller is a servlet, the model is represented by JavaBeansTM, and the view is comprised of JavaServer Faces components with little or no application code. The goal of this model is to separate content from presentation.
In Rational® Software Development Platform, tools such as Faces components/are available to help you use this technology in your Web applications. There is a JavaServer Page (JSP) custom tag library for expressing a JavaServer Faces interface within a page that the Rational Software Development Platform has conveniently used to create a Faces JSP wizard. This wizard helps you create JSP files that are enabled to use the Faces components. Faces components let you develop a Web application by dragging components from a Faces drawer in the Palette view and dropping them on the Web pages you are creating.
For example, you can quickly drag an input text field and drop it to a form on the page. Then you can drag a Submit button next to the input text field. Finally, you can connect the input text field to your data source. This would enable end users to enter data from the Web application to your data source. Another benefit of applications built using
Faces components is that the user interface is rendered independently of the
underlying program logic. This means you can visually create an application
that can dynamically access data and run equally well on a browser or hand-held
device.
You have now created blank pages for each of the pages you will have in your Web site. To start the next lesson, click Next