Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8564281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:09:46+00:00 2026-06-11T17:09:46+00:00

Do EventBus events work across an RMI connection? Basic idea: I have an RMI

  • 0

Do EventBus events work across an RMI connection?

Basic idea: I have an RMI server and any number of clients. The server holds the EventBus object and publishes it via a getEventBus() method.

Desired outcome: When a client publishes something on the server’s EventBus, other registered clients are informed.

Has anyone done something like this or knows why it wouldn’t work? Are there any pitfalls if it does?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T17:09:48+00:00Added an answer on June 11, 2026 at 5:09 pm

    Messages published by EventBus are only avaiable within your JVM. Since you use RMI I guess your server/clients will run in their own environments, so this is not possible (eventhough I heard, that ppl tried to implement a remote EventBus, but I don’t know if that succeded). Normally EventBus is used for UI specific communication within the same application.

    As soon as you want to communicate between different JVMs, something like Java Messaging Services (JMS) comes in handy to broadcast Events from server to interested clients. A famous implementation of JMS is ActiveMQ.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have code similar to this in all my observer classes that handle events
I'm fairly new to using coffeescript and I have the following code eventBus =
I'm trying to use EventBus from Jython. Sending events to the from Jython bus
I have some problems spying on a real SimpleEventBus implementation of EventBus: I have
I have an Akka ActorEventBus (reference https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/event/EventBus.scala#L70 ) that handles a lot of messages
We have a number of plugin applications that can all run independently but also
Say I have the following modules, split across multiple files both capable of extending
Will the events that I added to the global event bus deleted by calling
What is a good pattern for sharing data between related views?. I have an
I have a Cell that handles both click and dblclick. One behaviour for click,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.