• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Urgent...performance monitoring

 
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!