Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yunir/client-server-application

ITMO (09.03.04). 2nd semester. Programming. 8th lab work.
https://github.com/yunir/client-server-application

db i18n l10n maven orm

Last synced: 9 days ago
JSON representation

ITMO (09.03.04). 2nd semester. Programming. 8th lab work.

Awesome Lists containing this project

README

        

## Technical requirements
- [x] The data exchange between the client and server must be carried out using **TCP**.
- [x] The server should use input/output streams.
- [x] The client should use the network channel.
- [x] Use `java.sql.DriverManager` to connect to the database.
- [x] The username and password for connecting to the database should be specified in the arguments of the `getConnection()` method.
- [x] Use `javax.sql.rowset.FilteredRowSet` to get query results.
- [x] Collective data deletion and insertion operations must be implemented using transactions.
- [x] Single data modification operations must be implemented using the `CallableStatement.execute()` method.

## How-to-run
* Server database
```sh
cd ServerDataBase
mvn compile
mvn exec:java
```
* Client database
```sh
cd ClientDataBase
mvn compile
mvn exec:java
```

## Results
After completing this laboratory work I found out how to internationalize application using Resource Bundle and create ORM with the reflection.

## Next actions
- [ ] Add command to "How-to-run" section that will help to start standalone PostgreSQL Server in Docker with port forwaring