You are on page 1of 5

EX.

NO: UML PACKAGE DIAGRAM


DATE:

AIM:
To perform uml(unified modeling language) for the passport automation system
with subsystems and packages

PROCEDURE:
Package diagram is used to represent the logical architecture of system.
It illustrates the layers sub systems and packages. A layer can be modeled in a
packages for example application logic and domain layer can be modeled as a package
named domain layer.
Using uml package diagram the elements of the system can be grouped together .
Uml packages can be group anything for instance class, other packages,use cases and so
on.
Packages can be nested .that means one package may contain other package.
If the package have some inner members then its name must be shown on the tab.
But if the package does does not contain the inner member then its name can be shown
inside the main folder.
The dependency line can be shown in the package diagram.it shows the dependant
packages the dotted line with arrowhead at one is used to represent packages . the arrow
of the line always points towads points towards the dependant packages.
The namespacecan be used to respesents the packages the ..can be used for donoting the
namespaces. For example domain;; taxes
The large scale logical structure of the system must be arranged using layers .these layers
must be distinct and having related responsibilts .the lower layers must be for low level
and general services and the higher levels must be more application specific
Collaborations and coupling must be from higher to lower layers. There must not be the
coupling from lower to higher levls.
Due to such separation the coupling and dependencies among the modules get reduced
and thus the cohesion gets increased . thus clarity in the system design increased .
The complexity in the design can be encapsulated and decomposed.
Making changes in the higher level layers is possible . for example we can make out the
changes in the ul level but the technical services layer can not be modified easily.
RESULT:
The diagram of uml(unified modeling language)for passport automation
system using sub systems and layers was implemented successfully
EX.NO: COMPONENT DIAGRAM
DATE:

AIM:
To draw component diagram for passport automation system using notations
and components

PROCEDURE:
Component diagrams are used to model the physical aspect of the system. These
physical aspects are-executable files, libraries, documents and so on.
Thus component diagram is used to visualize organization and relationship among the
components of the system.
These systems are more useful while making the executable systems.
The component diagrams are used during the implementation phase of the application.
But this diagram is prepared well in advance for visualizing the implementation of the
system.
Before designing this diagram we must identify the following artifacts of the system
Files used in the system
Libraries required by the system
Web services used by the system
Relationship among various artifacts of the system

NOTATIONS:
The uml notations shoes the simple relationship in component diagram.
In this component diagram the two components and their relationship is represented .
However uml 2.0 makes use of more enhanced representation of the component diagram

COMPONENT:
The component structured class representing modular part of the system with
encapsulated contents
A stereotype is mentioned in the gulliments. A component represented in rectangle
without using stereotype is treated as class.
INTERFACES:
The behavior of the component is expressed in terms of its interfaces one component can
provide or use the services of another component using the interfaces.
SUBSYSTEMS:
Subsystem is a specialized case of component. It inherits all the rules of component
notation.

RESULT:
The implementation of component diagram for passport automation system
using notations and components was implemented successfully.

You might also like