Skip to content

markessam12/estate-transaction-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Estate Transactions Application

This project is a small simple web service application. It provides a system in which users (owners) can delcare their ownership of Estates (Properties) and can trade and sell their estates. Each property bought or sold will be stored as a transaction inside the database.

Technologies used

  1. Jax-rs for REST API's
  2. Jax-ws for SOAP web service
  3. Glassfish server
  4. Aerospike database
  5. Docker
  6. Junit and mockito for unit testing
  7. MapStruct
  8. postman

Instalation prerequistes

  1. Java 8
  2. Glassfish V6.0
  3. Jakarta EE
  4. Docker with aerospike CE

Diagrams

UML Class Diagram

Class Diagram

Data flow Diagram

Data flow diagram

REST requests examples

Get owners in database

image

Get owner of specific username

image

Get property of specific id

image

Put first and last name of an owner

image

Get transactions in the database

image

In this project, the next topics were practiced:

  1. Usage of the building tool gradle
  2. Exposing different rest apis and usage of different response codes
  3. Application of HATEOAS constraints
  4. Usage of the three-tier architecture (Data Access layer, Business Logic layer, and Presentation layer)
  5. Usage of singleton and builder design patterns
  6. Usage of DTO and DAO pattern
  7. Difference between checked and unchecked exceptions
  8. Exception handling and chaining
  9. Unit testing good practices