Java Web Application
Posted
by Mark R
on Stack Overflow
See other posts from Stack Overflow
or by Mark R
Published on 2010-03-27T23:18:49Z
Indexed on
2010/03/27
23:23 UTC
Read the original article
Hit count: 118
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 get method
is sent to a servlet
, in the servlet doGet()
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
© Stack Overflow or respective owner