aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes OCEJWCD Study Companion ERRATA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "OCEJWCD Study Companion ERRATA" Watch "OCEJWCD Study Companion ERRATA" New topic
Author

OCEJWCD Study Companion ERRATA

Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 86

Is there a place for errors of the book OCEJWCD Study Companion version 2012?
Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 86


Some mistakes I've collected about OCEJWCD Study Companion Third Edition. I hope that it helps!

page XII Introduction offical exam objectives
page XII Introduction Appendix A is named here and not found in the book
page 132 (see page 101) instead of page 104 where it appears methods getWriter and getOutputStream
page 187 ubiqitous "Hello World" (Orthographical)
page 188 This signals
page 203 answer for question 3 is said to be c ServletRequest.newAsync() but I didn't find it in the API, could it be ServletRequest.startAsync()?
page 267 unhandled exception ServletException on getPart("file1")
page 268 lack of parenthesis in if("yes"....
page 287 new EnumSet<DispatcherTypeS>();
page 290 question 4 (choose one) and there are 2 answers in page 295
page 291 question 5 (choose one) and there are 3 answers in page 295
page 291 question 6 (choose two) and there is only 1 answer in page 295
page 291 question 7 (choose one) and there are 2 answers in page 295
page 291 question 8 (choose one) and there are 2 answers in page 295
page 293 question 16 (choose one) and there are 2 answers in page 295, shouldn't be only E?
page 295 question 3 correct answers BC, as explain answer @Web...
page 311 em.query (I didn't find in API, maybe it is em.createquery(
page 311 Writer w = need to be change by PrinterWriter to use print afterwards
page 311 calculatePrice(4.5) need to add an f after 4.5
page 316 question 11 (choose one) and there are 3 answers in page 320
page 317 question 12 (choose one) and there are 3 answers in page 320
Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 86

There are no new code for chapter 18 Custom tags in new version of download bundle package.

Anyone can find the code for these examples of the book: mytags.MyConditionalTag(pg. 483), mytags.MyForTag(pg. 485), mytags.SelectCountryTag(pg. 487) mytags.ModerationTag(pg.491).
Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 86

I think I found some little corrections in 2012 version of the book

---------from here possible already reported but someone could be new------------
page XII Introduction offical exam objectives
page XII Introduction Appendix A is named here and not found in the book
page 132 (see page 101) instead of page 104 where it appears methods getWriter and getOutputStream
page 187 ubiqitous "Hello World" (Orthographical)
page 188 This signals
page 203 answer for question 3 is said to be c ServletRequest.newAsync() but I didn't find it in the API, could it be ServletRequest.startAsync()?
>page 232 Missed value of <dispatcher> element, ASYNC. Java Servlet Specification page 52, 6.2.5 "Filters and the RequestDispatcher"
page 267 unhandled exception ServletException on getPart("file1")
page 268 lack of parenthesis in if("yes"....
page 287 new EnumSet<DispatcherTypeS>();
page 290 question 4 (choose one) and there are 2 answers in page 295
page 291 question 5 (choose one) and there are 3 answers in page 295
page 291 question 6 (choose two) and there is only 1 answer in page 295
page 291 question 7 (choose one) and there are 2 answers in page 295
page 291 question 8 (choose one) and there are 2 answers in page 295
page 293 question 16 (choose one) and there are 2 answers in page 295, shouldn't be only E?
page 295 question 3 correct answers BC, as explain answer @Web...
page 311 em.query (I didn't find in API, maybe it is em.createquery(
page 311 Writer w = need to be change by PrinterWriter to use print afterwards
page 311 calculatePrice(4.5) need to add an f after 4.5
page 316 question 11 (choose one) and there are 3 answers in page 320 B,C,E
page 317 question 12 (choose one) and there are 3 answers in page 320
---------until here possible already reported------------

page 354 question 12 code public void jspInit()... but answer says: page 356 ... init method for a JSP is jspInit() not _jspInit(), which isn't invoked at all. In this case the answer will be A?
page 396 exchangeConversion() would have to change float to double because when I try to do in bundle example, exchange.jsp (in download bundle) the function called ${ elfuncs:exchange("GBP", "USD", 15.4) } coerces 15.4 as a double and produces an error. As well we would have to change <function-signature> to double types.
page 450 spelling of concious should be conscious?
page 501 pageContext.getOut... need to be surround by try/catch
page 501 out.write... unknown by compiler. it could it be pageContext.getOut().write
page 502 <mytags:classictag /> with body action empty bypass doAfterBody() so any iteraction is printed in the output ¿?

Thanks for this book, I learnt a lot!
Grigoriy Lorenzi
Greenhorn

Joined: Sep 09, 2013
Posts: 2
Here you can find official errata for that book: http://garnerpress.com/catalogue/BK0340/errata.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OCEJWCD Study Companion ERRATA