For an assignment I am developing an application that need to perform insertions in a MySQL database.
I am using JDBC but the hosting services I have don’t provide support for JDBC.
What can I do? Is this method too old? Can you suggest me any alternative to basically insert from a Java application into a remote MySQL database?
EDIT: 
I wonder why people spend time editing old questions in a useless way… do you really care if I write mysql or MySQL? Does not make sense to me, you could spend your time actually answering the question…
No, it’s not old, in order to connect to a database using java you need to have JDBC! start a simple JSP proof-of-concept in order to do that and probably you’ll see it working. I don’t think there’s a host without JDBC support. Anyways, here is a really simple / insecure / old fashioned JDBC example:
EDIT: Please not that this is proof-of-concept, this code is vulnerable to SQL injection and/or needs to be improved.