Contributors

Most Active
Recently Active
Streaming Large FTP Transfers with CAPS 5.1 and 6 (Streaming Large FTP Transfers with CAPS 5.1 and 6.pdf)

Preview

Transferring large payloads, on the order of tens or hundreds of megabytes, between a FTP
server and a local file system requires selection of appropriate features of the
Batch FTP and Batch Local File Adapters, and tuning certain timing parameters.
The Batch FTP and the Batch Local File Adapters are typically used to receive the entire
payload before writing it out. These may cause memory exhaustion and application
server failures. This text points out which timing parameters need to be tuned to facilitate transfer of large payloads. It also presents sample Java code that uses facilities of the Batch FTP and Batch Local File for streaming payload between the FTP server and the local file systems without using
excessive amount of memory. The material covered here was prepared using Java CAPS projects developed and tested in Java CAPS 5.1.0, exported, imported into Java CAPS Release 6 and tested again. It is expected that the code presented below will work in all versions of Java CAPS from 5.1.0 up.
Tags: JavaCAPS6, BatchLocalFile, BatchFTP, Streaming

About This Media

Contributor:Michael.Czapski-Sun
Size:178.7 KB
Downloaded:264 times
Content type:application/pdf
Uploaded at:2009-03-27 23:50
Last update at:2009-03-27 23:50
  • Link to this page:
  • Direct download link:
  • Link to this page:
  • Direct download link:
  • Link to this page:
  • Direct download link:

0 Comments

The individuals who post here work at Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Sun Policy on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Contact Copyright Sun Microsystems, Inc.