The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

asenft (5) [Avatar] Offline
#1
Hi,

I just found some glitches in chapter 7:

chapter 7.1.1, page 257. Second to last paragraph of "Module versioning is brittle":
"...but the coursegrainedness
of the dependency model leaves much to be desired."

should be "coarsegrainedness"

chapter 7.1.2, page 258. Last paragraph before "Downsides and Pitfalls":
"...the version 1.0.0.beta1 would be considered to be of a higher version then a bundle with
version 1.0.0."

It should be "than a bunde with..."

chapter 7.1.2, page 258. "Downsides and Pitfalls":
"Other then this, the OSGi compatibility policy..."

should be "Other than this, ..."

Regards,
Andreas
asenft (5) [Avatar] Offline
#2
One more:

First sentence of chapter 7.1, page 267 is missing an "is":
"Given the modular nature of OSGi and the ease with which one can handle bundles it [is] likely that over time..."
richard.hall (87) [Avatar] Offline
#3
Re: Chapter 7
Look for a major edit of ch7 to be posted shortly. I don't think this sentence exists anymore, but thanks for reporting it and let us know about anything else you find.
serverdude (24) [Avatar] Offline
#4
Re: Chapter 7
I know there's a major edit of the chapter, but here's what I found:

7.1.1 p.255 last line:
'Wait, surly I could version my jars before, I hear you say?'
'Wait, surley I could version my jars before, I hear you say?'

Latter vs later:
7.1.1 p. 257 4th line:
' The later make it difficult to maintain applications over time'
' The latter make it difficult to maintain applications over time'

p.279 2nd line of last paragraph before 'Deployment Packages' subsection:
' The later contain the square'
' The latter contains the square'

p.280 last paragraph, 2nd line:
'In the later this is possible.'
'In the latter this is possible.'

7.1.3 p. 260 1st paragraph, 2nd last line: its -> it
'then its starts to become more tricky as a suggestion'
'then it starts to become more tricky as a suggestion'

7.1.4 p. 265 last sentence of last paragraph before Listing 7.3 should point to Listing 7.3 but points to 7.1
'Listing 7.1 shows a simple session demonstrating what you can do with these commands.'
'Listing 7.3 shows a simple session demonstrating what you can do with these commands.'

p.277 last line: us -> use
' If we now us the obr-resolver command with a filter'
' If we now use the obr-resolver command with a filter'

p.279 3 line in the 1st paragraph of 'Deployment Packages' subsection: Reference
'Figure XXX' -> 'Figure 7.9 Deployment Package Schema'

p.281 1st line of last paragraph before 'Fix Packages' subsection: use -> us
'In terms of our example this leaves use with the need to make a decision.'
'In terms of our example this leaves us with the need to make a decision.'

p.284 12th line from the bottom. where -> were
'If the target bundles where started before and the state'
'If the target bundles were started before and the state'

p.284 6th line from the bottom. Reference
'Figure xxx' -> 'Figure 7.11: Transactional aspects of a session'

p.287 Section 7.3 2nd paragraph. this -> these
'Fortunately, there are services provided for each of this tasks.'
'Fortunately, there are services provided for each of these tasks.'

p.294 7th last line of first paragraph: afterwords -> afterwards
'it is created on the first call but afterwords it stays the same'
'it is created on the first call but afterwards it stays the same'

p.294 4th line of last paragraph: One 'can' too many
'But wait, how can you can describe what kind of data your services accept in their configurations?'
'But wait, how can you describe what kind of data your services accept in their configurations?'

p. 297 Section 7.3.3 1st line of 2nd paragraph: payed -> paid
'If you payed attention'
'If you paid attention'

p. 298 2nd paragraph, 3rd line: Rewrite.
'So the same node can have a property with the same key then the name of one of its child's.'
'So a node can have a property with the same key as one of its children.'

Section 7.4 p. 298 text alignment: Left aligned as opposed to justified everywhere else.
richard.hall (87) [Avatar] Offline
#5
Re: Chapter 7
> p.281 1st line of last paragraph before 'Fix
> Packages' subsection: use -> us
> 'In terms of our example this leaves use with
> h the need to make a decision.'
> 'In terms of our example this leaves us with the
> e need to make a decision.'
...
> p. 298 2nd paragraph, 3rd line: Rewrite.
> 'So the same node can have a property with the same
> e key then the name of one of its child's.'
> 'So a node can have a property with the same key as
> s one of its children.'

It looks like we had them all corrected already, except for the two above. Some were harder to determine since the text has changed quite a bit. The new version should be available any day now, we handed it off for posting...actually a while ago.
serverdude (24) [Avatar] Offline
#6
Re: Chapter 7
From the January 2010 edition:

p. 263 section 7.2, second listing starts from 3

p.279 last line:
'Even for our shell, we could easily extend it to handle a command scripts to execute commands in batches'
'Even for our shell, we could easily extend it to handle a command script to execute commands in batches'

p.280 4th line of 2nd paragraph:
'which bundles should be deploy to it.'
'which bundles should be deployed to it.'

p.280 'Alternative technologies' box last line (on page and of Nimble subsection)
'then a servlet container should be deployed and activated along side it.'
'then a servlet container should be deployed and activated alongside it.'

p.282 1st line:
'that the no server-side process is needed'
'that no server-side process is needed'

p.285 1st line of last paragraph before 'Browsing OBR repositories' section
'The repository XML is fine and all of that'
'The repository XML is all well and good'

p. 285 4th line in 'Browsing OBR repositories' section
'programatic entry point'
'programmatic entry point'

p. 290 5th line (from the top):
'but other types of resources in the deployment package by handing them off to a ResourceProcessor service for that specific type of resource.'
'but other types of resources in the deployment package are handled by handing them off to a ResourceProcessor service for that specific type of resource.'
richard.hall (87) [Avatar] Offline
#7
Re: Chapter 7
Fixed them all, thanks!
jpclouse (8) [Avatar] Offline
#8
Re: Chapter 7
1. On page 263 the first list is bulleted but the second is numbered, starting with the number 3.
2. On page 280 is the sentence "One of the more critical aspects of managing the framework is determining which bundles should be deploy to it." Change "deploy" to "deployed."
3. On page 281 is the statement "The OSGi Alliance hosts their own repository at bundles.osgi.org." This URL redirects to the OSGi home page at osgi.org. One can either select the "OBR Bundle Repository" menu item on the home page, or you can direct them to http://www.osgi.org/Repository/HomePage.
4. On page 281 is the sentence "One of the benefits of define an XML-based repository format, is that the no server-side process is needed (although a server-side process is also possible)." Change "define" to "defining" and remove the word "the" from "that the no."
5. On page 284 is the sentence "Both capabilities and resources have a name, which is actually a namespace and is how capabilities are matches to requirements." Change "matches" to "matched."
6. The text in figure 7.11 says "An external RepositoryClient uses the RepositoryAdmin and Resolver interfaces to install download and install bundles and their dependencies." Remove the first "install."
7. In listing 7.13 the command "obr-repo list-urls" should be "obr-repo list-url" ("list-url" is singular).
8. On page 292 is the sentence "In terms of our example this leaves use with the need to make a decision." Change "use" to "us."
9. On page 294 is the sentence "If you make deployment packages available via a protocol that supports mime-types, the
standard MIME type is for deployment packages is application/vnd.osgi.dp." The first "is" should be removed.
10. On page 296 is the sentence "These kind of services are provided by “customizer” bundles delivered as part of the deployment dackage." Change "dackage" to "package."
11. On page 298 is the sentence "For example, you might define a set of bundles comprising a safe mode, where you deactivate all
but a small set of trusted bundles and provide limit core functionality for safety or security reasons." Remove the word "provide."
12. On page 300 is a sentence starting with "As you can imagine, changing the active start level of the framework can have a dramatic impact on the framework depending,...." The word "depending" doesn't seem correct but I don't know what was intended. Should it be removed?
13. On page 301 is a sentence starting with "If the “startlevel” command is passed a argument,...." Replace "a" with "an."