Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Services vs FTP and HTTP download

alrem mashayekhi
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Client requirements is this

1. Every time a transaction is triggered in app1, it creates a text file for that transaction. This would need to be sent to client (which is outside the network where app1 is deployed). An acknowledgement from client
is needed to say that the transaction is valid. Client needs to manually verify the text file so it's response could not be sent in real time.

2a. If requirement is the file is to be sent to client in real time every time a transaction is using ftp always the best choice or this? Using web service would need polling

2b. If requirement is the files for the transactions of the day is to be sent every midnight...... is using ftp and overkill and its best that this be implemented using web services? or would this be better if https download is used instead?

Other details:
-Average of 15 transactions a day with files having a size of 10kb to 20kb.
-App1 is a web app deployed in Websphere 8
-Client does not have an an app server, web server and ftp server. Only a runnable java client program can be sent to them if web services option is chosen.

If other factors or client requirement would determine which is better to use, what exactly are the requirements that would make using web service the best choice or the least recommended choice? The requirements I've just mentioned are what can be gathered at this time and other requirements are still to follow. I just wanted to plan ahead and see possible options and where it would likely be going.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic