Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.
/ Exchange-Rate Public archive

Archived Java web demo using Tomcat 9 + PostgreSQL 13 (2021 practice).

License

Notifications You must be signed in to change notification settings

LeviChen1126/Exchange-Rate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exchange Rate Converter — ARCHIVED

中文版本

⚠️ 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.


Development Environment

  • Eclipse IDE for Enterprise Java and Web Developers 2021-06
  • Apache Tomcat 9.0
  • PostgreSQL v13
  • JDK 16.0.2

Installation / Usage Example

  1. Prerequisites

    • Install JDK 16 (or a compatible version)
    • Install Apache Tomcat 9
    • Install PostgreSQL 13 and create a database
  2. Database

    • Create table calculate_record (see example in sql/schema.example.sql)
    • Adjust column types/precision as needed
  3. Import into Eclipse

    • Eclipse: File → Import → Existing Projects into Workspace → select the ThisWeb/ directory
    • Ensure the project is configured to use Tomcat 9
  4. 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)

Project Structure

─── 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)


Issues

  • 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

Credits & Acknowledgments

About

Archived Java web demo using Tomcat 9 + PostgreSQL 13 (2021 practice).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published