The War Management System is a comprehensive database and visualization tool designed to manage and analyze military resources, personnel, missions, and equipment. Using historical data from World War II, this system provides insights into various aspects of military logistics, helping in strategic decision-making and historical analysis.
- Personnel Management: Track the details and status of military personnel, including roles, units, and contact information.
- Unit Management: Manage and analyze different military units, including their types, commanders, and locations.
- Mission Management: Record and visualize mission details, including objectives, status, and associated locations.
- Equipment Tracking: Maintain an inventory of military equipment, tracking their status and deployment.
- Supply Chain Management: Manage supplies, track their availability, and monitor usage across units.
- Data Visualization: Generate bar charts and other visualizations to analyze personnel status and other key metrics.
The project consists of several interconnected tables:
-
Personnel
personnel_id: INT (Primary Key)first_name: VARCHAR(50)last_name: VARCHAR(50)post: VARCHAR(50)unit_id: INTrole: VARCHAR(50)status: ENUM('active', 'injured', 'MIA', 'KIA')contact_information: VARCHAR(100)
-
Locations
location_id: INT (Primary Key)name: VARCHAR(100)coordinates: VARCHAR(100)
-
Units
unit_id: INT (Primary Key)unit_name: VARCHAR(50)unit_type: ENUM('infantry', 'cavalry', 'artillery')commander_id: INTlocation_id: INT
-
Missions
mission_id: INT (Primary Key)name: VARCHAR(100)objective: TEXTstart_date: VARCHAR(20)end_date: VARCHAR(20)status: ENUM('planned', 'ongoing', 'completed')location_id: INT
-
Equipment
equipment_id: INT (Primary Key)name: VARCHAR(100)type: ENUM('Weapon', 'Vehicle', 'Electronic', 'Other')unit_id: INTstatus: ENUM('Operational', 'Maintenance', 'Decommissioned')location_id: INT
-
Supplies
supply_id: INT (Primary Key)name: VARCHAR(100)type: VARCHAR(50)quantity: INTunit_id: INTlocation_id: INTstatus: ENUM('Available', 'In Use', 'Out of Stock')
-
Database Setup:
- Install MySQL and create a database named
war. - Import the schema and data using the provided SQL scripts.
- Install MySQL and create a database named
-
Java Application:
- Import the project into Eclipse or your preferred IDE.
- Ensure the JDBC driver is included in your classpath.
- Update the database connection details in
DatabaseHelper.java. - Run the
BarChartExampleclass to visualize the data.
This system can be used to:
- Analyze military personnel data.
- Track the status and deployment of equipment.
- Visualize the distribution and status of missions.
- Manage and track the supply chain.
Contributions are welcome! Please fork this repository and submit pull requests for any improvements or new features.
This project is open-source and available under the Apache License.
Feel free to contact numarahamath@gmail.com