What is UML?

 The Unified Modeling Language (UML) is a general purpose development,modeling language in the field of software engineering that is intended to provide a standard way to visualize to design of a system.

USE of UML :-

UML can  be used for modeling a system independent of a platform language.UML is a graphical language. UML is a graphical language for visualizing,specifying,constructing and documenting information about software intensive systems.


 Three types of modeling in UML:-

1.Structural modeling:-

-It captures the static features of a system.

-It consists of the following diagram:

 i.Classes diagram

ii.Object diagram

iii.Deployment  diagram

iv.Package diagram

v.Composite Structure diagram

vi.Component diagram

-This module represents the frame work for the system and all the components exist here.

-It represents the elements and the mechanism to assemble them.

-It never describes the dynamic behavior of the system.

2.Behavioral Modeling:-

-It describes the interaction with in the system.

-The interaction among the structural diagram is represented here.

-It shows the dynamic nature of system.

-It consists  of the following diagram:

i.Activity diagrams

ii.Interaction diagrams

iii.Use case diagrams

-These diagrams show the dynamic sequence of flow in the system.

3.Architectural modeling:- 

-It represents the overall framework of the system.

-The structural and the behavioral elements of the system are there in this system.

-It is defined as the blue print for the entire system.

-Package diagram is used.

 

Different views of UML: 

i.User's View:- The user's view captures the view of the system in terms of the functionalities offered by the system to its users.The user's view is a black box view of the system where the internal structure,the dynamic behavior of different system components,the implementation,etc. are not captured.

ii.Structural View:- The structural view defines the structure of the problem in terms of the kinds of objects important to the understanding of the working of a system and to its implementation.It also captures the relationships among the classes.

iii.Behavioral view:- The behavioral view captures.How objects interact with other in time to realize the system behavior.The system behavior of the system.It therefore constitutes the dynamic model of the system.

iv.Implementation view:-This view captures the important components of the system and their inter dependencies. 

For example:- The implementation view might show the GUI part,the middle wave, and the database part as the different parts and also would capture their inter dependencies.

v.Environmental view:- This view models how the different components are implemented on different on different pieces of hardware.