From the course: Software Design: From Requirements to Release

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Implement 'included' use case

Implement 'included' use case

- [Instructor] As login use case is an included use case on which the other functionalities depend upon, let us first design login functionality. To start with, let us take a look at its UI mockup. This one is simple, we start off with a page in which there are just these links, with one of them being login. Once we choose that, it takes us to login page where we enter username and password, and then once the login is successful, it shows other links, such as record meal, view diet log, et cetera. The sequence diagram for this flow will look like this. User chooses login option from Index, which forwards the request to LoginController, which in turn forwards it to LoginInput JSP. LoginInput JSP takes username and password from user and forwards them to LoginValidator, which then reaches out to Dao to connect with Red30 DB, that has user data for validation. If Dao finds that user credentials match with the ones in database…

Contents