File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Moving lots of data Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Moving lots of data" Watch "Moving lots of data" New topic
Author

Moving lots of data

Steve Wood
Ranch Hand

Joined: Jan 08, 2003
Posts: 137
Hi guys,

I was wondering if there are any 'best practice' techniques for sending large amounts of data through a web service.

When I say large amounts of data, I mean gigabytes of data, not MBs.

I realize there are other protocols that might be more suitable (such as zipping the data and FTPing), but I'd really like to keep this as a web service - because it gives me a lot more control and security.

Any thoughts?

Steve
D L
Greenhorn

Joined: Aug 12, 2005
Posts: 13
This paper suggests that SOAP may not be not the best method of moving very large datasets .. such as in climatic modelling.

See also here ..
Steve Wood
Ranch Hand

Joined: Jan 08, 2003
Posts: 137
Thanks,

That's interesting to read - annoying though. I'd love to use a web services interface to pass the data. I can understand the arguements about parsing XML, bandwidth, etc, but were't web services supposed to be about transmitting data as well as application calls?

Looks like I'm going to have to look at some form of FTP system...

Steve
D L
Greenhorn

Joined: Aug 12, 2005
Posts: 13
You can use SOAP to pass data pointers (not the full dataset which would be passed through another channel).

See 3.3 in this paper .. again on grid computing.
 
 
subject: Moving lots of data
 
Threads others viewed
Maximum reqeust length exceeded
fastest way fetch data through http
database alternatives?
Proper mix of Servlets and JSP
Regarding CachedRowSet
MyEclipse, The Clear Choice