How to Call a java service
I am working to build a home automation web application. I have multiple automation devices with RS232 interfaces. I have successfully interfaced with these devices using demo code. Now I would like to create a Java service/Daemon that read/writes to the COM ports and maintains the state of the devices for a tomcat web application to interact with.
2 things I am looking for are what is the best way to create this Daemon and how do I call the daemon from my web app?
I think my terminology is not accurate as I do not find much material when I search the web for "howto call Java service"
I am relatively new to java and familier with the basics of java, OO, etc.
Platform for development is eclipse on Windows. Server is Debian Linux.
Links to how to, proper terms and sample code would be appreciated.
I am more of a hacker than a student - try it don't study it.