Giter Club home page Giter Club logo

eimsb's Introduction

EIMSB

A Sample Spring Batch Application that uses H2 in-memory database with an externalized file for storing Job History

Getting Started

Prerequisites

Prior to running any mvn commands, the H2 URL specified for the datasource bean in the file /src/test/resources/test-h2-config.xml

<property name="url" value="jdbc:log4jdbc:h2:file:/Users/xxx/H2/test;DB_CLOSE_ON_EXIT=FALSE"> 

must be changed to a folder in local file system.

Installing

Clone/download source

Running the tests

run mvn command to compile, test the code. The Source has two unit tests that verify the config and confirm the job data is accessible via the JobExplorer APIs.

Post test

After completion of thest, the database files can be found under the specified file. The file can be used as external file to another H2 database (say running in docker container) and Table and data can be viewed using the H2 Web Server via web browser.

Write Up

@ See the artifacts under /docs subfolder for analysis details.

eimsb's People

Contributors

dmahat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.