Home / Expert Answers / Computer Science / i-currently-have-a-uml-diagram-for-a-library-management-system-i-have-added-an-interface-ievent-and-pa990

(Solved): I currently have a UML Diagram for a Library Management System. I have added an interface IEvent and ...



I currently have a UML Diagram for a Library Management System. I have added an interface IEvent and I am trying to add an event bus to it but I do not understand if I am on the right track.  

This is my current UML Diagram without the event bus: 

 

 This is a starting idea I have for the event bus. I want to create one so that when an item is loaned, the reservation screen knows what to do:

I am unsure on whether the publisher needs a post() method as well, or whether the subscriber needs their own methods such as update() and display().



We have an Answer from Expert

View Expert Answer

Expert Answer


Your answer Is Here This is a starting idea I have for the event bus. ••••••••••••••••••••••••••• Yo have 5 entities so far: hotels, rooms, reservatio
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe