I have some data coming from a machine in the following format: A (some value) B (some value) C (some value) and so on.
I have a database in the Microsoft SQL server 2008 with the columns named A, B, C and so on.
I have downloaded the jdbc drivers for the MS SQL server 2008 and included in my classpath.
I want to insert the values of A, B, C, etc in SQL when i receive it over from a different machine(port). Basically i have to design a server in Java which listens to that port for the values and when it receives the values, it inserts it into the MS SQL database.
Can someone help me code the above in Java? I am new to Java, hence finding it a bit difficult.
Thank you.