I am interested in creating a simple web application that will take in user input, convert it to an XML file and send the file to a database.
Coding wise I feel I am okay, it is just the general setup and what implementation to use I am a bit unsure of.
At the moment I have a JSP
page containing a form, the user fills out the form and on submit
a POST method
is sent to a servlet
, in the servlet doPost()
method the servlet is instantiating a java object
and passing it the user inputted data. The java object then writes that data to an XML file
and sends it to the database via REST
.
All I would be interested to know is if this the standard/optimal way of creating such a web application.
Any and all feedback is appreciated.
Thanks