|
|
Software Architecture Document Revision History
Software Architecture Document 1. Introduction 1.1 PurposeThis document provides a comprehensive architectural overview of the system, using a number of different architectural views to depict different aspects of the system. It is intended to capture and convey the significant architectural decisions which have been made on the system. 1.2 ScopeThis Software Architecture Document provides an architectural overview of the C-Registration System. The C-Registration System is being developed by Wylie College to support online course registration. This Document has been generated directly from the C-Registration Analysis & Design Model implemented in Rose. The majority of the sections have been extracted from the Rose Model using SoDA and the Software Architecture Document template. 1.3 Definitions, Acronyms and AbbreviationsSee the Glossary [4]. 1.4 References
2. Architectural Representation This document presents the architecture as a series of views; use case view, logical view, process view and deployment view. There is no separate implementation view described in this document. These are views on an underlying Unified Modeling Language (UML) model developed using Rational Rose. 3. Architectural Goals and Constraints
4.1 Architecturally-Significant Use Cases
Diagram Name: Architecturally Significant Use-Cases
Brief Description:This use case allows a Registrar to close the registration process. Course offerings that do not have enough students are cancelled. Course offerings must have a minimum of three students in them. The billing system is notified for each student in each course offering that is not cancelled, so the student can be billed for the course offering. The main actor of this use case is the Registrar. The Billing System is an actor involved within this use case.
Brief Description:This use case describes how a user logs into the Course Registration System. The actors starting this use case are Student, Professor, and Registrar.
Brief Description:This use case allows the registrar to maintain professor information in the registration system. This includes adding, modifying, and deleting professors from the system. The actor of this use case is the Registrar.
Brief Description:This use case allows a professor to select the course offerings (date- and time- specific courses will be given) from the course catalog for the courses that he/she is eligible for and wishes to teach in the upcoming semester. The actor starting this use case is the Professor. The Course Catalog System is an actor within the use case.
Brief Description:This use case allows a student to register for courses in the current semester. The student can also modify or delete course selections if changes are made within the add/drop period at the beginning of the semester. The Billing System is notified of all registration updates. The Course Catalog provides a list of all the course offerings for the current semester. The main actor of this use case is the student. The Course Catalog System is an actor within the use case.
Brief Description:This use case allows a student to view his/her report card for the previously completed semester. The student is the actor of this use case.
Brief Description:This use case allows a professor to submit student grades for one or more classes completed in the previous semester. The actor in this use case is the Professor.
5. Logical View A description of the logical view of the architecture. Describes the most important classes, their organization in service packages and subsystems, and the organization of these subsystems into layers. Also describes the most important use-case realizations, for example, the dynamic aspects of the architecture. Class diagrams may be included to illustrate the relationships between architecturally significant classes, subsystems, packages and layers. The logical view of the course registration system is comprised of the 3 main packages: User Interface, Business Services, and Business Objects. The User Interface Package contains classes for each of the forms that the actors use to communicate with the System. Boundary classes exist to support login, maintaining of schedules, maintaining of professor info, selecting courses, submitting grades, maintaining student info, closing registration, and viewing report cards. The Business Services Package contains control classes for interfacing with the billing system, controlling student registration, and managing the student evaluation. The Business Objects Package includes entity classes for the university artifacts (i.e. course offering, schedule) and boundary classes for the interface with the Course Catalog System.
5.1 Architecture Overview Package and Subsystem Layering
layer This application layer has all the boundary classes that represent the application screens that the user sees. This layer depends upon the Process Objects layer; that straddles the separation of the client from mid-tier.
layer The Business Services process layer has all the controller classes that represent the use case managers that drive the application behavior. This layer represents the client-to-mid-tier border. The Business Services layer depends upon the Process Objects layer; that straddles the separation of the client from mid-tier.
layer The Middleware layer supports access to Relational DBMS and OODBMS.
6. Process View A description of the process view of the architecture. Describes the tasks (processes and threads) involved in the system's execution, their interactions and configurations. Also describes the allocation of objects and classes to tasks. The Process Model illustrates the course registration classes organized as executable processes. Processes exist to support student registration, professor functions, registration closing, and access to the external Billing System and Course Catalog System. 6.1 Processes
Diagram Name: Processes This process manages access to the legacy Course Catalog System. It can be shared by multiple users registering for courses. This allows for a cache of recently retrieved courses and offerings to improve performance. The separate threads within the CourseCatalog process, CourseCache and OfferingCache are used to asynchronously retrieve items from the legacy system. Analysis Mechanisms: - Legacy Interface Requirements Traceability: - Design Constraints: The system shall integrate with existing legacy system (course catalog database).
The unabbridged catalog of all courses and course offerings offered by the university including those from previous semesters. This class acts as an adapter (see the Gamma pattern). It works to makes sure the CourseCatalogSystem can be accessed through the ICourseCatalog interface to the subsystem.
There is one instance of this process for each student that is currently registering for courses.
This supports the use case allowing a student to register for courses in the current semester. The student can also modify or delete course selections if changes are made within the add/drop period at the beginning of the semester. Analysis Mechanisms: - Distribution
Manages the student functionality, including user interface processing and coordination with the business processes. There is one instance of this process for each student that is currently registering for courses.
Controls the interface of the Student application. Controls the family of forms that the Student uses.
This process communicates with the external Billing System to initiate student billing.
The Close Registration process is initiated at the end of the registration time period. This process communicates with the process controlling access to the Billing System.
The Billing System supports the submitting of student bills for the courses registered for by the student for the current semester. Analysis Mechanisms: - Legacy Interface
The Close Registration Controller controls access to the Billing System. Analysis Mechanisms: - Distribution
6.2 Process to Design Elements
Diagram Name: Process to Design Elements
A specific offering for a course, including days of the week and times. Analysis Mechanisms: - Persistency - Legacy Interface
6.3 Process Model to Design Model Dependencies
6.4 Processes to the Implementation Diagram Name: Processes to the Implementation
* The Remote interface serves to identify all remote objects. Any object that is a remote object must directly or indirectly implement this interface. Only those methods specified in a remote interface are available remotely. * Implementation classes can implement any number of remote interfaces and can extend other remote implementation classes.
* The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread. The class must define a method of no arguments called run. * This interface is designed to provide a common protocol for objects that wish to execute code while they are active. For example, Runnable is implemented by class Thread. * Being active simply means that a thread has been started and has not yet been stopped.
* A thread is a thread of execution in a program. The Java Virtual Machine allows an application to have multiple threads of execution running concurrently. * Every thread has a priority. Threads with higher priority are executed in preference to threads with lower priority. Each thread may or may not also be marked as a daemon. When code running in some thread creates a new Thread object, the new thread has its priority initially set equal to the priority of the creating thread, and is a daemon thread if and only if the creating thread is a daemon.
A description of the deployment view of the architecture Describes the various physical nodes for the most typical platform configurations. Also describes the allocation of tasks (from the Process View) to the physical nodes. This section is organized by physical network configuration; each such configuration is illustrated by a deployment diagram, followed by a mapping of processes to each processor. Diagram Name: Deployment View Students register for courses using external desktop PCs which are connected to the College Server via internet dial up. 7.2 Desktop PC Students register for courses via local Desktop PCs that are connected directly to the College Server via LAN. These local PCs are also used by professors to select course and submit student grades. The Registrar uses these local PCs to maintain student and professor information. The Registration Server is the main campus UNIX Server. All faculty and students have access to the Server through the campus LAN. 7.4 Course Catalog The Course Catalog System is a legacy system that contains the complete course catalog. Access to it is available via the College Server and LAN. 7.5 Billing System The Billing System (also called the Finance System) is a legacy system that generates the student bills each semester.
9. Quality
|