Apache / Tomcat and a separate JavaSE program
Note: i have no experience with Apache/Tomcat whatsoever, so it please bear with me if i just missed the answer in the tomcat documentation.
So... I've got a rather big system, coded in Java SE, all working fine (at least everything i want to work). Now, i want it to be useable wirelessly (WLAN) via a webinterface. After some experimentation coding my own little webserver as an extra class within the system, i realized that's not a good way to go (too many problems with WLAN dropping stuff, different browsers using different encoding for the headers and so on). So i figured, why not use a already working webserver with a little added JSP that will handle the POST-stuff the client browsers will send. That JSP then should get the arguments from those POSTs and transfer them to my bigger program (both running on the same machine btw).
So, before i start coding, what i basically would like to know is: Is it even possible in the way i just described? And, if so, how would i go about getting the stuff from the POSTs from the Tomcat to my own program (like i said, i know next to nothing about Apache/Tomcat)?
Thanks in advance...