|
5.1 How to Model Procedures and Use Cases Standard UML Use Case diagrams are not usually specific enough or tightly enough specified to generate pages directly, so we use a different technique to cover the same area. This is made up of page specifications, joined together by events and menus. As well as standard pages and events, special variations of these called wizard pages and wizard events can be used to ensure that data is kept available from all pages throughout the wizard, and that back buttons are placed on pages so an application user can go back to the previous page. This sort of functionality can be modeled directly in pages and events if you choose. In general, pages map to screens and optionally menu items. Events map to buttons. So to navigate the user has a choice of three ways:
You have good control over the latter two and poor control over the former, so the start of a procedure should have an easy to find menu item and the subsequent ways of navigating the procedure should have buttons to take you through it. You don't want users to get in the habit of typing in the URL or even storing it as a favourite, apart from the home page of the application. Although storing other pages would probably work well enough if the link pointed to the beginning of a procedure, it might cause problems otherwise. There is no reason not to have procedures linking into each other, in much the same way as use-cases do, and the same page can appear on different diagrams, if it all gets a bit too complicated. The steps that occur when a basic page is used in J2EE at runtime are:
If the page is entered from an event with a success forward action set, it may not display at all. It will process the action as an event on the page immediately. Similarly if the page has an entryEvent set, that will be processed or if it comes from a menu call and the menuEntryEvent is set on the page that will be processed. This way page pre-processing can be specified depending either on the particular event that lead to the page, all events that lead to the page or all menu calls that lead to the page. Top Tip:
Links:
Copyright © 2001-2006 New Technology / enterprise Ltd. | |||||||||||||||||||||