Hi - am am developing a
struts project on
tomcat 5.5 and need to receive xml files from a provider. I have a choice of either receiving them via ftp or http post.
Ive thought about both options and was thinking if ftp is used i could have a
thread polling the server to see if any xml docs have arrived and then load the data into the DB. If I receive an http post I could have a dedicated
servlet receiving the data and saving to the DB.
Does anyone have any adivce on this - i.e. the pros and cons of each strategy? Would this be a case for me to set up a web service for the http post to recieve the data?
Its a very tight deadline so simple is best.