Professional Documents
Culture Documents
Index: S.No List of Experiment
Index: S.No List of Experiment
S.NO
LIST OF EXPERIMENT
PAYROLL PROCESSING
ONLINE SHOPPING
BANKING SYSTEM
Unified Modeling Language is a standard language which is used to develop the object oriented software and software development process. UML DIAGRAMS ARE: USE CASE DIAGRAM SEQUENCE DIAGRAM CLASS DIAGRAM USE CASE DIAGRAM: A Use case is a set of scenario that describes an interaction between user and a system. A Use case diagram displays the relationship among Actors and Use cases. The two main components of Use case diagrams are: 1. Use cases Functions 2. Actors-User
SEQUENCE DIAGRAM: It describes the behavior of a system by viewing the interaction between the system and its environment. Sequence diagram has two dimensions: 1. Vertical dimension represents the life time. 2. Horizontal dimension represents the object. CLASS DIAGRAM: It represents the class name, attributes and list of methods which are going to use the software development process.
1. PAYROLL PROCESSING AIM: To implement the Payroll Processing using Rational Software.
1. ALGORITHM FOR USECASE DIAGRAM: Step 1: Identify the Actors and Use cases. In this system, the actors and use case are: Actors : Employee, Administrator, System and Database. Use cases : Employee details, Validity check, Payroll processing, View and Print the salary details. Step 2: Build the relationship between actors and use cases. The Use case diagram for the payroll processing is given in Fig (1).
Employee Details
Validity Check
Administrator System
Payroll Processing
Database
Step 1: Identify the objects. In this system, the objects are: Employee, administrator, Systems and Database. Step 2: Identify the sequence of events. Step 3: Enter the employee ID. Step 4: Perform the computations. Step 6: Save the details in database. Step 7: Send the details to the system. Step 8: View and print the salary details. The sequence diagram for the payroll processing is given in Fig (2).
Employee
Administrato r
System
Database
Payroll Processing
1: Provide ID 2: Enter ID
3: Validation check
4: Provide deatils
5: Procssing
3. ALGORITHM FOR CLASS DIAGRAM: Step 1: Create class diagram for each identified objects under sequence diagram. Identified objects are: User, System and Database. Step 2: Class diagram for each object is divided into three parts. Top Portion represents the Class Name. Middle Portion represents the Attributes. Bottom Portion represents the Methods. The Class diagram for the Payroll Processing is shown in Fig (3).
Procedure to write the software for the Payroll Processing using Rational Software tool
Selecting the software: 1. Click start Rational Software Rational Administrator. Create the project: 2. Click SelectFileNew ProjectGive name to the fileBrowseNextPassword Name and Conformation PasswordNext.
Selecting the database: 3. CreateMS-AccessFinish. Open the Rational Rose Tools: 4. Click toolsRational Rose. To draw the diagram: 5. Click Untitled (Give name to the file)Right clickUse case diagramSequence diagramClass diagram. 6. Click Use case diagramThe symbols Are displayed then we can build the use case diagram. 7. Click Sequence diagram The symbols Are displayed then we can build the sequence diagram. 8. Click Class diagram The symbols Are displayed then we can build the classs diagram.
Generate the coding form: 9. Click ComponentRight ClickSave the FileRight ClickOpen specificationSelect the languageVBRealizeChoose Component. 10. Click Component ViewConnectPasswordIf the password is matched then the code will be generated automatically for the function which is already mentioned in the class diagram.
PROGRAM:
SAMPLE OUTPUT:
S.no name dept age designation Sex Basic HRA DA PF Gross Net pay pay pay
RESULT: Thus the Payroll Processing was developed using rational software.
2.ONLINE SHOPPING AIM: To implement Online Shopping using Rational Software. ALGORITHM:
1.ALGORITHM FOR USECASE DIAGRAM: Step 1: Identify the Actors and Use cases. In this system, the actors and use case are: Actors : site visitor, web site, server Use cases : Help desk system Step 2: Build the relationship between actors and use cases. The use case diagram for online shopping system is given in Fig (1).
Fig(1). Use case diagram for online shopping system 2.ALGORITHM FOR SEQUENCE DIAGRAM: Step 1: Identify the objects. In this system, the objects are: site visitor, web site, server Step 2: Identify the sequence of events. Step 3: The visitor request for product.
Step 4: Servlet shows the list of products to the desk engine Step 5: Desk engine return the product list to the user Step 6: User select product and request title for the product Step 7: User request foe selection of texts, desk engine identifies fag texts Step 8: If fag text is found user sends key word for search for new frame Step 9: Desk engine returns the fag titles to the user The Sequence diagram for the online shopping application is given in Fig (2)
Fig (2). Sequence diagram for online shopping system 3.ALGORITHM FOR CLASS DIAGRAM: Step 1: Create class diagram for each identified objects under sequence diagram. Identified objects are: site visitor, web site and server. Step 2: Class diagram for each object is divided into three parts.
Top Portion represents the Class Name. Middle Portion represents the Attributes. Bottom Portion represents the Methods. The Class diagram for online shopping system is shown in Fig (3).
Procedure to write the software for online shopping using Rational Software tool
Selecting the software: 1. Click start Rational Software Rational Administrator. Create the project: 2. Click SelectFileNew ProjectGive name to the fileBrowseNextPassword Name and Conformation PasswordNext. Selecting the database: 3. CreateMS-AccessFinish. Open the Rational Rose Tools: 4. Click toolsRational Rose. To draw the diagram: 5. Click Untitled (Give name to the file)Right clickUse case diagramSequence diagramClass diagram. 6. Click Use case diagramThe symbols Are displayed then we can build the use case diagram. 7. Click Sequence diagram The symbols Are displayed then we can build the sequence diagram. 8. Click Class diagram The symbols Are displayed then we can build the classs diagram.
Generate the coding form: 9. Click ComponentRight ClickSave the FileRight ClickOpen specificationSelect the languageVBRealizeChoose Component. 10. Click Component ViewConnectPasswordIf the password is matched then the code will be generated automatically for the function which is already mentioned in the class diagram.
PROGRAM:
SAMPLE OUTPUT:
S.NO
SITE VISITOR
WEB SITE
SERVER
RESULT
RESULT: Thus the Online Shopping was developed using rational software.
To implement Online Shopping using Rational Software. ALGORITHM: 1.ALGORITHM FOR USECASE DIAGRAM: Step 1: Identify the Actors and Use cases. In this system, the actors and use case are: Actors : site visitor, web site, server Use cases : Help desk system Step 2: Build the relationship between actors and use cases. The use case diagram for online voting system is given in Fig (1).
check id loginform reply voter id proof require form reply controller voter reply voter information select party voting infor poling officer verifier
Fig(1). Use case diagram for online voting system 2.ALGORITHM FOR SEQUENCE DIAGRAM: Step 1: Identify the objects. In this system, the objects are: site visitor, web site, server
Step 2: Identify the sequence of events. Step 3: The voter login into the system. Step 4: verifier verifies the voter details. Step 5: The voter information stored in the controller Step 6: The voter polling the vote in online. The Sequence diagram for the online voting system application is given in Fig (2)
voter 1: login verifier controller polling officer
2: reply login
3: voter information
4: reply
5: voting
6: reply voted
Fig (2). Sequence diagram for online voting system 3.ALGORITHM FOR CLASS DIAGRAM: Step 1: Create class diagram for each identified objects under sequence diagram. Identified objects are: login,voter details,type of login,login,count,etc,. Step 2: Class diagram for each object is divided into three parts. Top Portion represents the Class Name. Middle Portion represents the Attributes. Bottom Portion represents the Methods. The Class diagram for online voting system is shown in Fig (3).
Type_of_login
Select_Details
Voter_details Vote Voter_id Name Address DOB Gender Age Insert Search Update Delete Back Count
Vote_count Back
Procedure to write the software for online voting system using Rational Software tool Selecting the software: 11. Click start Rational Software Rational Administrator. Create the project: 12. Click SelectFileNew ProjectGive name to the fileBrowseNextPassword Name and Conformation PasswordNext. Selecting the database: 13. CreateMS-AccessFinish. Open the Rational Rose Tools: 14. Click toolsRational Rose. To draw the diagram: 15. Click Untitled (Give name to the file)Right clickUse case diagramSequence diagramClass diagram. 16. Click Use case diagramThe symbols Are displayed then we can build the use case diagram. 17. Click Sequence diagram The symbols Are displayed then we can build the sequence diagram. 18. Click Class diagram The symbols Are displayed then we can build the classs diagram.
Generate the coding form: 19. Click ComponentRight ClickSave the FileRight ClickOpen specificationSelect the languageVBRealizeChoose Component. 20. Click Component ViewConnectPasswordIf the password is matched then the code will be generated automatically for the function which is already mentioned in the class diagram.
PROGRAM:
SAMPLE OUTPUT:
S.NO
SITE VISITOR
WEB SITE
SERVER
RESULT
RESULT: Thus the Online Voting System was developed using rational software.
4. BANKING SYSTEM
AIM: To implement the Banking System using Rational Software. 1. ALGORITHM FOR USECASE DIAGRAM: Step 1: Identify the Actors and Use cases. In this system, the actors and use case are: Actors : User, System and Database. Use cases : Login, Deposit, Withdrawal, Updation, Balance enquiry. Step 2: Build the relationship between actors and use cases.
User Withdrawal
Updation
Database
Balance enquiry
2. ALGORITHM FOR SEQUENCE DIAGRAM: Step 1: Identify the objects. In this system, the objects are: User, Systems and Database.
Step 2: Identify the sequence of events. Step 3: Login to the system to check the validity. Step 4: Select the option in the system. Step 5: For the user to deposit or withdraw the amount, they should enter the option in the system. Step 6: The system will do the corresponding processing with proper updation in the database. Step 7: Finally the balance is displayed to the user. The sequence diagram for the Banking System is shown in Fig (2).
System 2: Vlaidate
Database
10: Withdraw request 11: Processed 13: Balance request 16: Display details 12: Updation
3. ALGORITHM FOR CLASS DIAGRAM: Step 1: Create class diagram for each identified objects under sequence diagram. Identified objects are: User, System and Database. Step 2: Class diagram for each object is divided into three parts. Top Portion represents the Class Name. Middle Portion represents the Attributes. Bottom Portion represents the Methods. The Class diagram for the Banking System is shown in Fig (3).
Fig (3). Class diagram for Banking System Procedure to write the software for the Banking System using Rational Software tool Selecting the software: 1. Click start Rational Software Rational Administrator. Create the project: 2. Click SelectFileNew ProjectGive name to the fileBrowseNextPassword Name and Conformation PasswordNext. Selecting the database: 3. CreateMS-AccessFinish.
Open the Rational Rose Tools: 4. Click toolsRational Rose. To draw the diagram: 5. Click Untitled (Give name to the file)Right clickUse case diagramSequence diagramClass diagram. 6. Click Use case diagramThe symbols Are displayed then we can build the use case diagram. 7. Click Sequence diagram The symbols Are displayed then we can build the sequence diagram. 8. Click Class diagram The symbols Are displayed then we can build the classs diagram.
Generate the coding form: 9. Click ComponentRight ClickSave the FileRight ClickOpen specificationSelect the languageVBRealizeChoose Component. 10. Click Component ViewConnectPasswordIf the password is matched then the code will be generated automatically for the function which is already mentioned in the class diagram.
PROGRAM:
SAMPLE OUTPUT:
S.NO
USER NAME
ACCOUNT NO
RESULT: Thus the Banking System was developed using rational software.