Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8814545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:09:12+00:00 2026-06-14T04:09:12+00:00

Is there a book or any documentation available that describes the best practice for

  • 0

Is there a book or any documentation available that describes the best practice for designing batch (offline) processes for sharing data between two parties?

I have found some useful information on the spring batch site, but it is quite low level:
batch processing strategies and batch principles guidelines.

There are a lots of considerations for batch, for example:

  1. data transfer method (e.g. files)
  2. control protocol between the two parties
  3. error handling
  4. file naming conventions (if using files for transfer)
  5. synchronising cut-off times between the two parties
  6. etc.

It would be good if there was some authorative document or checklists that ensure designs follow the best practice in the field.


UPDATE:

I’ll add answers to this section as I come across them.

General Batch/Offline Processing info

This section is taken from @user1813068’s answer.

You can find some architectural design patterns at this link and also at this link that describe approaches for partner to partner integration and for data synchronization.

This wikipedia page also gives a high level overview of architectural patterns and includes patterns for Data Integration: architectural patterns.

The book Data Integration Blueprint and Modeling is very good too.

Data Files

Most of the content in this section has come from here: source

The use of headers and footers for flat file exchange is considered best practice. Flat files can be exchanged without headers and footers and the naming of the file can outline some of the same information as the header. When using a delimited file, the field list header is always required.

Headers

When exchanging data between systems, it is very important for the receiving party to know exactly what type of data is being sent. One way to ensure this is to provide a header row that includes pertinent information regarding the content of the data and how it should be processed.

When working with flat files, the filename itself can also be used to inform the receiving party of the content of the file. However, a header row provides better support for all options that may be available.

When working with an API these header fields can be provided in a similar fashion. Implementation will be determined by the developer of the API service.

If the header is included, it consists of a single set of data, and must always be the first data in the file.

Footers

A footer may be provided when using file-based formats to indicate that there is no more data left to process.

When processing, the data found after the footer row should be ignored. Also, when creating the data, be aware that any data after the footer row will be ignored.

Data Formats

Delimited Files

The de facto industry standard is delimited files.

Comma-delimited (CSV, or comma-separated values) files usually requires data encapsulation, usually with double quotes (“); the double quotes must then be escaped, either with a backslash () or double double quotes (“”). Due to the inconsistencies in CSV implementation, it is recommended to use tabs as a delimiter, with no encapsulation. In this case, tab characters must be removed from the data. Delimited Files are usually quicker to process that XML Files.

XML Files

There are some in the industry who prefer XML files. XML allows for a more clear representation of the information, since it supports nested data. Many companies have limited or no support for this format, so it is not recommended.

Encoding

UTF-8 Encoding

All data should be UTF-8 encoded to ensure maximum compatibility between all systems.

Dates & Times

It is recommended to use UTC time for all date & time fields to prevent confusion.


Some more best practices: EDI Scheduling and File Transfer

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:09:14+00:00Added an answer on June 14, 2026 at 4:09 am

    You can find some architectural design patterns at this link and also at this link that describe approaches for partner to partner integration and for data synchronization.

    This wikipedia page also gives a high level overview of architectural patterns and includes patterns for Data Integration: architectural patterns.

    The book Data Integration Blueprint and Modeling is very good too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any book or links that I can read some tutorial about the
Is there any book/resource that one can refer to, to be able to write
Is there any documentation about internal structure of Git index file? From various book
Is there any resource or book for creating own linux distro.Only good resource i
I'm reading a book about SQL. In that book there's the term Ad Hoc
http://learnpythonthehardway.org/book/ex6.html Zed seems to use %r and %s interchangeably here, is there any difference
Possible Duplicate: What WPF books would you recommend? Is there any good book to
Are there any good tutorials that outline proven Architecture patterns for Facebooks applications? Most
Is there a book explaining the design of FAT32, NTFS, ReiserFS, ext2, ext3, ext4,
I'm trying to work my way through an Objective-C tutorial. In the book there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.