JavaServer faces
JavaServer Faces, or JSF, brings a component-based model to web application development that's similar to the model that's been used in standalone GUI applications for years. The technology builds on the experience gained from Java Servlets, JavaServer Pages, and numerous commercial and...
Main Author: | |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Sebastopol, California :
O'Reilly
2004.
|
Edition: | 1st edition |
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627361406719 |
Table of Contents:
- Table of Contents; Preface; In This Book; Audience; What You Need to Know; Organization; About the Examples; Conventions Used in This Book; How to Contact Us; Acknowledgments; Introducing JavaServer Faces; What Is JavaServer Faces?; How Does JSF Compare toTraditionalTechnologies?; Less Code in the User Interface Templates; More Modular User Interface Code; Where Does JSF Fit in the Big Picture?; Using JSF with JSP; Using JSF with Struts and Other Application Frameworks; Using JSF with Enterprise JavaBeans; What You Need to Get Started; JSF Development Process Overview
- Developing an Application with a JSF-BasedUser InterfaceDeveloping the Application Backend; Developing Components and Integration Code; Developing the User Interface Pages; Setting Up the JSF Environment; Installing the Java Software DevelopmentKit; Installing the Tomcat Server; Windows Platforms; Unix Platforms (Including Linux and Mac OS X); Testing Tomcat; Installing the Book Examples; Example Web Application Overview; Servlet and JavaServer Pages Basics; HTTP; Requests in Detail; Responses in Detail; Request Parameters; Request Methods; Web Application Deployment andRuntimeEnvironment
- Web Containers and Servlet ContextsServlets, Filters, and Listeners; Using Request Data; Compiling, Installing, and Running a Servlet; Generating Responses of Different Types; Filters and Listeners; Filters; Listeners; JavaServer Pages; JSP Processing; JSP Elements; Directive elements; Action elements; Scripting elements; Expression Language expressions; JSP comments; Creating, Installing, and Running a JSP Page; Accessing Application Data; Developing the Business Logic andSetting Up Authentication; Sample Application Overview; Implementing the Business Logic Classes; The ReportEntry Class
- The Report ClassThe ReportRegistry and FileReportRegistry Classes; Authentication and Authorization; Authenticating the User; Controlling Access to Web Resources; Creating and Rendering Components; The Basics; Using JSF Components in a JSP Page; Creating JSF Components; Rendering the View; Saving the View State; Installing and Configuring a JSF Web Application; Running a JSP Page Containing JSF Components; Binding Components to Model Properties; Using JSF EL Expressions; Using Value Binding Expressions; Converting Between Model and View Data Formats
- Creating Objects Automatically as They Are NeededConditionally Render Components; Conditionally Disable Components Using Bean Properties; Conditionally Include Components Using Bean Properties; Validating Input; Dealing with Syntax Errors in User Input; Using the Standard Validators; Value Bindings for the Report Entry Fields; Defining Custom Error Messages; Using a Custom Validator; Registering a Custom Validator; Using a Custom Validator in a JSP Page; Developing a Validator Custom Action; Deploying the Custom Tag Library; An Alternative for the Lazy; Other Ways to Validate Input
- Handling Events