Help in (re)designing my Swing application
Posted
by
Harihar Das
on Programmers
See other posts from Programmers
or by Harihar Das
Published on 2013-10-26T07:07:30Z
Indexed on
2013/10/26
10:12 UTC
Read the original article
Hit count: 376
I have developed a Swing application that controls execution of several script like jobs. I need to display the interim output of the jobs concurrently. I have followed MVC while writing the application. The application is working as expected. But off late I have the following requirements in hand:
- A few of the script jobs need special user privileges to execute so as to access specialized resources. There seems to be now way in Java to impersonate as a different user while running an application.[examined in this question]. Also trying to run the Swing application as a scheduled task in windows is not helping.
- Once started the jobs should be running even if the user logs off after starting the jobs. I am thinking of separating the execution logic from the UI and run that as a service; and introduce JMS in between the two layers so as to store/retrieve the interim the output.
Note: I need to run this application on windows
Any ideas on meeting my requirements will be highly appreciated.
© Programmers or respective owner