⚠️ Archive Notice
This repository is a 2021 Java web practice project (exchange rate converter).
It is now archived and no longer maintained or accepting PRs/Issues.
Kept for learning history. If you need similar functionality, please refer to more modern frameworks or official examples.
Built with Java (Eclipse Dynamic Web Project), deployed on Apache Tomcat 9, and using PostgreSQL 13 as the database.
The original Eclipse project resides in the ThisWeb/ directory.
- Eclipse IDE for Enterprise Java and Web Developers 2021-06
- Apache Tomcat 9.0
- PostgreSQL v13
- JDK 16.0.2
-
Prerequisites
- Install JDK 16 (or a compatible version)
- Install Apache Tomcat 9
- Install PostgreSQL 13 and create a database
-
Database
- Create table
calculate_record(see example insql/schema.example.sql) - Adjust column types/precision as needed
- Create table
-
Import into Eclipse
- Eclipse: File → Import → Existing Projects into Workspace → select the
ThisWeb/directory - Ensure the project is configured to use Tomcat 9
- Eclipse: File → Import → Existing Projects into Workspace → select the
-
Run
- Add the project to the Tomcat server in Eclipse and start it
- Access via
http://localhost:8080/<your-context-path>/(actual path depends on your setup)
─── Exchange-rate
├── README.md
├── README_zh-TW.md
├── LICENSE
├── .gitignore
├── sql/
│ └── schema.example.sql
└── ThisWeb/
ThisWeb/: Eclipse Dynamic Web Project (import via File → Import → Existing Projects into Workspace)
- Frontend and backend can run individually, but integration failed, likely due to PostgreSQL 13 JDBC driver compatibility.
If you plan to revive this project, consider:- Verifying the JDBC driver version (
org.postgresql:postgresql) is compatible with your JDK/Tomcat - Checking JDBC connection URL, credentials/privileges, and time zone settings
- Using Maven/Gradle for dependency management to avoid manual JAR conflicts
- Verifying the JDBC driver version (
- PostgreSQL JDBC Driver
- Apache Tomcat
- PostgreSQL
- Eclipse IDE
- All trademarks and copyrights belong to their respective owners.