Alright, I've never done this before so this may not be the way to go about it, but here goes.
I'm creating an Application that connects to a Server which executes SQL Queries. I am coding the Application as a prototype in Java currently and extending it later possibly with an API that converts the Java code into a Native iOS Application (RoboVM). I am coding the Server in Java, this is the part I'm not sure if it's the best way to do it.
To do this, I need to "connect" the Client to the Server. How would I go about this?