lundi 22 décembre 2014

Java: how to notify element in different project?

I have two projects:



Project A is a simple AWT UI project, imports Project B
Project B is a db import project


Project B writes data to a database and Project A should show the progress.


How can i realize this task:



  • should i use some sort of observer pattern?

  • should i create a custom event and fire it for every inserted row?

  • any other suggestions?


Aucun commentaire:

Enregistrer un commentaire