After an initial hiccup, I've found these tutorials immensely helpful, and
thought I'd offer a few suggestions to make better still.
Tutorial Example 1
* Is missing the note about the trailing carriage return (which is
rightfully in every other tutorial).
Tutorial Example 3
* The tutorial states that we don't have to unget or release the service in
the stop() method because the OSGi framework does so automatically, but this
line exists in the start() method:
// Unget the dictionary service.
context.ungetService(refs[0]);
So the service appears to be manually, not automatically, ungotten, unless
I'm missing something.
Tutorial Example 4
* Code is missing "import org.osgi.framework.InvalidSyntaxException"
* This line:
m_context.getServiceReferences(DictionaryService.class.getName(),
"(Language=*)");
is missing the assignment to "refs" (refs is always null).
That's as far as I've gotten. Thanks again!
Jared
--
View this message in context:
http://www.nabble.com/Suggestions-for-tutorials-tp15768978p15768978.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]