Home   FAQs   New Arrivals   Specials   Pricing & Shipping   Location   Corporate Services   Why Choose Bookware?  
 Search:   
Call our store: 9922 6266 (from within Sydney) or 1800 734 567 (from outside Sydney)
 View Cart   Check Out   
 
Browse by Subject
 Nepean TAFE 2012
I.T
 .NET
 Windows 7
 Adobe CS5
 Cisco
 CCNA 2012
 CCNP 2012
 Java
 VB
 ASP
 Web Design
 E-Commerce
 Project Management
 ITIL
 Macintosh
 Linux
 Windows Server 2008
 SAP
 Sharepoint 2010
Certification
 MCITP
 MCTS
Economics and Business
 Accounting
 Business Information Systems
 Economics
 Finance
 Management
 Marketing
 TAX
 Human Resources
Academic
 Law
 Nursing
 Medical

Core JavaServer Faces

by: David Geary, Cay Horstmann (for second edition please perform new search using ISBN: 0131738860 )

On-line Price: $22.95 (includes GST)

Paperback package 552

70%Off Retail Price

You save: $52.00

CLEARANCE Item - Special discount -limited stock
_____________________
N.Sydney : In Stock

Retail Price: $74.95

Publisher: PRENTICE HALL,2004/06/14

Category: JAVA Level:

ISBN: 0131463055
ISBN13: 9780131463059

Add to Shopping Cart

Summary


      JavaServer Faces promises to bring rapid user-interface development to server-side Java. It allows developers to painlessly write server-side applications without worrying about the complexities of dealing with browsers and Web servers. It also automates low-level, boring details like control flow and moving code between web forms and business logic.


  JavaServer Faces was designed to support drag and drop development of server-side applications,' but you can also think of it as a conceptual layer on top of servlets and JavaServer Pages (JSP). Experienced JSP developers will find that JavaServer Faces provides much of the plumbing that they currently have to implement by hand. If you already use a server-side framework such as Struts, you will find that JavaServers Faces uses a similar architecture, but is more flexible and extensible. JavaServer Faces also comes with server-side components and an event model, which are fundamentally similar to the same concepts in Swing.


  JavaServer Faces is quickly becoming the standard Web-application framework. Core JavaServer Faces is the one book you need to master this powerful and time-saving technology.


  Without assuming knowledge of JSP and servlets, Core JavaServer Faces:


  shows how to build more robust applications and avoid tedious handcoding

answers questions most developers don't even know to ask

demonstrates how to use JSF with Tiles to build consistent user interfaces automatically

provides hints, tips, and explicit 'how-to' information that allows you to quickly become more productive

explains how to integrate JSF with databases, use directory services, wireless apps, and Web services

teaches best practices and good habits like using style sheets and message bundles

covers all of the JSF tags and how to create new tag libraries


      Features


      By two of the field's leading experts, David Geary (Graphic Java) and Cay Horstmann (Core Java)-Authored by experts who have helped millions of students and professionals master advanced Java technologies in books, videos, seminars, and live training sessions.


  ~Gives students confidence that they are receiving information that is thorough, accurate, clear, and useful-and reflects the challenges they will actually face.


  Broad coverage of JSF fundamentals-Thoroughly covers setting up JSF, connecting tags to application logic, providing navigation, converting and validating input, and more.


  ~Gives students a single source for all the fundamental techniques they will need to master.


  Advanced coverage-Walks students through creating custom converters and validators, handling events, sharing content among pages, building custom components, connecting to databases and external services, supporting wireless clients, and other advanced tasks.


  ~Helps students rapidly master techniques that would otherwise be far beyond their skill levels.


  'How do I' chapter-Answers students' most common questions about JSF development.


  ~Gives students fast answers to the JSF questions most likely to confuse them.


  Focused on rapidly building robust, production-quality code-Helps experienced Java programmers get up to speed fast, by focusing on what they need to know, and leveraging what they already know.


  ~Helps students use their study time efficiently, as they quickly gain the skills needed to succeed in real development environments.


  Industrial-strength code examples, not 'toy code'-Presents a large library of realistic code examples that offer deep insight into the realities of JSF development.


  ~Gives students a strong understanding of how JSF is used in the real world-and an immense amount of code they can use to solve real problems.


  Powerful tips and workarounds-Presents exclusive techniques and workarounds that solve problems the JSF 1.0 Framework was expected to solve, but didn't.


  ~Helps students accomplish tasks with JSF 1.0 that others may view as difficult or impossible.


  Best practices for programming with JSF-Draws upon the authors' unsurpassed experience working with JSF throughout its evolution to Release 1.0.


  ~Helps students learn from the experience of leading-edge JSF developers.


          Author Bio


      Cay Horstmann is a Professor of Computer Science at San Jose State University. Previously, he was Vice President and Chief Technology Officer at Preview Systems Inc. and a consultant for major corporations, universities and organizations on C++, Java, and Internet programming. He is the author of many successful professional and academic books, including the international best-seller Core Java, also published by Sun Microsystems Press.


  David Geary is the president of Sabreware, Inc., a Java training and consulting company. David has developed object-oriented software for more than 20 years and worked on the Java APIs at Sun Microsystems from 1994 to 1997. He is the author of six Java books, including the Graphic Java series, Advanced JavaServer Pages, and Core JSTL. David is a member of the expert groups for the JavaServer Pages Standard Tag Library (JSTL) and JavaServer Faces; was one of the earliest contributors to the Apache Struts application framework; and wrote test questions for Sun's Web Component Developer.


      

Table of Contents

Preface.


      Acknowledgments.


      1.Getting Started.


      Why JavaServer Faces.


      Software Installation.


      A Simple Example.


      Ingredients.


      Directory Structure.


      Build Instructions.


      Sample Application Analysis.


      Beans.


      JSF Pages.


      Navigation.


      Servlet Configuration.


      The Welcome File.


      Visual Development Environments.


      JSF Framework Services.


      Behind the Scenes.


      Rendering Pages.


      Decoding Requests.


      The Life Cycle.


      Automation of the Build Process with Ant.


      Using the Deployment Manager with Ant.


          2. Managed Beans.


      Definition of a Bean.


      Bean Properties.


      Value Binding Expressions.


      Message Bundles.


      A Sample Application.


      Backing Beans.


      Bean Scopes.


      Request Scope.


      Session Scope.


      Application Scope.


      Configuring Beans.


      Setting Property Values.


      Initializing Lists and Maps.


      Chaining Bean Definitions.


      String Conversions.


      The Syntax of Value Binding Expressions.


      Using Brackets.


      Map and List Expressions.


      Resolving the Initial Term.


      Composite Expressions.


      Method Binding Expressions.


          3. Navigation.


      Static Navigation.


      Dynamic Navigation.


      Advanced Navigation Issues.


      Redirection.


      Wildcards.


      Using from-action.


      The Navigation Algorithm.


          4. Standard JSF Tags.


      An Overview of the JSF Core Tags.


      An Overview of the JSF HTML Tags.


      Common Attributes.


      Forms.


      Form Elements and JavaScript.


      Text Fields and Text Areas.


      Using Text Fields and Text Areas.


      Displaying Text and Images.


      Hidden Fields.


      Buttons and Links.


      Selection Tags.


      Checkboxes and Radio Buttons.


      Menus and Listboxes.


      Items.


      Messages.


      Panels.


          5. Data Tables.


      The Data Table Tag.


      A Simple Table.


      h:dataTable Attributes.


      Headers and Footers.


      JSF Components in Table Cells.


      Editing Table Cells.


      Styles for Rows and Columns.


      Styles by Column.


      Styles by Row.


      Database Tables.


      JSTL Result vs. Result Sets.


      Table Models.


      Editing Table Models.


      Sorting and Filtering.


      Scrolling Techniques.


      Scrolling with a Scrollbar.


      Scrolling with Page Widgets.


          6. Conversion and Validation.


      Overview of the Conversion and Validation Process.


      Using Standard Converters.


      Conversion of Numbers and Dates.


      Conversion Errors.


      A Complete Converter Example.


      Using Standard Validators.


      Validating String Lengths and Numeric Ranges.


      Checking for Required Values.


      Displaying Validation Errors.


      Bypassing Validation.


      A Complete Validation Example.


      Programming with Custom Converters and Validators.


      Implementing Custom Converter Classes.


      Implementing Custom Validator Classes.


      Registering Custom Validators.


      Validating with Bean Methods.


      Validating Relationships Between Multiple Components.


      Implementing Custom Tags.


      Custom Converter Tags.


      Custom Validator Tags.


          7. Event Handling.


      Life-Cycle Events.


      Value Change Events.


      Action Events.


      Event Listener Tags.


      Immediate Components.


      Using Immediate Input Components.


      Bypassing Conversion and Validation.


      Phase Events.


      Putting It All Together.


          8. Subviews and Tiles.


      Common Layouts.


      A Book Viewer and a Library.


      The Book Viewer.


      Monolithic JSF Pages.


      Common Content Inclusion.


      Content Inclusion in JSP-Based Applications.


      JSF-Specific Considerations.


      Content Inclusion in the Book Viewer.


      Looking at Tiles.


      Installing Tiles.


      Using Tiles with the Book Viewer.


      Parameterizing Tiles.


      Extending Tiles.


      The Library.


      Nested Tiles.


      Tile Controllers.


          9. Custom Components.


      Implementing Custom Components with Classes.


      Tags and Components.


      The Custom Component Developer's Toolbox.


      Encoding: Generating Markup.


      Decoding: Processing Request Values.


      Using Converters.


      Implementing Custom Component Tags.


      The Spinner Application.


      Revisiting the Spinner.


      Using an External Renderer.


      Calling Converters from External Renderers.


      Supporting Value Change Listeners.


      Supporting Method Bindings.


      Encoding JavaScript to Avoid Server Roundtrips.


      Using Child Components and Facets.


      Processing SelectItem Children.


      Processing Facets.


      Including Content.


      Encoding CSS Styles.


      Using Hidden Fields.


      Saving and Restoring State.


      Firing Action Events.


      Using the Tabbed Pane.


          10. External Services.


      Accessing a Database.


      Issuing SQL Statements.


      Connection Management.


      Plugging Connection Leaks.


      Using Prepared Statements.


      Configuring a Database Resource in Tomcat.


      A Complete Database Example.


      Using LDAP for Authentication.


      LDAP Directories.


      Configuring an LDAP Server.


      Accessing LDAP Directory Information.


      Managing Configuration Information.


      Configuring a Bean.


      Configuring the External Context.


      Configuring a Container-Managed Resource.


      Creating an LDAP Application.


      Container-Managed Authentication and Authorization.


      Using Web Services.


          11. Wireless Clients.


      Rendering Technologies for Mobile Clients.


      MIDP Basics.


      Canvases and Forms.


      Commands and Keys.


      Networking.


      Multithreading.


      The MIDP Emulator.


      Mobile Communication and Control Flow.


      Component Implementation for Mobile Clients.


      The Battleship Game.


      The Game Rules.


      The User Interface.


      Implementation.


          12. How Do I?


      Web User Interface Design.


      How do I support file uploads?


      How do I show an image map?


      How do I include an applet in my page?


      How do I produce binary data in a JSF page?


      How do I show a large data set one page at a time?


      How do I generate a popup window?


      How do I customize error pages?


      Validation.


      How do I use the Struts framework for client-side validation?


      How do I write my own client-side validation tag?


      How do I use the Jakarta Commons Validator for client-side validation?


      How do I validate relationships between components?


      Programming.


      How do I use JSF with Eclipse?


      How do I locate a configuration file?


      How do I get the form ID for generating document.forms[id] in JavaScript?


      How do I make a JavaScript function appear only once per page?


      How do I package a set of tags into a JAR file?


      How do I carry out initialization or cleanup work?


      How do I extend the JSF expression language?


      How do I choose different render kits?


      Debugging and Logging.


      How do I decipher a stack trace?


      How do I find the logs?


      How do I find out what parameters my page received?


      How do I turn on logging of the JSF container?


      How do I replace catalina.out with rotating logs?


      How do I find the library source?


          Index.