-
Jul 12th, 2009, 10:29 AM
#1
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
-
Jul 13th, 2009, 05:26 PM
#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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules