• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web Services Question

 
S Subramonyan
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a requirement. I am lookign for a way to sort this out.

I have a servlet, that would get input from the user. For some organization specific reasons, my company does not want to call a servlet to process the user input. We'll store the user data to a text file/xml file.

I need a way to process this data by a timed program(like a timer). It should pick up this text data and then give this data to a URL like("http://host/dataProcessor.jsp"). And my program should be able to get the data thats returned from this URL.

Is this soemthing that only a web service can do or is there any other way to do it or if its a web service thing, how do I do it.

I appreciate you help.

Thanks
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can achieve the requirement without web services but the primary reason I think for going for web services is any business process functionality that need to reused across organizations that may be hosting heterogeneous technology stack and ofcourse you cannot expect management services like service restart/start/stop etc. and performance so easily with web services.
 
S Subramonyan
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kumar.

Ya, I realized, I don't even need Web Services for this. I was totally illiterate about URLConnection class in Java SE.

I used URLConnection and its working perfect as I wanted.

Thanks for your help!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!