Date post: | 16-May-2015 |
Category: |
Technology |
Upload: | swethadln |
View: | 4,434 times |
Download: | 0 times |
Modeling case study
Submitted in partial fulfillment of the requirements
For the Case Tools Lab in III year of
BACHELOR OF TECHNOLOGY IN Information Technology
By
Name of the student & roll no.:
D.L.N.SWETHA 08BQ1A1214
**********
Department of Information Technology
Vasireddy Venkatadri Institute of Technology
DEPARTMENT OF Information Technology
CERTIFICATE
Certified that this is a bonafied record of practical work done by ________________________________of____________ B. Tech ____Semester in the________________________________ Lab of Department of _________________________________during the academic year _____________
No. of experiments done and certified:
Signature of the In charge Head of the Department
A. Sudarshan Reddy
VASIREDDY VENKATADRI INSTITUTE OF TECHNOLOGY
NAMBUR (V), PEDAKAKANI (M), GUNTUR-522 508
Tel no: 0863-2118036, URL: www.vvitguntur.com
Approved by AICTE and affiliated to JNTUK
ACKNOWLEDGEMENT
I would like to express my deep sense of gratitude and
indebtedness to my esteemed institute “Vasireddy Venkatadri Institute
of Technology”, which has provided me an opportunity to fulfill the most
cherished desire to reach my goal.
I owe project to Mr. V. Ramachandran, Assoc. Prof., who has
been my project’s guide. I sincerely thank him for the support and
guidance which he has given me.
Signature of candidate
INDEX
Sno Topic Page no1. INTRODUCTION TO UML2. INTRODUCTION TO VISUAL PARADIGM3. CASE STUDY-1 UNIFIED LIBRARY SYSTEM
APPLICATIONUSE CASE DIAGRAMCLASS DIAGRAMSTATE CHARTACTIVITY DIAGRAMSSEQUENCE DIAGRAMCOLLBRATION DIAGRAM
4. CASE STUDY-2 SYSTEM-POINT OF SALEUSE CASE DIAGRAMCLASS DIAGRAMSTATE CHARTACTIVITY DIAGRAMSSEQUENCE DIAGRAMCOLLBRATION DIAGRAM
5. CASE STUDY -3 ONLINE RAILWAY RESERVATION
USE CASE DIAGRAMCLASS DIAGRAMSTATE CHARTACTIVITY DIAGRAMSCOMPONENT DIAGRAMDEPLOYMENT DIAGRAMSEQUENCE DIAGRAMCOLLBRATION DIAGRAM
6. BIBLIOGRAPHY7. CONCLUSION
INTRODUCTION TO UML
Definition of UML:
The Unified Modeling Language (UML) is used to
specify, visualize, modify, construct and document the artifacts of an object-
oriented software intensive system under development. UML offers a standard
way to visualize a system's architectural blueprints, including elements such as:
actors
business processes
(logical) components
activities
programming language statements
database schemas, and
reusable software components
The UML represents the culmination of best
practical object oriented modeling. The UML is the product of several years of
hardworking which we focused on bringing about a unification of the methods
used around the world, the adoption of good ideas from many quarters of the
industry and above all, effort to make things simple.
Goals of UML
The primary goals in the design of the UML were:
Provide users with a ready-to-use, expressive visual modeling
language so they can develop and exchange meaningful models.
Provide extensibility and specialization mechanisms to extend the
core concepts.
Be independent of particular programming languages and
development processes.
Provide a formal basis for understanding the modeling language.
Encourage the growth of the OO tools market.
Support higher-level development concepts such as collaborations,
frameworks, patterns and components.
Integrate best practices.
SCOPE OF UML:
The Unified Modeling Language (UML) is a graphical
language for visualizing, specifying, Constructing and documenting the aircrafts
of a software intensive system. The UML specifies a modeling language that
incorporates the object oriented communities consensus on core modeling
concepts. It allows deviations to be expressed in terms of extension mechanisms.
The UML provides the following:
Semantics and notation to address a wide variety of
contemporary modeling issues in a direct and economical
fashion.
Semantics to address certain expected future modeling issues,
specifically related to component technology, distributed
computing, frame works and excitability.
Extensibility mechanisms so individual projects can extend the
Meta model for their application at low cost.
Extensibility mechanisms so that future modeling approaches
could be grown on the top of the UML.
Semantics to facilitate the model interchange among variety of
tools.
Semantic to specify the interface to repositories for the sharing
and storage of model aircrafts.
There are several new components included in UML:
Extensibility mechanisms
Threads and process
Distribution and concurrency
Patterns / collaboration
Activity diagrams
Refinement
Interface and components
A constraint language
Introduction to Visual Paradigm
Visual Paradigm for UML (VP-UML) is a powerful, cross-platform and yet the most easy-to-use visual UML modeling and CASE tool. VP-UML provides software developers the cutting edge development platform to build quality applications faster, better and cheaper! It facilitates excellent interoperability with other CASE tools and most of the leading IDEs which excels your entire Model-Code-Deploy development process in this one-stop-shopping solution.
UML modeling
You can draw all kinds of UML 2.x diagrams in VP-UML, which include:
Class diagram Use case diagram Sequence diagram Communication diagram State machine diagram Activity diagram Component diagram Deployment diagram Package diagram Object diagram
Composite structure diagram Timing diagram Interaction overview diagram
Requirement modeling
Capture requirements with SysML Requirement Diagram, Use Case Modeling, Textual Analysis, CRC Cards, and create screen mock-up with User Interface designer.
Database modeling
You can draw the following kinds of diagrams to aid in database modeling:
Entity Relationship Diagram ORM Diagram (visualize the
mapping between object model and data model)
You can model not only database table, but also stored procedure, triggers, sequence and database view in an ERD.
Besides drawing a diagram from scratch, you can reverse engineer a diagram from an existing database.
Apart from diagramming, you can also synchronize between class diagram and entity relationship diagram to maintain the consistency between them.
SQL generation one execution feature is available for producing and executing SQL statement from model instantly.
Business process modeling
You can draw the following kinds of diagrams to aid in business process modeling:
Business process diagram Data flow diagram Event-drive process chain diagram Process map diagram Organization Chart
You can also export Business process diagram to BPEL.
Object-Relational mapping
Object-Relational Mapping enables you to access relational database in an object relational approach when coding. VP-UML generates object-relational mapping layer which incorporates features such as transaction support, pluggable cache layer, connection pool and customizable SQL statement.
Team collaboration
For users that work as a team, team collaboration support lets you perform modeling collaboratively and concurrently with any one of the following tools or technologies:
VP Teamwork Server (Need to buy Visual Paradigm Teamwork Server additionally)
CVS Subversion Perforce
Interoperability: The interoperability support allows you to exchange model data with other tools.
Exploring VP-UML diagrams :
VP-UML utilizes diagrams as views of the information in a model.
Once developed, VP UML automatically maintains consistency between the
diagram and its specifications. The following key diagrams are used:
Use case diagrams: Analysts and developers use these to capture user
requirements by graphically depicting how the system works. During the
design phase of the project, Rose allows you to actually specify the system
behavior (what Rose calls use cases). The use case diagram therefore
graphically represents the system boundary. Typically, a use case diagram
consists of (1) actors or things outside the system, (2) use cases, and (3)
relationships between actors.
Creating a use case diagram
Right click Use Case Diagram on Diagram Navigator and select New Use
Case Diagram from the pop-up menu.
.
Class diagrams: Rose uses class diagrams to graphically describe generic
descriptions of the system you’re going to build. Class diagrams contain
icons that represent classes and interfaces and their relationships to one
another.
Creating class diagram
Right click Class Diagram on Diagram Navigator and select New Class Diagram from the pop-up menu to create a class diagram.
Statechart and Activity diagrams: Rose allows users to use state chart
diagrams (which are state-driven) to model the dynamic behavior of
individual classes or objects. Statechart diagrams are very similar to
activity diagrams (which are activity-driven). Basically, these diagrams
show you (1) the sequence of states that an object will go through, (2) the
events that cause a transition from one activity to another, and (3) any
actions that result from the state or activity change.
Creating state machine diagram
Right click State Machine Diagram on Diagram Navigator and select New State
Machine Diagram from the pop-up menu to create a state machine diagram.
Interaction diagrams: Rose uses interaction diagrams as a collective name
for collaboration and sequence diagrams, which, in essence, graphically
represent interactions. Collaboration diagrams show how objects are
associated with each other, whereas sequence diagrams show time-based
interactions between objects.
Creating sequence diagram
Right click Sequence diagram on Diagram Navigator and select New Sequence Diagram from the pop-up menu to create a sequence diagram.
Component diagrams: Rose uses component diagrams to clearly reflect
the physical dependency relationships between components (i.e., main
program, subprogram, packages, and tasks) and their arrangement in a
graphical manner.
Creating component diagram Right click Component Diagram on Diagram Navigator
and select New Component Diagram from the pop-up menu to create a component diagram.
Deployment diagrams: Using the deployment diagram, Rose allows users to graphically show the connections between processors, devices, and connections..
Creating deployment diagram Right click Deployment Diagram on Diagram
Navigator and select New Deployment Diagram from the pop-up menu to create a deployment diagram.
CASE STUDY-1 UNIFIED LIBRARY
APPLICATION
INTRODUCTION
Unified Library Application System emphasizes on the online reservation, issue and return of books. This system globalizes the present library system. Using this application the member can reserve any book from anywhere in the world. Still in nascent stages, this application soon revolutionizes present library system.
Let us just have an overview of the unified library application system:
· Librarian lends books and magazines
· Librarian maintains the list of all the members of library
· Borrower makes reservation online
· Borrower can remove reservation online
· Librarian issues books to the borrower
· Librarian calculates dues to be paid by the borrower
· Borrower issues/returns books and/or magazines
· Librarian places order about the requirements to the master librarian
· Librarian updates system
· Master librarian maintains librarians .
TEXTUAL ANALYSIS
(a)ACTORS
i. Librarian
ii. Borrower
iii. Catalog
iv. Master Librarian
(b)VERBS
i. Borrower:
1. Logs into the system
2. Browses/searches for books or magazines
3. Makes/removes reservation
4. Views results and reports from the unified library application system
ii. Librarian:
1. Manages and validates members
2. View reports from the system
3. Issues books
4. Calculates dues
5. Takes books
6. Places orders to the master librarian
7. Maintains list of books and magazine
iii. Master Librarian
1. Maintains other librarians.
USECASE DIAGRAM
CLASS DIAGRAM
STATE CHART DIAGRAM
LIBRARY ADMINISTRATOR
LIBRARIAN
MEME
MEMBER
ACTIVITY DIAGRAM
SEQUENCE DIAGRAM
COLLABORATION DIAGRAM
CASE STUDY 2-POINT OF SALE
INTRODUCTION
Shops are the integral part of any civilization. They are present in every culture since ages. This application emphasizes on the transaction going on between the customer and shop keeper during sale of product.
The customer approaches the shop keeper/ sales boy and places his order. The shop keeper forwards the order to sales boy who fetches the required goods from inventory. Then the shop keeper calculates bill and issues to the customer. The customer on paying the bill takes goods from the shop keeper. In turn, shop keeper fetches goods from supplier
Let us just have an overview of point of sale:
· Customer places order to the shop keeper/sales boy
· Sales boy collects goods and forwards them to shop keeper
· Shop owner calculates bill and forwards to the customer
· Customer on paying the bill receives goods from shop keeper
· Shop keeper places order to supplier and receives goods
TEXTUAL ANALYSIS
(a)ACTORS
i. Customer
ii. Shop Owner
iii. Sales boy
iv. Supplier
(b)VERBS
i. Customer:
1. Places order to shop owner/sales boy
2. Receives bill from shop owner
3. Pay the bill
4. Receive goods
ii. Shop Owner:
1. Receives order from customer
2. Forwards order to sales boy
3. Receive goods from sales boy
4. Calculates bill
5. Receives payment
6. Places orders to supplier
7. Maintains inventory
iii. Supplier
1. Receives order from shop owner
2. Delivers goods to shop owner
USECASE DIAGRAM
CLASS DIAGRAM
SEQUENCE DIAGRAM
STATE-CHART DIAGRAM
CUSTOMER
SUPPLIER
SHOP OWNER
SALES BOY
ACTIVITY DIAGRAM
COLLABORATION DIAGRAM
CASE STUDY 3 - ONLINE MOVIE TICKETS BOOKING SYSTEM
INTRODUCTION
This project is aimed at developing an online ticket reservation system for a
Cinema Hall. The Ticket Reservation System is an Internet based application that
can be accessed throughout the Net and can be accessed by anyone who has a net
connection. This application will automate the reservation of tickets.
This online ticket reservation system provides a website for a cinema hall
where any user of internet can access it. This
Existing system: The existing system has two ways of booking tickets for a movie:
One is to book tickets at the ticket counter of respective cinema hall and the
other one is through phone called as “Tele booking”. Former is one of the hectic
processes where one should stand in long queues for hours. Tele booking was
introduced keeping in view the user’s comfort while booking tickets.
Proposed system:
The proposed system is a web based application where one can buy tickets
with just one click go. An internet user can buy tickets at any time of day or night.
He will be guided with all the necessary steps to book tickets and collect tickets at
the ticket counter in the website.
Also in the proposed system, customers can cancel seats at a suitable time (2
days before the show to 1hour before the show). If the customer wishes to cancel
his tickets he will be given a confirmation details regarding his cancellations. As
the customer buys tickets online through his credit card, on cancellation of tickets
the refunded amount (30% of the amount will be charged for service charges) will
be added back to his credit card account. To enhance the refund function, all the
customers have to register and become a member before buying tickets so that he
faces no problem while accessing the website.
TEXTUAL ANALYSIS
(a)ACTORS
USER ADMIN DATABASE
(b)VERBS
1. USER Searching for a ticket Enters username and password Enters details Books a ticket
2. ADMIN Enter in to the system Select operation Enter ID and Password Enter the details in the form
3. DATABASE Ask for ID and Password Verify the Password Check the availability of tickets Asks to enter the credit info Gives the receipt/ticket
U SE DIAGRAM
ONLINE MOVIE TICKET RESERVATION
SEQUENCE DIAGRAM
LOGIN
MOVIE INFIRMATION
THEATRE INFIRMATION
TICKET INFIRMATION
PAYMENT
CLASS DIAGRAM
ONLINE MOVIE TICKET RESERVATION
COLLABORATION DIAGRAM
LOGIN
MOVIE INFIRMATION
THEATRE INFIRMATION
TICKET INFIRMATION
PAYMENT
STATE CHART DIAGRAM
ONLINE MOVIE TICKET RESERVATION
ACTIVITY DIAGRAMS
LOGIN
MOVIE INFIRMATION
THEATRE INFIRMATION
TICKET INFIRMATION
PAYMENT
COPONENT DIAGRAM
ONLINE MOVIE RESERVATION
DEPLOYMENT DIAGRAM
ONLINE MOVIE RESERVATION
CONCLUSION
This system provides a big advantage that to book tickets through online in some of the big cities.This also tells about the information about number of theatres, movies running in them because it’s a time taking process to go to the theatre and book the tickets.
Updation is a major constraint in developing the present systems .
If we don’t automize the booking system this may lead to confusion .So we have to update the database every time after a ticket is booked.
This is an easy and simple way that most of the people following now-a-days.
REFERENCES
(a) OBJECT-ORIENTED ANALYSIS AND DESIGWith applications SEECOND EDITIONGrady Booch Rational Santa Clara, California
(b) Applying UML and PatternsAn introduction to Object Oriented Analysis and design and the Unified Process (II edition)Craig Larman
(c) UML Distilled: A Brief Guide to the Standard Object ModelingLanguage, Third EditionBy Martin Fowler