Errata

J2ME in a Nutshell

Errata for J2ME in a Nutshell

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 17
The paragraph after the two bullet points

The URL listed as "http://java.sun/com/j2se/" should be "http://java.sun.com/j2se".
(the third slash should be a dot '.').

Anonymous   
Printed Page 154
First paragraph

It says: "For both paramaters, a positive value indicates a clockwise turn; a
negative value indicates a counterclockwise turn."

This is backwards. Positive is counterclockwise; negative is clockwise. The
examples later on the page get it right.

Anonymous   
Printed Page 165
Figure 5-15

The arrows indicating the leading metric of the font indicate it goes from the
baseline to the bottom of the font area. The leading is from the bottom of the
descender to the bottom area.

Anonymous   
Printed Page 192
last part of the code on the page

Is written:
int total = dis.readFully(buf);
Have to be:
dis.readFully(buf);
because function readFully() return void.

Jozef Krivan  Jan 19, 2009 
Printed Page 197,198,207
Beginning with code example at bottom of page

The code on p. 197 calls Connector.open() to create an HttpConnection, then
IMMEDIATELY calls getResponseCode() -- the text in the next paragraph (top of p. 198)
explains that it isn't necessary to first send a GET request because the
"HttpConnection does it for you".

The code on p. 207 calls Connector.open() to create an HttpConnection, then
IMMEDIATELY calls setRequestMethod() to make the request into a POST before it is
sent. BUT HOW WAS THE "AUTOMATIC" SENDING OF A "GET" REQUEST BY THE HttpConnection
SUPPRESSED?

Is it the call to getResponseCode() that actually kicks off the transfer to the
server?

Anonymous   
Printed Page 198
3rd paragraph

"In this case, the setLength() method returns -1..."

Should be getLength()

Anonymous   
Printed Page 200
2nd paragraph, last sentence

"containg"

Anonymous   
Printed Page 230
Last paragraph, 1st sentence

"represent" should be "representing"?

Anonymous   
Printed Page 233
1st paragraph, last sentence

"In order [to] build..."

Anonymous   
Printed Page 304
1st sentence

"...refer to Chapter 25."

There are 18 chapters in the book.

Anonymous   
Printed Page 314
List of Packages Not Included in JSME

I have found three Packages that have not been included they are javax.crypto and
javax.crypto.interface and jaxax.crypto,spec

Anonymous   
Printed Page 385 -95
side headding

The side headding is java.microedition.io when it should say javax.microedition.io

Anonymous