Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write as servlet as webservice?  RSS feed

 
jackyxin li
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to write a servlet as a webservice which provides file transport.
please give me some advise., thanks!
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First off: You really want this to be a web service? There are simpler ways of transporting files over HTTP than that (and the Jakarta Commons HttpClient and FileUpload projects can help you implement them).

With web services, you don't write servlets - you use a web service engine (which usually is based on servlets, but that's transparent to you). You'll find a number of links to get you going in the Web Services FAQ, which is linked in my signature. There are introductory articles using the Axis engine, and there's also an article on transferring files over web services.
[ November 10, 2005: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!