Core JavaServer Faces (3rd Edition) and over one million other books are available for Amazon Kindle. Learn more

Have one to sell? Sell yours here
Core JavaServer Faces
 
 
Start reading Core JavaServer Faces (3rd Edition) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Core JavaServer Faces [Paperback]

David Geary (Author), Cay S. Horstmann (Author)
3.9 out of 5 stars  See all reviews (45 customer reviews)


Available from these sellers.


Formats

Amazon Price New from Used from
Kindle Edition $24.19  
Paperback $33.09  
Paperback, June 25, 2004 --  
There is a newer edition of this item:
Core JavaServer Faces (3rd Edition) Core JavaServer Faces (3rd Edition) 3.9 out of 5 stars (45)
$33.09
In Stock.

Book Description

June 25, 2004
JavaServer Faces is a Web application framework -- similar to Jakarta Struts -- that gives application developers access to custom components that facilitate the creation of rich user interfaces. JSF also provides Integrated Development Environment (IDE) vendors with a standard upon which to base their IDEs. In the Core tradition, this new book aims to be THE tutorial and reference for experienced programmers who need to learn this exciting new technology. Although J2EE is still the most popular platform for developing Web applications, Microsoft's .NET has gained market share over the past two years. J2EE is arguably more powerful, but .NET, is generally regarded as easier to use. J2EE currently lacks: a rich component model that makes it easy to develop custom components and an IDE (like Visual Studio) that facilitates Web application development. That's where JSF enters the equation, and this book aims to be the most authoritative treatment of the topic -- a must-have for any serious J2EE programmer.


Editorial Reviews

From the Back Cover

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

About the Author

Cay S. Horstmann is a professor of computer science at San Jose State University. Previously he was vice president and chief technology officer of Preview Systems Inc. and a consultant on C++, Java, and Internet programming for major corporations, universities, and organizations.




Product Details

Chapter 12: How do I...Web User Interface Design; Validation; Programming; Debugging and Log [PDF]
  • Paperback: 552 pages
  • Publisher: Prentice Hall (June 25, 2004)
  • Language: English
  • ISBN-10: 0131463055
  • ISBN-13: 978-0131463059
  • Product Dimensions: 9.2 x 6.8 x 1.6 inches
  • Shipping Weight: 2.4 pounds
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (45 customer reviews)
  • Amazon Best Sellers Rank: #1,326,208 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

45 Reviews
5 star:
 (18)
4 star:
 (13)
3 star:
 (8)
2 star:
 (2)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
3.9 out of 5 stars (45 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

56 of 59 people found the following review helpful:
5.0 out of 5 stars Perfect Cure for Misunderstood New Standard, September 10, 2004
By 
R. Williams "code slubber" (Los Angeles, CA United States) - See all my reviews
(VINE VOICE)    (REAL NAME)   
This review is from: Core JavaServer Faces (Paperback)
Struts spread like wildfire in part due to the fact that it was simple. JSF is very ambitious and defies a very simple explanation followed by a bugle blast to commence hacking. Nevermind the history of designing circuits, in software, generally the complex APIs don't get a following until a great book ships (e.g. Petzold, Roman's book on EJB, etc.). This is that book for JSF, and it is just on time. I would also like to differ with the opinion about the book being awkward because it makes you do things by hand that will soon be automated. That is a small part of the book, and doing by hand those early things helps immensely to understand the bigger picture (e.g. custom components, web services, etc.).

The reasons this book deserves a 5:

1. Its score for comprehensiveness alongside similar offerings is orders of magnitude higher.

2. Tool support for web dev is unfortunately still in its infancy for Java. The webtools project in eclipse just dropped its first version of a JSP editor for bloomin' sakes. That puts more pressure on the writers to have to painstakingly describe setup and configuration issues. They do an excellent job.

3. The examples are very good and get worked from different angles to great effect.

4. There are many useful diagrams as well, for example of the processing flow, which is crucial to understanding what the framework is doing for you. I had a case where I was debugging a problem and the error message looked spurious until I consulted the flow and saw that it was repopulating the page automatically.

JSF is not perfect, but this book shows that guidance can make all the difference in pain of adoption.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


31 of 34 people found the following review helpful:
3.0 out of 5 stars It tells you how, but not why, October 24, 2004
This review is from: Core JavaServer Faces (Paperback)
Core JavaServer Faces, by David Geary and Cay Horstmann, is a decent introduction to JavaServer Faces. But it's really just a "how-to" book: probably half the book is simply code listings, which are available online. Why waste the paper?

Once you get JSF installed into your servlet container, the book does an acceptable job of explaining how to perform most tasks. But it doesn't go into enough detail on the background behind JSF and comparisons to other technologies (raw JSPs, struts, etc.). It needs more "why", not just "how to".

If you want to know what to do, and why you should do it, read JavaServer Faces by Hans Bergsten (one of the Apache Tomcat developers, and contributor to JSP 2.0, JSTL, and JSF).
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


21 of 22 people found the following review helpful:
4.0 out of 5 stars good intro for JSF but..., October 8, 2004
This review is from: Core JavaServer Faces (Paperback)
I am currently reading David Gearys Core JavaServer Faces book. I have read Chapters 1-9 and Chapter 12 (Ch 10 talks about JSF/ external service, Ch 11 about JSF/wireless clients).

One thing that annoyed me right away was he starts talking about the core JSF classes (UIInput, FacesContext etc) in early chapters without a formal introduction to the JSF class hierarchy. He does do a good job in laying out the JSF and HTML tags, but he never does the same for the classes. Well, I think that maybe the class hierarchy will come soon, but as I finished chapter 9 (custom components), I realized he never did that. As a programmer, I feel that this is a serious lacking in a book.Again, as a programmer, I managed to overcome this lacking by referring to the JSF Javadocs for the class hierarchy as I was reading thru the chapters. David Geary's own article on JSF does a good job of introducing the classes (although the names are a little outdated).

His examples are very good (the downloaded code builds/works great), but I did not find any that "pushed the envelope" of JSF. For example, in the custom components chapter, he talks about building a custom spinner :roll:; yes, this is a good intro to howto, but I would like to see something more complicated and exciting, like a tree or a list component. After all, the ability to plugin custom components as tags is one of the enticing features of the JSF specification. It would have also been nice if he had talked more about JavaScript/JSF interaction.

The book is about 600+ pages long, but I think half the pages are just code printed (a lot of the code is also repeated in the discussion within the chapters). I dont know if this is good (lot of printed code) or bad (lot of wasted trees). The longer chapters kind of meander between discussion of code and printed code, and by the time I was with the chapter, I had to go back and put the pieces together myself. It would have been nice if he summarized the concepts in the end. (I plan to summarize the `Custom Components' chapter soon)

I did find the chapter on Tiles and the `How do I' section on using the Commons Validator for client-side validation, quite interesting and informative :cool: (although, I think he should have delved more into these topics instead of a whole chapter on the JSF dataTable tag!)

Bottomline, Core JSF is a good introduction to JSF with some advanced discussion too. I recommend it to get started on JSF, but with a healthy dose of JSF JavaDocs and/or another book.

read the full review here ( http://www.browngeek.com/index.php?p=27 )
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse and search another edition of this book.
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
custom components, external services, selection tags, managed beans, realtime validation, phase events, dynamic navigation, payee information, managing configuration, using web services, enterprise applications, connection pools, passing data, deleting table rows, backing beans, life cycle events, using hidden fields, ajax components, connector modules, starting state, credit card converter, tabbed pane component, implementing custom components, stener attribute, rvalue mode
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Done Figure, Data Tables, Web User Interface Design, Event Handling, Apply Request Values, Render Response, Validation Error, United States, Faces Servlet, Open Source, Rushmore Tabbed Pane, Thomas Jefferson, Process Validations, Attributes Description, Form Completion, Theodore Roosevelt, Wire Transfer, Attribute Description, Bill Payment, The Library, Content Inclusion, Editing Table Cells, Getting Started, Implementing Custom Component Tags, Table Models
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

Citations (learn more)
1 book cites this book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(3)
(3)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject