O'Reilly logo

Mastering Eclipse Plug-in Development by Dr. Alex Blewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Designing an event-based application

Firstly, decide if using an event-based paradigm for the application makes sense. Event-driven systems are very useful if they meet the following characteristics:

  • Components are loosely coupled
  • Operations can be processed asynchronously
  • The state of an operation may be part of a transient (in-memory) workflow
  • Events can be broadcast and received by multiple listeners
  • There is a standard agreement for what details an event should have
  • The event topics are (or become) known at development time

On the other hand, the following are not suitable for (OSGi) event-driven systems:

  • Where the state of the workflow is not only UI-based but part of the domain
  • Where the consumption of an event is handled transactionally
  • Where large ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required