Activity2.1:IdentifyingServices In this activity, you will identify service classes for the Ferguson and Bardell, Inc. case study. After these service classes have been identified and classified, you will answer a series of questions relating to services-based design and discuss your answers with the instructor and the rest of the class. Objectives After completing this activity, you will be able to: • Categorize services as user, business, or data services. Before You Begin This activity will be performed individually, with a class discussion following the activity. Time to complete this activity: 25 minutes Scenario Your company has identified the need for a company intranet with a variety of information and features that will assist employees. The Human Resources (HR) department has identified the following needs: ! Time and attendance. HR wants all employees to be able to access time and attendance features so that they can check their vacation and sick leave and review their benefits. ! Retirement plan information. Employee 401K information needs to be made available via the intranet. This information will be drawn over the Internet from an investment company database, stored locally at the company, and then formatted for display on the corporate intranet. ! Job listings. The current paper process for submitting résumés needs to be electronic. Résumés will be submitted electronically from the employee’s desk. After submission, the résumé will be automatically scanned for a set of common keywords to assist HR in matching candidates to jobs. The résumé will then be stored in a private HR database. 6 Activity2.1:IdentifyingServices Exercise 1: Identifying Service Classes In this exercise, you will analyze a set of business requirements identified by your company to address their business needs. You will categorize services necessary to design a solution that meets these needs according to type: user, business, or data. ! Identify user, business, and data services 1. Read the activity’s scenario. The services needed to provide the functionality expressed in the scenario are listed in the following grid. 2. Identify each service’s type: user, business, or data. Service Type Check HR information (sick days, vacation days, and so on) User Determine days worked Business Determine retirement present value Data Retrieve individual 401K account balance Data Retrieve current bond prices Data Submit résumé User Scan résumé Business Store résumé Data Process résumé Business 3. Answer the following questions. a. How have you approached design in the past? Answers can vary. b. What benefits would services-based design bring to your environment? Answers can vary. Services-based design describes service tiers constructed from a logical network of service components rather than from two or three monolithic tiers of application logic. Each service can live on a variety of platforms and in varying locations. One of the major advantages of services-based design is the ability to do more than one development task at a time. Because logic and actions are separated into services, a development team can be assigned to each service layer of the solution and can take advantage of the team’s experience with and preferences for different development tools and technologies. Resource sharing is a vital aspect of solution design. Generally, a corporation designs and creates each solution with its own development team. The end result is usually that no two solutions from the same company are alike. Business logic and user interface (UI) logic are recreated by each development team’s UI Activity2.1:IdentifyingServices 7 and services group. The varying skill levels of these groups produces unpredictable results, and solutions do not necessarily complement each other. Services-based design provides the ability to share an organization’s assets and skills so that disparate applications are brought together into a cohesive application-development strategy. c. What typically belongs at each service layer? The user services layer provides and structures information to simplify its presentation to the user interface. The business services layer contains the business rules and application code to execute these rules programmatically. The data services layer provides the standard create, retrieve, update, and delete data services, as well as data calculations, summations, and validation. d. What boundaries did you use for determining service types? Did the boundaries differ between (a) time and attendance, (b) retirement plan information, and (c) job listings? Answers can vary. e. Which was the easiest type of service to identify? Why was this type of service easier to identify than the other two types? Answers can vary. THIS PAGE INTENTIONALLY LEFT BLANK . résumé will then be stored in a private HR database. 6 Activity 2. 1: Identifying Services Exercise 1: Identifying Service Classes In this exercise, you will. Activity 2. 1: Identifying Services In this activity, you will identify service classes for the Ferguson