A simple database with commands similar to those of SQL. It is to be run from the command line.
(java -jar DatabaseJAR.jar)

The application allows users to create tables, add data to the tables, view data from tables using various filters, back-up and restore the database, read commands from a text file, perform various set operations (such as union and intersection) on tables, and define indices on tables to allow faster manipulation. (To simplify the binary tree structure, the define index command assumes there is no duplicate data in the table column on which the index is defined).

The tables' metadata are stored in .xml files, and the row data is stored in .bin files. Test cases and code are provided.

This project uses JUnit 4 (only for test cases) and SAXReader (for parsing .xml).

A description of the available commands is provided in "commandSyntax.txt".

Features

  • Java 7
  • Java-docs provided
  • Executable .jar provided
  • Files uploaded in an Eclipse project format
  • Allows basic database manipulation
  • Accepts commands spanning multiple lines
  • Stores table information locally
  • Robust error handling

Project Activity

See All Activity >

Follow Simple Java Database

Simple Java Database Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Simple Java Database!

Additional Project Details

Registered

2014-03-12