Hello, I have a desktop application which I want to use to send and receive information from a remote DB and I was wondering what was the best way to go about it. Obviously a direct connection using JDBC would expose the DB too much so I was thinking I could create a servlet to pull the information from the database and use RMI to communicate with the desktop application? Is there any other specific protocole Im better off using? What web server do you recommend? Tomcat? GlassFish? How would you do it?