I've got a Tomcat Server (container) that sits on the other side of our company firewall. It needs information from a database that sits on the inside of the company firewall. I have another Tomcat server on the inside of the firewall.
Rather than supply the outside-the-firewall server with the info to access our database, I'm thinking that RMI to the other server, which would do the DB accessing, would be more secure. Is that true, and is RMI the best way to do this or should I be considering an alternative?
On another, completely unrelated note, Peter, check your private messages. [ October 28, 2007: Message edited by: Charles McGuire ]
As far as i understood. You wanted to make a call from one Tomcat server to another. isnt? I assume you will have a servlet on the tomcat server sitting behind the firewall that will do the DB processing. If so, why do you need RMI? You can directly call the servlet with appropriate parameters. Correct me if i have mistaken the problem.