Announcement Announcement Module
Collapse
No announcement yet.
Application Events in Spring RCP Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Application Events in Spring RCP

    Hi all,

    In the application I'm developing, i have used several panels and sub panels.. sometimes i need some events fired on button clicks, but the problem is those buttons reside in much deeper sub panels, and its kind of hard to have reference of those , therefore, i decided to use Application Events .. but some other guy told me that Application Events are much expensive , so not to use those ... is that true? Are those much expensive? if so, why those are available in the framework ??

    could you plesase provide me an altrenative solution also .. ?


    Thanks in advance ..
    kool S

  • #2
    Hi,

    I've used application events before to decouple my components and haven't noticed them being too expensive. I'd say if the events are being generated by humans any overhead will be negligible.

    That said, I've been using eventbus (https://eventbus.dev.java.net/) recently for the same purpose with great success.

    Jonny

    Comment

    Working...
    X