Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Questions about examples in JSF in Action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Questions about examples in JSF in Action" Watch "Questions about examples in JSF in Action" New topic
Author

Questions about examples in JSF in Action

Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Does the book use only one big applcation to discuss about every aspects of JSF? or does it use many different small examples for each topic?

I just would like to know the explanation style of the book..


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

There is a test case called ProjectTracker. Starting with Chapter 7 Kito discusses design goals/considerations and then continues on through the projects lifecycle through about chapter 13. There is a lot of code mixed in all those chapters.

The only bad thing I would say about the approach Kito took is that in Chapter 8 you are shown how to build the login page but you aren't shown how to create the application logic (java code) for it until chapter 12. I understand the reason he designed these chapters the way he did. All the logic is static and set in the navigation rules, so you can test your code fairly soon. I just would have liked to have seen a more complete example before having to read through 12 chapters to finally get it.

But it's still a damn good book, so far. And I would definately recomend it to anyone wanting to learn JSF. I'm still reading it.


GenRocket - Experts at Building Test Data
Kito Mann
author
Ranch Hand

Joined: Dec 11, 2003
Posts: 115
Originally posted by Gregg Bolinger:
There is a test case called ProjectTracker. Starting with Chapter 7 Kito discusses design goals/considerations and then continues on through the projects lifecycle through about chapter 13. There is a lot of code mixed in all those chapters.

The only bad thing I would say about the approach Kito took is that in Chapter 8 you are shown how to build the login page but you aren't shown how to create the application logic (java code) for it until chapter 12. I understand the reason he designed these chapters the way he did. All the logic is static and set in the navigation rules, so you can test your code fairly soon. I just would have liked to have seen a more complete example before having to read through 12 chapters to finally get it.

But it's still a damn good book, so far. And I would definately recomend it to anyone wanting to learn JSF. I'm still reading it.



There are also quite a few small examples for UI components, converters, validators, internationalization, and so on.

Also, just so you know, the book is segmented like that in order to appeal to front-end developers who don't write much Java code (if any). The idea is that they coud read parts 1 and 2 without seeing too much Java.


Kito D. Mann
Author of JSF in Actionwww.JSFCentral.com - JSF FAQ, news, and info
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Originally posted by Gregg Bolinger:
There is a test case called ProjectTracker. Starting with Chapter 7 Kito discusses design goals/considerations and then continues on through the projects lifecycle through about chapter 13. There is a lot of code mixed in all those chapters.


So do u mean that the chapters before Chapter-7 are in several-small-examples approach; and starting from Chapter-7 Mr.Kito applied a big test case called ProjectTracker till the end of the book?

It would be nice to see both approaches are mixed in the book...
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Ko Ko Naing:


So do u mean that the chapters before Chapter-7 are in several-small-examples approach; and starting from Chapter-7 Mr.Kito applied a big test case called ProjectTracker till the end of the book?

It would be nice to see both approaches are mixed in the book...


Pretty much, yep. Not quite to the end of the book though. Kito touches on some other important issues like combining JSF with Struts custom UI Components among other things in the last few chapters of the book.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Questions about examples in JSF in Action
 
Similar Threads
This Weeks Giveaway
Datagrid ---- JSF
Foundations of Ajax - Book
Stripes - JSF
To author