PROBLEM STATEMENT
• A University website should keep information
about its students and academic staff.
• Records for all university members are to
include their id number, surname, given name,
email.
• Students and academic staff each have their
own unique ID number.
…CONTINUED
• In addition to the attributes mentioned above , the
following assumptions must be followed:
• 1.Students will also have a list of subjects they are
enrolled in.
• 2.Academic employees will have a list of subjects
they teach.
• 3.University is responsible for the admission process
of all the students.
• 4.University website does not contain information
pertaining students other than the information
filled by the students in the admission form itself.
FRONT PAGE
• The following is the home/front page of the
University website.
• Its features are:
A. Multi-utility drop-down lists.
B. A quick access to all pages from each page in a
given category
C. Images , audio and video files can be embedded
and accessed easily.
UML DIAGRAMS
UML DIAGRAMS
Object Modeling Technique
+ Object Oriented Software Engineering
=
UML
…CONTINUED
MAIN OBJECTIVE OF UML :
TO STANDARDIZE ALL OBJECT-
ORIENTED METHODS WITH GENERAL
SPEAKING NOTATIONS.
TO REPRESENT USER REQUIREMENTS
PICTORIALLY.
TYPES OF UML DIAGRAMS
I. USE CASE DIAGRAMS
II. CLASS DIAGRAMS
III. OBJECT DIAGRAMS
IV. STATECHART DIAGRAMS
V. ACTIVITY DIAGRAMS
VI. SEQUENCE DIAGRAMS
VII.COLLABORATION DIAGRAMS
VIII.COMPONENT DIAGRAMS
IX. DEPLOYMENT DIAGRAM
USE CASE DIAGRAMS
Purpose :
To present a graphical overview of the
functionality provided by a system in terms of
actors, their goals (represented as use cases), and
any dependencies between those use cases.
…CONTINUED
Components :
Use cases
Actors
System boundary boxes (optional)
EXAMPLE
Use Case Diagram
Input
Marks
Pay Fees
Grade Admin
Print
Student
Schedule
Finance Dept
Teach
Subjects Instructor
Enroll in a Change
Branch Branch
Distribute
fee structure
<<extended>>
Post Office
Academic
Distribute
Brochure Distribute
<<extended>> Information
Distribute
Schedules Registrar
Scenarios
• Each scenario has a sequence of steps.
UDB
uname : String
courses : int
capacity : int
1 1
* *
Member Subject
0...5 0...3
teaches
OBJECT DIAGRAMS
Purpose :
It focuses on some particular set of
object instances and attributes, and the links
between the instances
…CONTINUED
Components :
Same as class diagrams , however the
attributes are assigned values or arguments.
EXAMPLE
University Database: Object Diagram
MAIN : UDB
uname: "WWE Univ"
courses: 25
capacity: 700
OPEN
Admission
open
VIEW
Details can
be obtained
PURCHASE
Pay fee for
the forms
SUBMISSION
FILL UP
Submit the
Form filling
form
WAIT
Wait for
results
ACTIVITY DIAGRAMS
Purpose :
An activity diagram shows the
overall flow of control.
…CONTINUED
Components :
• rounded rectangles represent activities;
• diamonds represent decisions;
• bars represent the start (split) or end (join) of
concurrent activities;
• a black circle represents the start (initial state) of
the workflow;
• an encircled black circle represents the end (final
state).
Activity Diagram for Admission
Demands Field
Confirm Admission
Take Schedule
DIFFERENCE BETWEEN STATE AND
ACTIVITY DIAGRAMS
STATECHART DIAGRAM ACTIVITY DIAGRAM
EXAMPLE
Sequence Diagram
student name
2. Student inputs name & Number
student num
: Seminar
<<destroy>> <<UI>>
selection
5. Student picks a course
QUESTIONS ???
COMMENTS !!!
COMPONENT DIAGRAM
Purpose :
A component diagram depicts how
components are wired together to form larger
components and or software systems.
…CONTINUED
Components :
Assembly connector
Delegation connector
Component Diagram
Facilities
Facilities Security
Lect mgmt <<infrastructure>>
<<application>>
Data Access
STUDENT
Student
Persistence
Data Access <<infrastructure>>
UDB
<<infrastructure>>
Data Access
Schedule
Schedule
COLLABORATION DIAGRAM
Purpose :
• To describe the message flow in the
system.
• To describe structural organization
of the objects.
…CONTINUED
Components :
Boxes to represent states and objects
Arrows to represent the direction of flow of the
messages
EXAMPLE
Collaboration Diagram
Administration
Central
Registry
Library
DEPLOYMENT DIAGRAM
Purpose :
Models the physical deployment of
artifacts on nodes.
…CONTINUED
Components :
EXAMPLE
Deployment Diagram
<<device>>
:ApplicationServer University DB
{OS=Windows xp}
<<device>>
:EJB Container
:Web Server
<<deploymentspec>>
courseMgmt.jar
<<message bus>>
<<device>>
:Mainframe
courseMgmt<<legacy>>
PRESENTED BY
ROHIN SEQUEIRA
MARK FERNANDES
NEERAV RISBOOD
PRATIK NAGAR.