GithubHelp home page GithubHelp logo

javadmalekzadeh / javaee-jbatch-etl Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 24 KB

This is a simple ETL Batch processing to extract data, here are messages, stored in a table. transform them into a new object, then insert them in another table

Java 100.00%
batch-processing etl-job javaee jbatch

javaee-jbatch-etl's Introduction

About

This is a simple ETL Batch processing to extract data, here are messages, stored in a table. transform them into a new object, then insert them in another table. Used technologies :

  • JavaEE 8
  • JBatch
  • Quartz as scheduler
  • MySql database
  • WildFly application server

WlidFly Configuration:

  • download JBoss AS or simply known as Wildfly from the following Url: https://www.wildfly.org/downloads/

  • Install the downloaded application server in a directory. Move to the folder \bin which is under WildFly installation and start WildFly by executing standalone.bat on windows.

  • To add a user go to \bin folder and execute add-user.bat

  • You can check that WildFly application server is running by reaching the home page at localhost:8080

  • After login in Wildfly console, click on Configuration tab. Go to subsystems \ Datasource & drivers. To be able to connect to MYSQL database you need to configure driver. For adding a driver you need to add mysql module to Wildfly. for that you should first download mysql-connector-java.jar.

  • For adding module, go to bin folder and execute jboss-cli.bat use this command to add Mysql module:

module add --name=com.mysql  --dependencies=javax.api,javax.transaction.api --resources=E:\...\mysql-connector-java-8.0.25.jar
  • Now you can set the mysql driver and then create datasource for mysql from Configuration tab.

  • To make wildfly able to use jdbc connection and connect to mysql when using batch go to Batch in Configuration tab and click on view. Default for batch is In-Memory. Go to jdbc, add mysql connector. Then in Configuration edit the default jobrepositoy. now everythis is set.

javaee-jbatch-etl's People

Contributors

javadmalekzadeh avatar

Stargazers

 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.