Jump to content

Java Events ?


entity
 Share

Recommended Posts

Hello Forum,

So I've been doing a project lately where I have the business end of things in a module and the GUI of this particular software in another module (2 separate files in the same project), I was wondering what the best way to interface the two modules is, are custom event firing/handling the way to go or does anyone have any other (more efficient) way of doing the latter mention. The person wanting the software needed it to work in both an offline mode (local) and also in the form of a web-based front-end solution, which is why I needed to loosely couple the previously mentioned two modules.

Thanks in advance,

Entity

Link to comment
Share on other sites

Hello Forum,

So I've been doing a project lately where I have the business end of things in a module and the GUI of this particular software in another module (2 separate files in the same project), I was wondering what the best way to interface the two modules is, are custom event firing/handling the way to go or does anyone have any other (more efficient) way of doing the latter mention. The person wanting the software needed it to work in both an offline mode (local) and also in the form of a web-based front-end solution, which is why I needed to loosely couple the previously mentioned two modules.

Thanks in advance,

Entity

The exact strategy will vary depending on the project. Event handing is one of many valid strategies. In general, you want to make your interfaces as simple and obvious as possible without oversimplifying them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...