okay forget everything, see it like this -
i have a desktop java application, it contains two maps which are updated at every 60 second interval. These needs to be exposed to whoever wants them through HTTP. So i am gonna need a web server for that say tomcat.
My application becomes a model, i'll use JSP's for the viewer and servlets will be controller. So i am using struts to implement this.
Now, normally you see servlets picking up data from a database or struts action files doing something. I have to get it from this java application. Now how to make this connection b/w tomcat and my standalone java application is the question ???