Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A component implementing a dictionary service
  • A component requiring the dictionary service and providing a spellchecker service
  • A component requiring the spellchecker and providing an user interface!spell.png!

Image Added

Preparing the tutorial

This tutorial is based on Ant. So, you need to have the Ant program accessible in your path (see here to download and install Ant). Download the tutorial archive available here and then unzip it. The archive is composed by seven directories:

...

When starting the GUI bundle, the user interface appears. Indeed, the Check Speller service is provided. You can interact with this service by entering a passage and clicking on the check button:

Then, stop the Dictionaryservice provider (with the stop 6) command. The GUI disappears. Indeed, Spell Checker service cannot be provided as it depends on the Dictionary service.

Then, restart the Dictionary service provider with the start 6 command. The GUI reappears immediately. You can try to stop the check speller service provider without stopping the dictionary service provider with the stop 7 command. As for the last manipulation, the GUI disappears.

Conclusion

We saw how to use easily iPOJO to build service-oriented component. In this tutorial, we have demonstrated how to:

...