tomcat + inter-process communication?
I have a web application running on a tomcat server and I wanted to write beans that would communicate with another java application that runs on the server. I'd like for the bean code in the jsp server to be able to call methods from the running java application. Is there some sort of inter-process communication (IPC) that would allow me to do this? Is there some easier way of doing it? The back-end application needs to run all the time (has a 'main' method), and is multithreaded. I am kind of new to these sort of things and would appreciate any kind of feedback.
Thanks in advance,