Results 1 to 2 of 2

Thread: Application Events in Spring RCP

  1. #1
    Join Date
    Jul 2009
    Posts
    6

    Default 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. #2
    Join Date
    Aug 2004
    Location
    San Francisco
    Posts
    423

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •