Errata

Enterprise Development with Flex

Errata for Enterprise Development with Flex

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 xxi
link for examples

From http://oreilly.com/catalog/9780596154165, I select Examples, and get a blank directory listing page.
How can I get the code samples for this book?

DJPJ  Jul 09, 2010 
Printed Page xx
5th paragraph

the link to obtain the source code is non-functional.

Anonymous  Oct 27, 2010 
Printed Page 17
5th line

Page 16 makes note that the name is IModelLocator for an interface.
This is then implemented by AppModelLocator, but the leading I is inadvertently dropped from Example 1-9 P17 Line 5

Jeremy Flowes  Jul 09, 2010 
Printed Page 25
Half way down page

Function saveEmpoyeeList needs to be saveEmployeeList - Missing an 'l'

Jeremy Flowers  Jul 09, 2010 
Printed Page 50
Example 1-24

Why are you using XDoclet style comments to define SQL?
This is so antiquated as an approach when you have annotations, Hibernate, JPA, GORM etc at your disposal.

Jeremy Flowers  Jul 10, 2010 
Printed Page 87
example at bottom of page

Firstly I'm a bit dubious as to the validity of transferring business rules from the domain model to a DTO, but I can see the reasoning, so you can bind it directly to a UI component. But doesn't this detract from O-O principles of keeping logic in one place.
Secondly, shouldn't the function have a [Transient] metatag, so nothing gets serialized?

Jeremy Flowers  Jul 10, 2010 
Printed Page 97
Half way down page

In the case of Premium, wouldn't you want a Premium, rather than TrialMemberRenderer?

Jeremy Flowers  Jul 10, 2010 
Printed Page 103
Third line relating to switcher

You only mention Label, but if the data object passed to the switcher isn't null, then you'd get a TextInput. I'd have thought TextInput would have been more significant than the Label...
(Text relates to Example 2-23 on P101)

Jeremy Flowers  Jul 10, 2010 
Printed Page 114
2 or 3 lines above section heading

Book says, printing gets covered in the last chapter.
Printing gets discussed in chapter 11 (there are 12 chapters)
(Don't you wish you'd taken me up on the offer to be a proof-reader now, before book went to print?)

Jeremy Flowers  Jul 10, 2010 
Printed Page 200
4 lines from bottom

getPriceQuetes() needs changing to getPriceQuotes()

Jeremy Flowers  Jul 12, 2010 
Printed Page 207
half way down page

@NamedQuery annotaion employeess.findAll - remove second 's'

Jeremy Flowers  Jul 12, 2010 
Printed Page 252
Paragraph at foot of page after example.

It makes reference to three buttons
Load Module, Modify Content ,Unload Module
1) I only see one button in code of 5-32 and Fig 5-11 : The Run Test one..
I'd hazard a guess you've got a cut & paste error relating to another chapter here.

Jeremy Flowers  Jul 12, 2010 
Printed Page 291
Example 6-7 at start of getEmployees_synch

Coonection : change to Connection

Jeremy Flowers  Jul 12, 2010 
Printed Page 314
Example 6-25

Doesn't the RemoteCall class need to extend Serializable? I'm able to compile this class with no errors, but all custom objects in "public List parameters" are of type 'Object' when they arrive at the client, and cannot be type casted to their appropriate object even though the valueObject class for these custom objects has been created on both the java and flex sides.

Anonymous  Jun 13, 2011 
Printed Page 324
Example 6-34

The example 6-34, changes the connection to HTTPS if the connection is HTTPS. The surrounding text states that the code should change the connection to HTTPS if the connection is HTTP.

Also, there is a double period on "const channels:XMLList = ServerConfig.xml..channels.Channel;" line.

Finally, the code doesn't appear to work.
The XMLList is always empty in debug mode.

Anonymous  Dec 05, 2011 
Printed Page 352
Given example 7-21

Given example is not working as explained in the book. Please look into the issue.
After following the steps given in the book, it still giving same error.

I am not able to justify line "import mx.containers.Panel;Panel; " in the example. Why there is last Panel with import statements.

I added line private var customPanel:CustomPanel = new CustomPanel(); in the given example and it started working.

Gautam Pandey  Sep 23, 2011 
Printed Page 456
Example 9-4 (all actually: in section Working With Local Database)...

I know this is an intro... but I'd have coded the SQL to prevent SQL injection attacks?
Can you use named parameters?

Jeremy Flowers  Jul 13, 2010 
Printed Page 462
Bottom of page

If I understand this right you have a air app with 'offline' in the name, which can be used in 'connected' mode only. There's a certain irony there, wouldn't you say? :-)

Jeremy Flowers  Jul 13, 2010 
Printed Page 470
7 lines from bottom of page

initNetworkURIMonitor() : Should be initServerURLMonitor()

Jeremy Flowers  Jul 14, 2010 
Printed Page 485
The line above Figure 9-15

a letter 'y' is missing getVisitDataBySalesman ....

Jeremy Flowers  Jul 14, 2010 
Printed Page 488
Paragraph at bottom starting "The title of the map ..."

I'm assuming this narrative relates to Figure 9-16. But I see no such title. Are we talking about the label associated to the map pin here, or some sort of browser title bar?
(ie: quote 'the title of the view' - what does this refer to?)

Jeremy Flowers  Jul 14, 2010 
Printed Page 519
Point 8 at bottom of page

There is obviously a mistake on point 8. You are replacing one war with another here.
Probably an Adobe one with a Farata one. But you say you are replacing war 'a' with war 'a'. Doh!

Jeremy Flowers  Jul 14, 2010 
Printed Page 519
For steps on pages 519/520

Suggestion Why don't you do a Youtube or Vimeo screencast of these steps? and put a link in book?

Jeremy Flowers  Jul 14, 2010 
Printed Page 592
This is a duplication of content 592 last 3 lines : 599 Note.

The note would get my vote, but it looks like you are repeating yourself here.

Jeremy Flowers  Jul 14, 2010