newuser17 0 Newbie Poster

I want to store data that user inputs [form based using xml] into a postgres database, so i would like to know is it wise to develop a web service or just it is better to use a jdbc connection

As I am new to this environment please help me in this