The Mixin Hotel is a sample application for Barbara and Manuela, two concierges who are overwhelmed by scribbled notes. Four use-case slices constitute the application:

The Mixin Hotel sample code is just that – a sample, not a real working hotel management program. The sample is written for a toy-world, some restrictions apply. This list is not exhaustive:

What's more, we don't use an inversion of control container or an O/R-mapper here. In a real application, you would use re-motion mixin's ObjectFactory in tandem with something like Castle.Windsor. (A "facility" for integrating Castle.Windsor's inversion of control container can be found here: FIXME).

Inspiration

The idea from a hotel sample is from Ivar Jacobson's aforementioned book Aspect-Oriented Programming with Use-Cases. The sample is designed in the spirit of domain-driven development, way of designed software in close accordance with the business domain, based, on use-cases. Classes are modeled after real-world entities; methods represent real concierge activities behind the desk.