JavaServer Faces and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading JavaServer Faces on your Kindle in under a minute.

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

Java Server Faces (JSF) [Paperback]

Hans Bergsten
4.0 out of 5 stars  See all reviews (3 customer reviews)
RRP: £34.28
Price: £32.50 & FREE Delivery in the UK. Details
You Save: £1.78 (5%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Saturday, 1 Nov.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £24.71  
Paperback £32.50  

Book Description

2 May 2004 0596005393 978-0596005399 1

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 open source web application frameworks that simplify the development process.In JavaServer Faces, developers learn how to use this new framework to build real-world web applications. The book contains everything you'll need: how to construct the HTML on the front end; how to create the user interface components that connect the front end to your business objects; how to write a back-end that's JSF-friendly; and how to create the deployment descriptors that tie everything together.JavaServer Faces pays particular attention to simple tasks that are easily ignored, but crucial to any real application: working with tablular data, for example, or enabling and disabling buttons. And this book doesn't hide from the trickier issues, like creating custom components or creating renderers for different presentation layers. Whether you're experienced with JSF or a just starting out, you'll find everything you need to know about this technology in this book.Topics covered include:

  • The JSF environment
  • Creating and rendering components
  • Validating input
  • Handling user-generated events
  • Controlling page navigation
  • Working with tabular data
  • Internationalization
  • Integration between JSF and Struts
  • Developing custom renderers and custom components
JavaServer Faces is a complete guide to the crucial new JSF technology. If you develop web applications, JSF belongs in your toolkit, and this book belongs in your library.

Product details

  • Paperback: 608 pages
  • Publisher: O'Reilly Media; 1 edition (2 May 2004)
  • Language: English
  • ISBN-10: 0596005393
  • ISBN-13: 978-0596005399
  • Product Dimensions: 17.8 x 3.3 x 23.2 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: 701,941 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

From the Publisher

In JavaServer Faces, developers learn how to use the new JavaServer Faces framework to build real-world web applications. The book contains everything you'll need: how to construct the HTML on the front end; how to create the user interface components that connect the front end to your business objects; how to write a back-end that's JSF-friendly; and how to create the deployment descriptors that tie everything together. This book is a complete guide to the crucial new JSF technology.

About the Author

Hans Bergsten is the founder of Gefion Software, a company focused on Java services and products based on the J2EE technlogies. Hans has been an active participant in the working groups for both the servlet and JSP specifications from the time they were formed. He also contributes to other related JCP specifications, such as JSP Standard Tag Libraries (JSTL), and helped get the development of the Apache Tomcat reference implementation for servlet and JSP started as one of the initial members of the Apache Jakarta Project Management Committee.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.0 out of 5 stars
4.0 out of 5 stars
Most Helpful Customer Reviews
5 of 5 people found the following review helpful
5.0 out of 5 stars Everything you need to get you going with JSF 19 Aug 2004
By A. Katz
As being new to Java Server Faces technology I found this book Extremely helpful. It answered most of my questions and included a lot of practical examples which comes handy especially if you need to use JSF compononts programmatically or tweak a bit with the JSF internals.
The book describes JSF in a clear and simple manner with a good 'hands on' attitude. It is suitable for absolute newbies and will get you coding your first JSF application as quickly as possible.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
3.0 out of 5 stars A good introduction to JSF 19 Mar 2005
By A Customer
Format:Paperback|Verified Purchase
This book provides a good introduction to the JavaServer Faces technology. However some topics should be discussed more in detail, such as the link between the JSF code and the backing beans. Some more considerations on how to organize a JSF application at architectural level in non-trivial contexts would significantly increase the added value of this book.
There is a significant lack of bibliographical references.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Nice Book 14 Mar 2014
Format:Paperback|Verified Purchase
Nice Book, it present a great variety of jsf features. Good to start and expand your knowledge on jsf and on web development.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 3.2 out of 5 stars  26 reviews
33 of 36 people found the following review helpful
1.0 out of 5 stars Worst Java Book I've ever bought 1 Jun 2005
By Code Guru - Published on
Okay... if you have any modicum of experience with Java web technologies, but are looking at expanding your horizons, DO NOT BUY THIS BOOK! It will frustrate you beyond belief.

1. The author spends over 60 pages just introducing JSP: If I wanted a book on JSP there are already plenty available, and much better at explaining it since the author does a very sparse job of it.

2. The author spends 7 pages just discussing HTTP! If you don't know what HTTP is, once again there are better introductory books on web technologies.

3. The author's examples are rarely fully explained, but instead he continuously uses mere 'snippets' without ever giving the entire code. I understand that the code is available online, but I don't want to toggle between reading code on my computer and then having to flip through pages in a book: Keep it all in one place.

4. The author also spends a fair portion of the book talking about other non-JSF related issues: Internationalization, CSS, Tabular data???? (which, by the way, is a horrible example that does not model anything close to a real-world example.)

5. Over 200 pages of the book are simply reference pages which are available to anyone online (which is when you want them since that's when you're coding!)

6. He has 36 pages (in appendix C pp. 444-476) on the HTML-Specific Component classes... read through these and see exactly how useful this reference is: It only lists the components and the litany of methods with absolutely no explanation.

7. He never really adequately puts all the pieces together and shows the JSF novice how to create anything that resembles something that would be a good starting point for real-world development.

These are just some of the incredible deficiencies of this book. My opinion of O'Reilly has been tainted as of late and this book certainly doesn't do O'Reilly any favors. Overall, this is by far the very worst Java book I've ever read and a definite waste of my money and time.
9 of 9 people found the following review helpful
2.0 out of 5 stars OK Starting Point 8 Nov 2006
By Kelby Zorgdrager - Published on
This book is an "OK" starting point for someone learning JSF.

Here are some things to be aware of:

1) Does a poor job explaining the lifecycle of a JSF component; he writes the sequence of events out in paragraph style and does not provide diagrams (UML or otherwise) to help with the illustration

2) Constantly switches metaphors as he is explaining JSF; sometimes he will be talking about the implementation view of a JSF component and then other times he will be talking about the application view of a component. It would be better if there were one or two chapters that focused on the "how the heck does this work behind the scenes" and the rest of the book focused on applying JSF.

3) There are syntax errors throughout the examples; this includes the code examples (.jsp examples) and the configuration examples (web.xml and faces-config.xml). To his credit, he constantly references the appendix section for a more complete example. As a reader, I personally don't like flipping back and forth all the time.

4) His coverage of the application (using JSF actions) is very basic (academic). He doesn't go through the academically classified edge-cases, which is disapppointing because those are typically classified as real-world.

5) He forward references way too much; for example he will talk about / use something in say chapter 4, and then states something to the effect "oh, we'll come back to that later, don't worry about it now". From a learning perspective this is terrible. It causes your train of thought to be derailed and you end up asking yourself the question "what does that do?".

On the positive side, the flow does seem to make some sense from a learning perspective. He builds on the foundational concepts and frames the learning in the context of creating a "real-world" application.

I understand this book is a bit out of date (suprises me O'R hasn't encouraged an update). My suggestion is to buy this book used.
17 of 21 people found the following review helpful
1.0 out of 5 stars Look instead at Core JavaServer Faces or free J2EE tutorial 26 Sep 2005
By Crapyntosh - Published on
1/4 of the book goes explains how to use JSP, JSTL

2/4 of the book API reprint

1/4 of the book actual JSF stuff - not real world related - unless you know exactly what you are looking for you'll never find it...

i'm surprised this book went into print - probably somebody upstairs decided to have at least something rather than nothing.

waste of time and money.
10 of 12 people found the following review helpful
1.0 out of 5 stars Do not buy this book - 14 May 2004
By A Customer - Published on
There is no reason to buy this book. I am not saying that it's totally useless - but information in this book can be easily obtained for free in other places. One of them is the Sun's j2ee 1.4 tutorial updated for JSF final release.
The book borrows a lot from JSF specs - well, just go and read specs. As an example, the book has custom tree component - you can find open source JSF tree components on the Web as well. In fact, out of 590 pages in the book, 260 pages (!) are various appendices with what can be considered an official JSF information (APIs, tag description, etc.).
The language is good, but what's in the book, in essence, does not go beyond regular blurb about JSF now in abundance in various articles, Sun's site, etc. However, there are few insights about what is called JSF infrastructure and its API. And that's where the tricky part with the JSF is - you can learn without this book about JSF "phases" and how to use components for presentation purposes - but this is not enough for real world Web applications. The author, as far as I understand, is the member of the original JSF team - it would be nice to hear from such person more about areas of JSF weaknesses and how to deal with them vs. other frameworks which put a stress on the controller aspects in building applications (such as Struts).
Unfortunately, from this perspective this book is not more useful than other sources (available though for free).
4 of 5 people found the following review helpful
3.0 out of 5 stars Useful...but not in depth 28 May 2004
By Michael Rasmussen - Published on
This was a useful book. however within 6 hours I had gotten everything I could out of it. 2 whole chapters are devoted to things that are not directly related to JSF (Servlets and JSP Basics and Setting Up JSF-Mostly just setting up tomcat)
I really liked the book...but it was not very deep. Understandable becasue of the relative newness of JSF. I can imagine not many projects have been done with JSF yet...but there needs to be more on integrating with J2EE and how to really use this technology in a meaningful way. Right now all I can do with it is make a simple little example and not really a whole production application. The book only spends 3 paragraphs talking bout JSF and databases. Then says "That is all I am going to say about databases, because that is all there is to say about databases that is database specific"--That was very dissapointing. The entire chapter about Servlets/JSP would have been much better used showing examples of "best practices" implementing databases.
That said I really appreciate the section on integrating JSF and Struts with Struts-Faces. I can imagine that I will most definately be using this technology as I do a lot of struts development. Thanks Hans.
Also I would have really appreciated a comparison of JSF and ASP.NET. the book pretends like this technology doesn't exist. When in reality JSF is the response from the JCP that was necessitated by ASP.NET.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

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

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

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category