Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OCEJWCD Study Companion ERRATA

 
Joey Sanchez
Ranch Hand
Posts: 88
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a place for errors of the book OCEJWCD Study Companion version 2012?
 
Joey Sanchez
Ranch Hand
Posts: 88
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 88
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 88
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here you can find official errata for that book: http://garnerpress.com/catalogue/BK0340/errata.html
 
Bartosz Ossowski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the link does not work Did anyone download errata before it disappeared?
 
Bartosz Ossowski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I contacted Garner Press and they fix the link ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic