Booking manager is student's project of the Enterprise Java course teaching at Faculty of Informatics Masaryk University.
For more information about project see official Wiki pages.
- Application framework - Spring
- ORM framework - Hibernate
- Testing framework - TestNG
- Mocking framework - Mockito
- Building tool - Maven
- Java Bean mapper - Dozer
Whole project is divided to several maven projects representing specific layers:
- booking-manager-service - Represents service layer and contains implementations of facades,
- booking-manager-api - Represents API layer, which contains Data Transfer Objects and defines interfaces for facades,
- booking-manager-persistence - Represents persistent layer, which provides DB operations via Data Access Objects,
- booking-manager-RESTful - Represents basic REST interface,
- booking-manager-web_app - User interface in the web application,
- booking-manager-sample_data - Sample to show functionalities of our project.
## Testing For unit testing there are no special set ups. Project uses TestNG framework with Mockito support for objects mocking. Configuration of database for testing can be found under src/test/resources/persistence.xml. By default tests use in memory derby database.
To run test use maven command:
$ mvn test
For installation use maven command:
$ mvn clean install