Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/yunir/client-server-application
- Owner: Yunir
- License: mit
- Created: 2017-10-21T19:46:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T00:14:23.000Z (9 months ago)
- Last Synced: 2024-10-08T13:16:44.774Z (30 days ago)
- Topics: db, i18n, l10n, maven, orm
- Language: Java
- Homepage:
- Size: 2.19 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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