Giter Site home page Giter Site logo

visalsrimanga / simple-banking-app Goto Github PK

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

This is a simple banking app project to demonstrate the usage and pitfalls of database transactions. Especially in a multi-user, multi-threaded environment.

License: MIT License

Java 100.00%
database java javaee json junit mysql servlet

simple-banking-app's Introduction

Simple Banking App for DB Transactions

This is a simple project to demonstrate the usage and pitfalls of database transactions specially in a multi-users environment.

How to use this project?

In order to run this application, you have to set up a connection pool with the help of JNDI under the name of jdbc/dep9-banking. You can find the database script for this project under the resource folder.

Things to look for,

  1. What happens if a person makes a deposit and at the same time someone transfers money to his account?
  2. What happens if a person withdraws money from account and at the same time if he tries to transfer his money to another account?
  3. What happens if two transfers happen at the same time while one is crediting and other is deducting?
  4. What happens if two withdraws happen at the same time?
  5. What happens if two deposits happen at the same time?

version

1.0.0

License

Copyright © 2022. All Right Reserved.
This project is licensed under the MIT License

Contact Details

simple-banking-app's People

Contributors

visalsrimanga 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.