Sun Adapter for Batch Tutorial

About the JCD Sample Projects

These topics provide an overview of the Sun Adapter for Batch Projects that use Java Collaboration Definitions.

Sample data files for the Sun Adapter for Batch projects are included with the samples. See Input_Files_Readme.txt included with the sample data files for more information.

prjBatch_Inbound_FTPIn_LocalFileOut

The prjBatch_Inbound_FTPIn_LocalFileOut Project demonstrates the following:

prjBatch_Streaming

Stream allows you to read large files by streaming the data. Three of the Batch OTDs are able to receive streamed data: BatchFTP, BatchLocalFile, and BatchRecord. The prjBatch_Streaming project demonstrates the following:

This sample works with an input file of any size. but to see the streaming feature in action, use a larger file.

prjBatch_Record

The prjBatch_Recordproject demonstrates the following:

prjBatch_Secure

The prjBatch_Secure project contains three scenarios to demonstrate the SSL and SSH secure file transfer functions of the BatchFTPOverSSL, BatchSFTP, and BatchSCP OTDs.

The project uses inbound File Adapters to poll an external directory for a specific input file. When the file is present, the appropriate File Adapter triggers a Collaboration to do the following:

Scenario 1 - FTP Over SSL

Scenario 2 - SFTP

Scenario 3 - SCP