Best way to communicate between Jave Windows Service and GUI?

Greetings,

I have an existing java app that I would like to split. I would like the model to run as a service that starts with M$ Windows (it needs to run 7x24). And have the GUI view to act as an 'administration' tool that can used to control various aspects of the service (not simply start/stop).The GUI does not need to be run remotely.

I have searched the web and solutions are numerous, but hard to understand. What method would you suggest to a relative beginner and what are the pros/cons?

Thanks much,

--bill

[551 byte] By [12ozPa] at [2007-11-27 8:12:02]
# 1

Hi,

Here there are two separate applications. One is running as service application and other one is to monitor/control this service. You need to establish the connection between these two. You can use simple flat file, port or database. Both needs to poll to specific field and start communicate with each other.

Regards,

Bhavani P Polimetla

polimetlaa at 2007-7-12 19:56:17 > top of Java-index,Java Essentials,New To Java...