Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Questions about examples in JSF in Action

 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kito Mann
author
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic