WebSphere Extended Deployment Compute Grid, Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows


Batch data stream framework and patterns

Compute Grid provides a batch data stream (BDS) framework that includes pre-built code to work with popular streams like text, byte, database, datasets, and so on. You can implement an interface where the business logic for processing the stream is added. The pre-built code manages the opening, closing, externalizing/internalizing checkpoints, and so on.

[Version 6.1.0.3 and later]
New feature: You can use this feature if you have Version 6.1.0.3 or later installed.newfeat

BDS framework patterns

A BDS framework pattern is a simple Java TM interface for a particular type of data stream that a user implements to insert business logic. The BDS framework has several supporting classes for each pattern that do most of the mundane tasks related to stream management. The following table shows the patterns that Compute Grid provides:

Pattern name Description Supporting classes

[Version 6.1.0.3 and later] JDBCReaderPattern

Used to retrieve data from a database using a JDBC connection.

  • LocalJDBCReader
  • JDBCReader
  • CursorHoldableJDBCReader

[Version 6.1.0.3 and later] JDBCWriterPattern

Used to write data to a database using a JDBC connection.

  • LocalJDBCWriter
  • JDBCWriter

[Version 6.1.0.3 and later] ByteReaderPattern

Used to read byte data from a file.

FileByteReader

[Version 6.1.0.3 and later] ByteWriterPattern

Used to write byte data from a file.

FileByteWriter

[Version 6.1.0.3 and later] FileReaderPattern

Used to read a text file.

TextFileReader

[Version 6.1.0.3 and later] FileWriterPattern

Used to write to a text file.

TextFileWriter

[For z/OS operating system] [Version 6.1.0.3 and later] RecordOrientedDatasetReaderPattern

Used to read a z/OS dataset.

  • ZFileStreamOrientedTextReader
  • ZFileStreamOrientedByteReader
  • ZFileRecordOrientedDataReader

[For z/OS operating system] [Version 6.1.0.3 and later] RecordOrientedDataSetWriterPattern

Used to write to a z/OS dataset.

  • ZFileStreamOrientedTextWriter
  • ZFileStreamOrientedByteWriter
  • ZFileRecordOrientedDataReader

[Version 6.1.0.5 and later] JPAReaderPattern

Used to retrieve data from a database using OpenJPA

JPAReader

[Version 6.1.0.5 and later] JPAWriterPattern

Used to write data to a database using a Java Persistence API (JPA) connection.

JPAWriter

BDS framework steps

BDS framework steps minimize the amount of work needed to create a new batch step by performing the bookkeeping tasks related to step management and delegating the business logic to a class implemented by the user.

Step Description

[Version 6.1.0.3 and later] Generic batch step (GenericXDBatchStep)

A simple step that uses one input and one output stream.

[Version 6.1.0.5 and later] Error Tolerant step

A simple step that uses one input, one output stream, and one error stream.

ThresholdPolicies [Version 6.1.0.5 and later]

Step Description

[Version 6.1.0.3 and later] RecordBasedThresholdPolicy

This policy provides a Compute Grid implementation of the ThresholdPolicy interface..

[Version 6.1.0.5 and later] PercentageBasedThresholdPolicy

This policy provides a Compute Grid implementation of the ThresholdPolicy interface




Related tasks
[Version 6.1.0.3 and later] Developing Compute Grid applications
[Version 6.1.0.3 and later] Using the batch data stream (BDS) framework
[Version 6.1.0.3 and later] Generic batch step (GenericXDBatchStep)
Concept topic    

Terms of Use | Feedback

Last updated: Oct 30, 2009 6:22:31 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.gridmgr.doc/info/scheduler/cbtchpttrnover.html