Hi,
There is a
Java application say Data.java , which retrieves data from 'n' databases and updates the local DB. Its just like a scheduling prg., can be run at a particular time to accomplish the task.
While running this application (java Data), admin wants to see the performance of this application thru a frame (awt) with progress bars showing query performance and reasons if any exceptions occurs. In the sense he wants to monitor the performance of running Data application. So two prgs running at the same time, one is dealing with DB and other is dealing with UI part(showing in progress bar).
--> Is there any way to display UI part(showing progress) while Data application is running. I cant embed UI part in Data application(in same appli.) bcoz of performance issues since Data.java 's core aspect is to deal with DB part but not displaying UI. How to relate this two applications, according to my understanding even if u add listener (Observer pattern) to notify event should be present in single application( having one main method) know.
--> Is there any way to relate these two classes, while Data.java is running, UIPart.java has to display the performance simultaneously.
Hope u understood.
Thanks,
Anil
SCJP 1.5, SCEA, ICED (287,484,486)