Home / Expert Answers / Computer Science / the-aim-of-the-exercice-is-to-design-and-code-an-elevator-using-java-11-springboot-2-5-and-maven-pa800

(Solved): The aim of the exercice is to design and code an elevator using Java 11+, SpringBoot 2.5+ and maven. ...



The aim of the exercice is to design and code an elevator using Java 11+, SpringBoot 2.5+ and maven. The lift knows: the floor(s) from which it is called (buttons on the wall outside the elevator) its current position its current direction (up, down or stationary) the floor(s) it must serve (via the buttons inside the elevator) -> a person who goes up in the elevator will give a destination floor in front of each elevator door, there is a pair of “up/down” buttons except on the first and last floor no constraints on the maximum number of people in the elevator a firefighter can request priority access (to be managed with Spring Security) The building in which the elevator circulates is 50 floors high, the elevator can stop at all floors. The elevator takes X seconds to travel a floor (X configurable or hardcoded), the idea being to be able to send it requests while it is already moving and see its behavior. Your program must indicate as output the optimal routing of the elevator (the order of the floors at which it stops and whether a person goes up or down). Bonus 1: There are three elevators, so the floor(s) they are called from are therefore shared Bonus 2: maximum 2 people per lift Bonus 3: have a graphical return that represents the whole (ascii art is accepted) Bonus 4: provide the UML schema



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe