This project demonstrates the power of Jakarta Data in creating three applications using the same model but with three different databases. Jakarta Data simplifies data integration and persistence, allowing seamless database interactions. The applications in this project showcase the usage of Jakarta Data with three types of databases:
To get started with the project, follow these steps:
-
Clone the repository to your local machine using the following command:
git clone [email protected]:ultimate-engineer/jakarta-data-2023.git
-
Ensure you have the necessary dependencies installed for each database:
-
Relational Database with Postgresql: Install Postgresql and create a database for the application.
-
NoSQL Databases with Couchbase and MongoDB: Install Couchbase and MongoDB, and create the necessary buckets/collections.
-
Eclipse Store Project: No additional installations are required.
-
-
Open the project in your preferred IDE.
The project contains three applications, each located in separate directories:
-
jakarta-persistence: Application using a relational database with Postgresql.
-
document-nosql: Application using a NoSQL database with Couchbase and MongoDB.
-
eclipse-store: Application using Eclipse Store.
This project is open-source, and contributions are welcome. If you find any issues or want to add enhancements, feel free to open a pull request.
For more information about Jakarta Data, you can refer to the official GitHub repository: https://github.com/jakartaee/data