Cs2357-Ooad Lab Manual
Cs2357-Ooad Lab Manual
Cs2357-Ooad Lab Manual
LAB MANUAL
Year/Sem : III/ VI
AIM
DESCRIPTION
The heart of object-oriented problem solving is the construction of a model. The model
abstracts the essential details of the underlying problem from its usually complicated real world.
Several modeling tools are wrapped under the heading of the UML, which stands for Unified
Modeling Language. The purpose of this course is to present important highlights of the UML.
At the center of the UML are its nine kinds of modeling diagrams, which we describe here.
Class diagrams
Object diagrams
Sequence diagrams
Collaboration diagrams
Activity diagrams
Component diagrams
Deployment diagrams
Classes are the "blueprints" for objects. A class wraps attributes (data) and behaviors
(methods or functions) into a single distinct entity. Objects are instances of classes.
Use Case diagrams identify the functionality provided by the system (use cases), the
users who interact with the system (actors), and the association between the users and the
functionality. Use Cases are used in the Analysis phase of software development to articulate the
high-level requirements of the system. The primary goals of Use Case diagrams include:
GRAPHICAL NOTATION
The basic components of Use Case diagrams are the Actor, the Use Case, and the
Association.
ACTOR
An Actor, as mentioned, is a user of the system, and is depicted using a stick figure. The
role of the user is written beneath the icon. Actors are not limited to humans. If a system
communicates with another application, and expects input or delivers output, then that
application can also be considered an actor.
USE CASE
A Use Case is functionality provided by the system, typically described as verb + object
(e.g. Register Car, Delete User). Use Cases are depicted with an ellipse. The name of the use case
is written within the ellipse.
ASSOCIATION
Associations are used to link Actors with Use Cases, and indicate that an Actor
participates in the Use Case in some form. Associations are depicted by a line connecting the
Actor and the Use Case.
The following image shows how these three basic elements work together to form a use
case diagram.
Use case diagrams describe what a system does from the standpoint of an external
observer. The emphasis is on what a system does rather than how.
Determining features (requirements). New use cases often generate new requirements
as the system is analyzed and the design takes shape.
Communicating with clients. Their notational simplicity makes use case diagrams a
good way for developers to communicate with clients.
Generating test cases. The collection of scenarios for a use case may suggest a suite of
test cases for those scenarios.
2. SEQUENCE DIAGRAM
Sequence diagrams document the interactions between classes to achieve a result, such as
a use case. Because UML is designed for object-oriented programming, these communications
between classes are known as messages. The Sequence diagram lists objects horizontally, and
time vertically, and models these messages over time.
NOTATION
In a Sequence diagram, classes and actors are listed as columns, with vertical lifelines
indicating the lifetime of the object over time.
OBJECT
Objects are instances of classes, and are arranged horizontally. The pictorial
representation for an Object is a class (a rectangle) with the name prefixed by the object name
(optional) and a semi-colon.
ACTOR
Actors can also communicate with objects, so they too can be listed as a column. An
Actor is modeled using the ubiquitous symbol, the stick figure.
LIFELINE
The Lifeline identifies the existence of the object over time. The notation for a Lifeline is
a vertical dotted line extending from an object.
ACTIVATION
Activations, modeled as rectangular boxes on the lifeline, indicate when the object is
performing an action.
Message
Messages, modeled as horizontal arrows between Activations, indicate the
communications between objects.
Each vertical dotted line is a lifeline, representing the time that an object exists. Each
arrow is a message call. An arrow goes from the sender to the top of the activation bar of the
message on the receiver's lifeline. The activation bar represents the duration of execution of the
message.
3. ACTIVITY DIAGRAM
Activity diagrams are used to document workflows in a system, from the business level
down to the operational level. When looking at an Activity diagram, you'll notice elements from
State diagrams. In fact, the Activity diagram is a variation of the state diagram where the "states"
represent operations, and the transitions represent the activities that happen when the operation is
complete. The general purpose of Activity diagrams is to focus on flows driven by internal
processing vs. external events.
ACTIVITY STATES
Activity states mark an action by an object. The notations for these states are rounded
rectangles, the same notation as found in State chart diagrams.
Transition
When an Activity State is completed, processing moves to another Activity State.
Transitions are used to mark this movement. Transitions are modeled using arrows.
SWIM LANE
Swim lanes divide activities according to objects by arranging objects in column format
and placing activities by that object within that column. Objects are listed at the top of the
column, and vertical bars separate the columns to form the swim lanes.
INITIAL STATE
The Initial State marks the entry point and the initial Activity State. The notation for the
Initial State is the same as in State chart diagrams, a solid circle. There can only be one Initial
State on a diagram.
FINAL STATE
Final States mark the end of the modeled workflow. There can be multiple Final States on
a diagram, and these states are modeled using a solid circle surrounded by another circle.
SYNCHRONIZATION BAR
Activities often can be done in parallel. To split processing ("fork"), or to resume
processing when multiple activities have been completed ("join"), Synchronization Bars are
used. These are modeled as solid rectangles, with multiple transitions going in and/or out.
4. COMPONENT DIAGRAM
Component diagrams fall under the category of an implementation diagram, a kind of
diagram that models the implementation and deployment of the system. A Component Diagram,
in particular, is used to describe the dependencies between various software components such as
the dependency between executable files and source files. This information is similar to that
within make files, which describe source code dependencies and can be used to properly compile
an application.
COMPONENT
A component represents a software entity in a system. Examples include source code
files, programs, documents, and resource files. A component is represented using a rectangular
box, with two rectangles protruding from the left side, as seen in the image to the right.
DEPENDENCY
A Dependency is used to model the relationship between two components. The notation
for a dependency relationship is a dotted arrow, pointing from a component to the component it
depends on.
5. CLASS DIAGRAM
A Class diagram gives an overview of a system by showing its classes and the
relationships among them. Class diagrams are static -- they display what interacts but not what
happens when they do interact.
UML class notation is a rectangle divided into three parts: class name, attributes, and operations.
Names of abstract classes, such as Payment, are in italics. Relationships between classes are the
connecting links.
The multiplicity of an association end is the number of possible instances of the class
associated with a single instance of the other end. Multiplicities are single numbers or ranges of
numbers.
Multiplicities Meaning
0..1 zero or one instance. The notation n . . m indicates n to m instances.
0..* or * no limit on the number of instances (including none).
1 exactly one instance
1..* at least one instance
Every class diagram has classes, associations, and multiplicities. Navigability and roles are
optional items placed in a diagram to provide clarity.
To simplify complex class diagrams, you can group classes into packages. A package is a
collection of logically related UML elements. The diagram below is a business model in which
the classes are grouped into packages.
Packages appear as rectangles with small tabs at the top. The package name is on the tab
or inside the rectangle. The dotted arrows are dependencies. One package depends on another if
changes in the other could possibly force changes in the first.
The object diagram below instantiates the class diagram, replacing it by a concrete example.
Each rectangle in the object diagram corresponds to a single instance. Instance names are
underlined in UML diagrams. Class or instance names may be omitted from object diagrams as
long as the diagram meaning is still clear.
7. COLLABORATION DIAGRAMS
Collaboration diagrams are also interaction diagrams. They convey the same
information as sequence diagrams, but they focus on object roles instead of the times that
messages are sent. In a sequence diagram, object roles are the vertices and messages are the
connecting links.
The object-role rectangles are labeled with either class or object names (or both). Class
names are preceded by colons ( : ).
Each message in a collaboration diagram has a sequence number. The top-level message
is numbered 1. Messages at the same level (sent during the same call) have the same decimal
prefix but suffixes of 1, 2, etc. according to when they occur.
Objects have behaviors and state. The state of an object depends on its current activity or
condition. A statechart diagram shows the possible states of the object and the transitions that
cause a change in state.
States are rounded rectangles. Transitions are arrows from one state to another. Events or
conditions that trigger transitions are written beside the arrows. The initial state (black circle) is a
dummy to start the action. Final states are also dummy states that terminate the action.
The software architecture is a fairly large topic: we will only introduce one possible
solution (the most common) here.
As we have finished the requirement analysis part of the first iteration and are ready to
move on to design we can look at a larger scale.
The design of a typical OO system is based on several architectural layers, such as a UI
layer, an application logic (or "domain") layer, and so forth.
PROBLEM STATEMENT :
Book bank system is to implement book borrowing online. Book bank system
provides students or users about various books in various fields. The student who wants to take
up a course can browse any related website and gather information about the course and books.
We must register there to borrow books and after submitting the form, mail will be sent to the e-
mail mentioned in the form which tells about the author name, terms and conditions etc. Once
the conditions have been accepted, the user will be provided with a membership name and a
password. The details about payments,rental, renewal, return, etc are available. The maintenance
is done by the administrator. The student can borrow a book. After a book has being borrowed
for somedays and if the time of borrowal need to be extended, we can renew the book. If the
book has been utilised, we can return the book. The corresponding updates such as book being
borrowed will be updated as available online. After all this, we can sign off and end the process.
SCOPE OF SYSTEM :
The book bank system project is a software toolcreated to help and access the students
gather required information about the various books in the institution the project is web based
interactive application. Focus is laid solely on the book display ,schedule,categories,syllabus and
payment as per required.
OVERVIEW OF THE SYSTEM :
The target client for our software are students who lively are interested in rental of
books be it either from engineering or medical genre in the institution. They can log into our
website and browse the courses which they have aspiration to study. The booking or reservation
of the books is online, the detailed description about their book package and necessary terms and
condition norms would be mailed to the students registered email address which he / she may
provide during the time of registration.
GENERAL DESCRIPTION :
PRODUCT PERSPECTIVE :
1. This product requires a web browser that is capable of playing a flash player.
2. This program will not be dependent on any other software and is not a component of
another program.
3. This program does not need any new hardware.
PRODUCT FUNCTION :
Its function is to maintain the record of books available, renewable, return of
books, details offline, unavailability and their current state of books that are available.
USER INTERFACE :
A convenient GUI will provide users with the ability to quickly enter the
information from the users about the book either author name or book name and output the
availability or unavailability of books in the book bank.
HARDWARE REQUIREMENTS :
1. Processor Intel Pentium IV-2.0GHz
2. Hardware- 40 GB
3. RAM 512 mb
4. DVD RAM 1no.
SOFTWARE REQUIREMENTS :
1. OS- Windows WP / Vista
2. Front end tool Rational Rose Enterprise Suite
3. Back end tool- MSAccess
GENERAL CONSTRAINTS :
1. Filling the form manually to register in book bank.
2. Due date to submit the book.
3. Reserve the book manually is a problem.
SPECIFIC REQUIREMENTS :
FUNCTIONAL REQUIREMENT :
A functional requirements defines a function of a software system on its
component. A function is described has a set of inout, the behaviour and the output.
1. Main menu including a brief help section.
2. Login
3. Viewing book details.
4. Displaying details.
5. Maintain and update book details.
6. Logout
PERFORMANCE REQUIREMENTS:
The product shall be based on web and has to be run from a web server. The product
shall take initial load time depending on the internet connection strength which also depends on
the media from which the product is run. The performance shall depend upon hardware
components of the client/customer.
SAFETY REQUIREMENTS:
1. The system shall automatically logout all customers after a period of inactivity.
2. A system shall not leave any cookies on the customers computer containing any of the
users confidential information.
3. The systems back-end databases shall be encrypted.
4. The customers web browser shall never display the users password;
RELIABILITY :
The system should be available at all times except for monthly maintenance of no more
than 10 minutes. The system backup onto a second server will be performed during the
maintenance time as well as once daily and system recovery will only be executed as
necessary. In addition, the secondary server will be prepared to help recover in the event of
hardware failure
RISK MANAGEMENT
RISK TABLE :
SN RISK CATEGORY PROBABILIT IMPACT RMMM (Risk Mitigation
O Y Monitoring and
Management)
1. Unauthorised Business 30% Critical . IT security policy,procedure
acess to impact. and standards should be in
information. place and available to staff.
Anti-virus protection can be
given.
2. Loss of Product size. 10% Marginal Contingency for loss of
relevant data,backup routines for
information. system failure.
3. Incorrect Development 15% Catastroph Implement a warning system
recording of environment y that identifies suspicious
transaction in transaction.
accounting
system.
4. Lack of Technology 20% Negligible. Regular record of customers
control over to be built. who have borrowed books.
return and Record of return,renewal and
renewal. fine amount on books.
5. Lack of Business 5% Critical. Procedures for testing back-
backup impact up and recovery. Save the
routines. customers archives and
documents in secure
premises.
6. Incomplete Development 10% Negligible. Restricting the number of
control environment users at a particular time.
Establish security
arrangements to avoid
multiple users to select same
book at a time.
7. Lack of Product size. 10% Critical. If there is a situation where
update no books are available,an
alert must be provided. If a
customer hasnt returned or
renewed a book for a longer
time, action must be taken.
Task 12
Task 11
Task 10
Task 9
Task 8
Weeks
Task 7
Task 6
Task 5
Task 4
Task 3
Task 2
Task 1
login database
user
search books
pay
availability bank
reading/downloading/borrowing/
returning
issue
logout
CLASS DIAGRAM
system administrator
system no.
password
name
register()
member renewal of
books
authorize
payment
ACTIVITY DIAGRAM
accept deny
collect books
create reciept
collect books
and reciepts
recieve books
books
SEQUENCE DIAGRAM
:CUSTOMER :ADMIN :DATABASE :DELIVERY
BOY
Register(name,id,pswd)
registration confirmation
login(id,pswd)
authenticate
penalty amount
make payment
books search(id,author)
search result
order books
amount to be paid
payment mode
payment by cash
card details
authentication
send books
COLLABORATION DIAGRAM
1: Register(name,id,pswd)
3: login(id,pswd)
5: request for renewal
:CUSTOM 7: make payment
ER 10: order books
13: payment by cash
14: card details
:ADMIN
2: registration confirmation
4: authenticate
8: books search(id,author) 6: penalty amount
9: search result
11: amount to be paid
12: payment mode
15: authentication
:DATABA
SE :DELIVERY
BOY
cash payment
end process
LOGICAL ARCHITECTURE
user interface
web swing
(from javax)
book bank
user incharge
bank
technical services
database security
(from javax)
COMPONENT DIAGRAM
<<executables>>
book namk.exe
<<component>>
HTTP web
page
<<component>>
servlets
<<component>> <<component>>
JRE oracle 10
DEPLOYMENT DIAGRAM
<<server>>
:DELL POWER 3600
<<Client workstation>>
:HCLPC
SOAP
HTTP
<<artifact>>
:bookbank.exe
<<webserver clusters>> <<servlet container>>
:Apache 2.1 :Tomcat 6.0
SQL
<<server>>
:DELL POWER 3400
<<operating system>>
Windows XP
<<database>>
Oracle 10g
RESULT:
Thus a project for book bank system was completed successfully.
ONLINE EXAM REGISTRATION SYSTEM
PROBLEM STATEMENT
The system that is presently in use in Jeeth institution in for various exam registrations is
inefficient. The students have to collect the forms in person, fill it, attach the required documents,
submit it and await their response. Now the main problem is, the people in-charge have to
scrutinize the several thousand forms, store the details of the candidates in the database, prepare
the hall ticket and mail the response back to the candidate. This process is very tedious, time
consuming and there is a high probability of misplacing applications.
Introducing an Online Registration System will help in eliminating these disadvantages.
This system initially provides a list of the various exams. Once the candidates select their desired
exam, the available venues and dates will be displayed out of which they can choose the date and
venue convenient for them.
According to their selection, the form is produced. The details have to be carefully filled
and the requested documents must be scanned and uploaded. If the details are verified and found
to be authentic, the candidate has to proceed to the payment of the registration fee. The payment
can be made through either Net Banking or Credit/Debit cards.
Once this process is completed, the hall ticket is generated and the details of the
candidates are stored in the database. The candidates are required to take a print out of the hall
ticket when appearing for the exam.
By using such a system, manual processing is completely avoided and thereby time is
also saved. The response too is immediate and the process is completed in a simple and easy
manner.
The purpose of the exam registration system is to enable the applicants to register
online for the various exams offered in Jeeth institutions effortless and user-friendly manner.By
using this system manual processing is avoided and time consumed is reduced.
The system will be built initially as a standalone system that could be hosted
anywhere.This approach will enable us to fully develop and debug the system in full before it
can be integrated within any system.This system will be built to be highly available,redundant
and fully secured.
General Description:
Product Perspective:
Once the system is completely developed and tested it will be incorporated as part of the
Jeeth institution website.This will be developed using a scripting language such as javascript and
the oracle server will be used as a backend.
Product Function:
User Characteristics:
The system will be used in two modules which are administrator and student modules.As
both of these have different requirements they are designed to meet their needs and avoid any
type of confusion.
Administrator Module:
o Add and edit courses
o Add and edit date
o Add and edit venue
o Add and edit mode of payment
o View result
o Generate report
Applicant module:
o Register for an exam
o View result
General constraints:
Security:The information should be secure and there should not be any kind of
malfunction.
Reliabilty:It should keep secure all information regarding an applicant.It should work
effectively in tremendous rush.
Flexibility:The system should be able to work on other kinds of technology with little
modifications.
Efficiency:The system should not hang or lose its efficiency in any kind of worse
condition.
Hardware requirement:
Pentium 4
200 MB hard disk space
512 MB RAM
Software requirements:
Specific Requirements:
Functional requirements:
Performance requirements:
The system is required a fair amount of speed while browsing through the catalogue and
presenting different possibilities.
When the system is disconnected or frozen due to over access at the same time,it should
save all the processes of the users.
The system should be able to manage all the information from the database.
Reliability:
The reliability of the system is directly linked to the level of update of the documents
to which it is correlated,such as the catalogue or the student database. The system and the
external documents must be updated constantly according to the necessities of the stakeholders.
Safety requirements:
Every student must have secure and private access to his/her data.
Data integrity should be assured by limiting access to the database and by appropriate
synchronization and back-up functionalities.
The system will develop a security system that will reduce to the minimum the possibility
of corruption from systems and/or humans.
RISK MANAGEMENT
S. Risk Category Pro Impact RMMM
no bab
ility
1. Database Technology to 5% Catastrophi Test the software regularly and take
Connectivity be built c backups of the data at periodic intervals
2. Document Stakeholder 20% Marginal Raise a pop-up window indicating the error
uploading characteristics and requesting to redo the operation with
problems appropriate file type
3. Requirement Process 10% Catastrophi Analyze and understand the project
understandin definition c completely, meet up with the customer at
g regular intervals and get feedback.
4. Project not Staff size and 15% Critical Have back-up staff in case of emergency
meeting experiment/ and spend less time in the planning stage.
deadline product size
5. Project cost Development 25% Critical Allocate resources at each stage of the
environment/ project efficiently, place maximum bounds
Process on the cost estimate.
definition
6. Continuous Stakeholders 10% Marginal High change threshold, information hiding,
requirement characteristics incremental development.
change
7. Real-time Technology to 5% Critical Simulation, benchmarking, modeling,
performance be built/ prototyping, instrumentation, tuning.
shortfalls development
environment
8. Security Business 20% Catastrophi Build strong firewalls and embed anti-virus
(virus impact c software
attacks)
9. Unauthorize Business 8% Marginal Passwords should be combinations of
d access of impact letters, digits and special characters and
data users should be notified about each login.
GANTT CHART
Gantt Chart for Exam Registration System
Task 12
Task 11
Task 10
Task 9
Task 8
Weeks
Task 7
Task 6
Task 5
Task 4
Task 3
Task 2
Task 1
Validate
information
Authentiacate
View result payment
No
Yes
Generate hall
ticket
Generate result
SEQUENCE DIAGRAM
Student System Administrator
Register
Login
Authorize login
Select Exam
Verify details
Authenticate payment
Upload results
View result
Generate result
COLLABORATION DIAGRAM
1: Register
4: Login
6: Select Exam
8: Fill forms and upload documents
11: Enter payment details
15: View result
Student System
3: Modify system
14: Upload results 9: Sends details for verification
10: Verify details
Administra
tor
Administrator validates
Fill Forms and Validate
Upload Documents Details
Enter registration number
Proceeds to payment
Authenticate
Payment
View
System generates
Result
Generate
Hall Ticket
Web SWING
Exam Registration
Systems Systems
Payment Administator
Administator Manager
Technical Services
COMPONENT DIAGRAM
<<Executable>>
Exam
Registration.exe
<<Component>>
HTTP Web page
<<Component>>
Servlets
<<Component>> <<Component>>
JRE Oracle 10g
DEPLOYMENT DIAGRAM
<<Server>>
DELL POWER 3400
<<System>>
Exam Registration
<<Server Side>>
Tomcat 6.0
<<OS>>
<<Client Side>> Windows
Applet
<<Database>>
<<Browser>> Oracle 10g
Web Browser
IMPLEMENTATION
Form1
Enter user name and password to login or register.
Private Sub Command1_Click()
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim a As Boolean
a = False
cn.Open "dsn=exam"
rs.ActiveConnection = cn
With rs
.CursorType = adOpenStatic
.CursorLocation = adUseClient
.LockType = adLockOptimistic
.Open "select * from Students"
End With
If (a = False) Then
MsgBox ("Enter Correct UserName and Password")
End If
End Sub
Form2
cn.Open "dsn=Exam"
rs.ActiveConnection = cn
With rs
.AddNew
.Fields(0) = Val(Text1.Text)
.Fields(1) = Text2.Text
.Fields(2) = Text3.Text
If (Option1 = True) Then
.Fields(3) = Option1.Caption
End If
If (Option2 = True) Then
.Fields(3) = Option2.Caption
End If
.Fields(4) = Val(Text5.Text)
.Fields(5) = Text6.Text
.Fields(6) = Text7.Text
.Fields(7) = Text8.Text
.Update
MsgBox ("Registration Success. Please Login")
Form1.Show
Unload Me
End With
Else
MsgBox ("Password doesn't match")
End If
End Sub
Form3
Form4
Private Sub Command1_Click()
Form3.Show
Unload Me
End Sub
cn.Open "dsn=exam"
rs.ActiveConnection = cn
With rs
.CursorType = adOpenStatic
.CursorLocation = adUseClient
.LockType = adLockOptimistic
.Open "select * from Exams"
End With
End Sub
Form 5:
After the payment of fees this form will appear where the student is finally registered for the
exam.
Result:
Thus the online exam registration system is implemented.
STOCK MAINTENANCE SYSTEM
PROBLEM STATEMENT:
The stock maintenance system is a real time application used on a day to day basis. It is a
database to store the transaction that takes place between the manufacturer, dealer and
shopkeeper that maintains the stock inward and stock outward with reference to the dealer. We
assume our self to be the dealer. We assume our self to be the dealer. The manufacturer is the
producer of items who maintains information like price per item, date of manufacturer, best
before use, number of items available and the company address. The dealers is responsible for
purchasing item from the manufacturer by requesting the required items with its corresponding
company name and number of items required. The dealer is responsible of distribution of items
to the retailers in the city. The retailer is the one who is responsible for selling items in the
market. The customers get their items from the shopkeeper and not from manufacturer or dealer.
The stock database records all the transactions that take place between the manufacturer and
dealer and the detailer and retailer.
SRS DOCUMENT
INTRODUCTION:
This software specification documents full set of features and functions for online stock
maintenance system that is maintained in a company website. In this we give specification about
the customer orders. It tells the useability, reliability defined in use case specification.
PURPOSE OF THE SYSTEM:
The purpose of the stock maintenance system is to maintain the stock (i.e) to maintain the
stock in a precise manner.
SCOPE OF THE SYSTEM:
The scope of this stock maintenance system is to maintain the stock for supermarkets, retailers
and suppliers individually.
OVER VIEW OF THE SYSTEM:
The overview of the project is to design an online tool for the recruitment process which
eases the work for the customer as well as the companies. The shopkeepers can create their own
forms in a way that they would like their database to look like.
GENERAL DESCRIPTION:
PRODUCT PERSPECTIVE:
This product requires a web browser.
This program will not be dependent on any other software and is not a component of
another program.
This program does not need any new hardware.
PRODUCT FUNCTION:
Its function is to maintain the record of stock, billing, details offline, out of the product
and their current stock positions with the company.
USER INTERFACE:
A convenient GUI will provide users with the ability to quickly enter the information
from the incoming orders from the supermarkets and to output the invoices reflecting the
outgoing flow of goods supplied to the supermarkets.
GENERAL CONSTRAINTS:
The product consumes that all deliveries from warehouse to supermarket are successfully
completed and there is no loss of items on the way.
It assumes that all suppliers have enough stock.
Specific book keeping and accounting regulations reflecting the current laws and
regulations will have to be programmed when updated.
HARDWARE REQUIREMENTS:
Processor : Pentium IV 2Ghz
RAM: 2Gb RAM
Monitor: 15 inch coloured
Keyboard
Mouse
SOFTWARE REQUIREMENTS:
Operating : Windows XP
Developing tool: Visual Basic 6.0
Database: MS Access
SPECIFIC REQUIREMENTS:
FUNCTIONAL REQUIREMENTS:
A functional requirement defines a function of a software system on its component.
Accepting orders from supermarkets
Responding to orders from supermarkets
Getting supermarkets billed
Sending goods to supermarkets
Ordering from suppliers
Receiving payment
Paying suppliers
Conducting daily and weekly sales analysis
PERFORMANCE REQUIREMENTS:
All pages should be loaded within 3 seconds or less assuming a broadband connection on
the clients side. Therefore, response time for transaction will be less. The system should support
as many as 50 online users simultaneously with negligible response delay.
SAFETY REQUIREMENTS:
The system shall automatically log out after a period of inactivity.
The system shall not leave any cookies on the customers computer containing
any of the users confidential information.
Systems back-end databases shall be encrypted.
RELIABILITY:
The system should be available at all times except for monthly maintenance of not more
than 10 minutes. The system backup onto a second server will be performed during the
maintenance time as well as once daily(midnight) and system recovery will only be executed as
necessary. In addition the secondary server will be prepared to help recover in the event of
hardware failure.
USE CASE DIAGRAM
registration
system
login administrator
shop keeper
database
check availability
bank
place order
supplier
pay
supply
dealer
logout
CLASS DIAGRAM
ST OCK_DETAILS
date1 : date
date2 : date
viewstock()
cancel()
ACTIVITY DIAGRAM
Update the
stock details
if value below
threshold
no yes
SEQUENCE DIAGRAM
:System :Stock holder
Calculate bill
Makes payment
Gives items
COLLABORATION DIAGRAM
2: Update the database
6: Update the stock and checks for threshold value
:Customer
:System
enter quantity
of items
update stock
details
generate bill
notify the
shopkeeper
deliver items
LOGICAL ARCHITECTURE
UI
Swing Web
Bank
Technical services
COMPONENT DIAGRAM
<<Executable>>
sms.exe
<<Server>>
Apache Tomcat
<<Component>>
JSP
Oracle
DEPLOYMENT DIAGRAM
<<server>>
:Dell PowerEdge 3600
<<client workstation>>
:HCL PC <<web server cluster>>
:Apache 2.1
<<artifact>> SOAP/HTTP
:sms.exe
<<servlet container>>
:Tomcat 6
SQL
<<server>>
:Dell PowerEdge 3400
<<OS>>
:Windows XP
<<Database>>
:Postgre SQL 10
RESULT:
Thus a project for stock maintenance system is completed successfully.
.ONLINE COURSE RESERVATION SYSTEM
PROBLEM STATEMENT:
The manual procedures for implementing for course reservation system was very tedious. It
is time consuming and stressful. It is less accurate.
The system is basically about courses and colleges. The system is designed in a way such
that the user need not travel to the particular place, he can interact with the system anywhere.
Our system provides spiral features like video conferencing, study materials. This system helps
the user to check the availability of the courses in various colleges. The user is provided with the
choice of selecting the mentors and the system has regular status updates. User has to fill up the
application form which contains name, phone no, marks scored in the previous course. The
document for the above should be attached .The system verifies the application form on the basis
of eligibility criteria accordingly the courses are selected. Once the reservation is done successful
the user is provided with the user id and password to login the system.
SRS DOCUMENT
Introduction:
Purpose of the system:
The main purpose of the system is to provide a clear view of the requirements of online
course reservation system to the developer.This project aims at developing the online system for
students to learn online.
General description:
Product perspective:
The system gives an overall description about the available course that a student can opt
to learn and professor can prefer to teach. The system provides login facility to the students .The
system checks whether the user have the required qualification to register and to view further
details on course availability.It allows the administrator to create the catalog and store it in the
database.
Product function:
The main functions include
1.Entering the student details into the database
2. Offering the chosen course to the student.
3.Receiving payment from the student.
User Interface:
A very interactive GUI is provided to the student and the staff.It prompts the factors to give
the required input for each activity of the system.
General Constraints:
1.Product Limitation
2.Parallel operation not applicable
3.Data Redudancyand use of Special/Blank characters must be avoided during registration.
Hardware Requirements:
Processor:Pentium 4 2GHZ
RAM: 2GB RAM
Monitor:15 inch coloured
Keyboard
Mouse
Software Requirements:
Windows XP
Oracle 6
MYSQL
Netbeans IDE
Functional Requirement:
1.Functional requirement defines the function of a software system on its component.
2.Accepting the student details.
3.Checking the availability of course.
4.Verifying the document attached.
5. Receiving payment
Performance Requirements:
Safety Requirement:
1.Payment transactions made at highly secure.
2.It keeps the data of the document updated confidential.
3.It reduces complexity involved in maintaining software.
Reliability:
The factors for establishing reliability are
1.The user cannot use the software with no valid id.
2.The staff qualifications are tested and hence a reliable service is offered.
USECASE DIAGRAM:
Class Diagram:
ACTIVITY DIAGRAM
SEQUENCE DIAGRAM
COLLABORATION DIAGRAM
STATE CHART DIAGRAMS
LOGICAL ARCHITECTURE
User Interface
web swing
(from javax)
registration
application form verification
login student system admin
student
status notification
technical services
<<EXECUTABLE>>
COURSE.EXE
APACHE TOMCAT
<<COMPONENT>>
JSB
ORACLE
DEPLOYMENT DIAGRAM
<<Server>>
DELL POWER 3400
<<System>>
Course Reservation
<<Server Side>>
Tomcat 6.0
<<OS>>
<<Client Side>> Windows
Applet
<<Database>>
<<Browser>> Oracle 10g
Web Browser
IMPLEMENTATION
Credit Card Processing
Problem statement
Credit card processing is a system of payment , ie It is like having electronic money in
our hands . The user can apply for credit cards instantly via the internet. The user can
borrow money and pay it later (or) pay the cash in advance. Data is stored in the magnetic strip
of the card. When a user makes a purchase, the user is asked a sign a receipt for verification
process, every month a credit card statement regarding the purchase made during the month will
be sent to the borrower .
The cardholder can give a verbal authorisations via telephone ie.) security code at the back of the
card, billing address, date of expiry. This machine is known as CNP (Credit Card Processing)
SRS Document
Introduction :
Purpose of the system
Scope of the system
Overview of the system
General description :
Product perspective
Product function
User Interface
General constraints
Hardware Requirements
Software Requirements
Specific Requirements :
Functional Requirements
Performance Requirements
Safety Requirements
Reliability .
Introduction :
Purpose of the system :
The purpose of the system is to allow customers perform safe and secure transactions , easy ,low
cost , remote access to the accounts outside of regular business hours .
Scope of system :
The system can be use in various is to provide better customer services,such as safe and reliable
transactions. Banks should be able to perform multiple simultaneous transactions .Credit
processing system can be implemented in bank ATM's ,shopping malls,stores etc.
Overview of the system:
The overview of the system is to build a credit card processing system that enables/helps
customers,anytime.
General description:
Product perspective:
The product perspective is to build servers that stores the transaction information made by every
customer by making proper updations after each transaction. To support multiple multiple
transactions ,the credit card processing system is aimed towards the segments of people. This
system serves the customers providing them cash free environment for purchase ,further it
provides shopkeepers an opportunity to provide customers an easy purchasing experience .This
system requires the customer to hold a card and requires internet connection at retail outlets.
Product functions:
A credit card processing system must support the following cases.
1.Class of use case:use case related to authorization,transaction,product delivery.
2.Use cases:login,submit order,transfer funds,product delivery.
User Interface:
The principle actors in the credit card processing system are customer,seller, and the system. The
seller would require knowledge regarding the usage of the system and the end user would only
need to carry a card.
General constraints:
The general constraints for the full working of a credit card processing system are interest
connections as it is a multi user,multi server system as the working depends on the availability
of server databases at all times.
Hardware requirements:
Processor:I6
harddisk:1 TB
Ram:2GB
Software requirements:
OS:windows 8
mysql
Java NetBeans 6.5.1
Specific requirements:
Functional requirements:
The functional requirements can be done described by giving various use cases.
Case 1:login
->customer presents a card to pay for the products.
->The merchant processes the card and sends a request to the merchant bank.
->The card issuer approves/declines request.
->If the basic flow of validate card fails the the case ends with a failure condition.
Case 2:Submit order:Pre-condition case 1 success
Once the customer is logged in,they can browse products check availability,select product for
purchase
->after the product is selected the system displays information about the product.
Then order is submitted,validated the system notifies the customer with success message.
->The case fails if the order is invalid or the user does not login succesfully or if the product is
not available.
Case 3:transfer fund: pre-condition ,the customer must have an account:
->The merchant sends a request to the request to the customers bank account.
->The credit card network pays the merchant bank and debits the card issuer account.
->The card issuer sends a monthly statement to the card holder for settlement.
->the case fails if the customer does not have enough money.
Performance requirement:
The system should run on a 500MHz,64MB machine and 90% of the responses should be within
2 seconds the transaction should be error here.
Safety requirement:
The files in which the information regarding users nad settlers should be secured against
malicious deformations ,unauthorized users and other malpractices .The data should not become
corrupted in case of system crash or power failure.
Reliability:
The system should be reliable ,error-free ,secure and should be fault tolerant i.e It should be
durable even during a system crash or system failure. The system should not lose data .The
transactions must be error free and responses must be sent and received within the specified time
span.
USECASE DIAGRAM FOR CREDIT CARD PROCESSING
Order Status
shipping
Inventory
Outstanding orders
getting
Product information checking
gets
Admin of website to validate
places
payment details
logout
CLASS DIAGRAM FOR CREDIT CARD SYSTEM
customer
pin no : int
credit card type : char shipping
Acquirer name : char custName : char
custAddr : Addr
getItemDetails() contactNo : int
order() alternateDest : int
paymentDetails()
viewOrderForm() outstandingOrders()
confirm() inventory()
orderStatus() orderStatus()
logout()
get product
information
validation of credit
card details
displays product
information
reject
confirm order
payment details
invalid
transaction
order status
outstanding
logout order
payment details
confirm order
shipping
bank
Apache Tomcat
<<component>>
JSP
oracle
Logout Successful
verification
hhhh
IMPLEMENTATION
public class CreditFrame1 extends javax.swing.JFrame {
public CreditFrame1() {
initComponents();
}
int cost;
int used;
String name=t1.getText();
int number=Integer.parseInt(t2.getText());
cost=Integer.parseInt(t3.getText());
CreditFrame2.setVisible(true);
}
String ownername=t4.getText();
int cardno=Integer.parseInt(t5.getText());
int limit=Integer.parseInt(t7.getText());
used=Integer.parseInt(t8.getText());
if(((limit-used)-cost)>=0)
l1.setText("Transaction Successful ");
else
l1.setText("Transaction Failed");
}
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new CreditFrame1().setVisible(true);
}
});
}
}
SCREENSHOTS
The credit card details are entered and the transaction is checked for its validity .
hTe
Th
The product details are entered by the cashier .
The transaction is checked for its validity and invalid transactions are declined .
RESULT : The Credit Card Processing system is implemented .
9. EBOOK MANAGEMENT SYSTEM
PROBLEM STATEMENT:
When e-book facilities werent available, one had to go in search of shops for the availability of
books, which was a tedious task. The only possible way to buy those books outside was by cash.
This was a major disadvantage in the earlier days, as there werent cash on delivery or credit card
payment option facilities. But, the advancement in technology has had led to e-book facilities
where one has to simply sit in front of a computer, go to the website needed to shop for, login,
browse for books required with their author name and publications if necessary and buy those
books.
Book quantities are also viewed and based on the users requirements the number of books is
selected and the payment is done. The payment may be done by cash on delivery or by credit
card as well. Books provide us the ease to read the books online also. However, authors with
books whose publishing rights are not given are by piracy posted on the Internet for readers.
These e-books can be read without having to pay. Other advantages include, one can carry
lightweight tablets while travelling and can read those e-books either by downloading them
almost instantly or by simply browsing them online. A free sample can also be downloaded to
check out the book that we want to buy.
SOFTWARE REQUIREMENT SPECIFICATION DOCUMENT FOR
EBOOK MANAGEMENT SYSTEM.
INTRODUCTION:
E-book management system gives an idea about how eBooks are maintained in particular.
EBooks that are to be purchased, the eBooks that are sold are maintained here. Further, some
additional details of the current eBook list that is available in that particular website is also
given. In this project the eBook management system is done in an authorized way.
PURPOSE:
The purpose of eBook management system is to store and sell the books in a website effectively.
The software provides the visitor, customer and administrator an easy and efficient way to buy
and manage books online.
Software provides the following facilities to customer:
1. Facilitates easy shopping online.
2. Provides information about the products in categories.
3. Provides e-mail facility for future correspondence.
4. Provides backup facility.
OVERVIEW:
The overview of this project is to store the information about the eBooks and update the eBook
list for each organization, which is using this system, keeps track of all systems.
GENERAL DESCRIPTION:
PRODUCT PERSPECTIVE:
A product requires a web browser. EBook management system is about giving an idea about how
eBooks are maintained in particular. EBooks that are to be purchased, the eBooks that are sold
are maintained. It is done in an authorized way.
PRODUCT FUNCTION:
The main functionality of this project eBook management system is to store and sell eBooks for
a website. The member should be provided with the updated information about the books
catalog.
The member is given a provision to check his account information and change the account
information any time in the given valid period.
The Website administrator is provided with interfaces to add/delete the books available in the
book catalog.
USER INTERFACE:
The user interface makes the eBook management system to be efficient. That is, the system will
help the admin to maintain stock details easily and helps to handle the stocks effectively. The
system should be user friendly.
HARDWARE REQUIREMENTS:
1. Processor-Intel Pentium IV.2.0 GHz
2. Hardware (40GB)
3. RAM-512Mb
4. DVDRAM-1nos.
SOFTWARE REQUIREMENTS:
1. Operating system-Windows XP/Vista
2. Front end tool-Rational Rose enterprise suite
3. Backend tool-Oracle 10i
SPECIFIC REQUIREMENTS:
FUNCTIONAL REQUIREMENTS:
Functional requirements are those that refer to the functionality of the system that is , the
services that are provided to the website which maintains eBooks in the online database.
PERFORMACE REQUIREMENTS:
The capability that the system performs on the whole will be efficient and reliable without any
error occurrence. It also performs and describes the capability to store without any error and
performing it efficiently.
SAFETY REQUIREMENTS:
The user details should be made available in the database and must be updated every time a book
is brought or cancelled or some kind of payment takes place to prevent errors.
RELIABILITY:
The eBook management system should be able to serve the customers with correct information
and day-to-day update of eBook list details.
USECASE DIAGRAM FOR EBOOK MANAGEMENT SYSTEM
Register
Customer
Login
Payment
bank
Payment Verification
Make transaction
Download e-book
Logout
CLASS DIAGRAM FOR E-BOOK MANAGEMENT SYSTEM
ADMIN
name
CUSTOMER address
userid
name
password
address
phoneno
login()
userid
upload()
password 1
1
login() searches *
downloads 1 1 BOOK
* DATABASE
*
places bookname
DOWNLOAD cost
PDF author
status *
search()
notify() ORDER
PAYMENT
billno is_payed
date 1 1 total amount
calctotal() verifydetails()
calcdisc()
1
contains
* CREDIT CARD NET BANKING
ORDER DETAILS pinno accno
balance balance
item debit debit
quantity
transcation() transaction()
generatebill()
ACTIVITY DIAGRAM FOR EBOOK MANAGEMENT SYSTEM
login
new customer
no
yes
enter details
save customer
details in database
search book
provide suggestions
about books available
select book
order book
generate bills
make
payment
verify account
details
make
transactions
make receipt
download pdf
logout
SEQUENCE DIAGRAM FOR EBOOK MANAGEMENT SYSTEM
:Bank
: Customer : Admin
1: Login(username,password)
2: Authenticate
4: Provide Suggestions
7: Fill Details
9: Confirm purchase
10: Display the amount
11: Pay the Bill
12: Forward to Bank
13: Verify Details
17: Logout
COLLABORATION DIAGRAM FOR E-BOOK MANAGEMENT SYSTEM
1: Login(username,password)
3: Search for e-book
5: Select apt book
7: Fill Details
9: Confirm purchase
11: Pay the Bill
16: Download pdf
17: Logout
: Customer
2: Authenticate
4: Provide Suggestions
6: Send Order Form
8: Verify &ask Confirmation : Admin
10: Display the amount
15: Send Receipt
:Bank
STATE CHART DIAGRAM FOR E-BOOK MANAGEMENT SYSTEM
process completed
end of search &confirmation request
logout
request accepted
authorized
not authorized
waiting for
authorization waiting for
payment
make payment
LOGICAL ARCHITECTURE FOR E-BOOK MANAGEMENT SYSTEM
USER INTERFACE
Web Swing
E-BOOK MANAGEMENT
TECHNICAL SERVICES
<<Exectable>>
e-book.exe
<<Server>>
Apache Tomcat
<<Component>>
JSP
Oracle
DEPLOYMENT DIAGRAM FOR E-BOOK MANAGEMENT SYSTEM
<<server>
:Dell PowerEdge
>
3600
<<client
:HCL PC
workstation>> <<web server
:Apache
cluster>>
<<artifact>> SOAP/HTTP 2.1
:e-
book.exe
<<servlet
:Tomcat
container>>
6
SQL
<<server>
:Dell PowerEdge
>
3400
<<OS>>
:Windows
XP
<<Database>
:Postgre
> SQL 10
IMPLEMENTATION
Form1
Form2
Form3
Private Sub Command1_Click()
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim a As Boolean
a=False
cn.Open dsn=ebook
rs.ActiveConnection=cn
With rs
CursorType = adOpenStatic
CursorLocation =adUseClient
LockType =adLockOptimistic
Open select * from Details
End With
rs.MoveFirst
While Not rs.EOF
If(Val(Text1.Text)=rs(0)) Then
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
a=True
End If
rs.MoveNext
Wend
If(a==False) Then
MsgBox (Enter correct ID)
End If
End Sub
With rs
CursorType = adOpenStatic
LockType = asLockOptimistic
With rs
AddNew
Fields(0) = Val(Text1.Text)
Fields(1) = Text2.Text
Fields(2) = Text3.Text
Fields(3) = Text4.Text
Update
End With
Text1.Text =
Text2.Text =
Text3.Text =
Text4.Text =
End Sub
Form5
Dim a As Boolean
a=False
cn.Open dsn=ebook
rs.ActiveConnection =cn
With rs
CursorType = adOpenStatic
CursorLocation = adUseClient
LockType =adLockOptimistic
Open select * from Details
End With
rs.MoveFirst
While Not rs.EOF
If(Text1.Text = rs(2)) Then
Text3.Text = Text3.Text + Str$(rs(0)) + ,
Text3.Text = Text3.Text + rs(1) + ,
Text3.Text = Text3.Text + rs(3) + ,
a=True
End If
rs.MoveNext
Wend
If(a==False) Then
MsgBox(Enter correct Author name )
End If
End Sub
With rs
CursorType = adOpenStatic
CursorLocation = adUseClient
LockType = adLockOptimistic
Open select * from Details
End With
rs.MoveFirst
If(a==False) Then
MsgBox(Enter correct Publisher Name)
End If
End Sub
The recruitment and selection is the major function of the human resource
department and recruitment process is the first step towards creating the competitive
strength and the recruitment strategic advantage for the organizations. Recruitment process involves a systematic
procedure from sourcing the candidates to arranging and conducting the interviews and requires many resources
and time.
It provides the information about the jobseekers to the industries. Company can get the
information about the proper candidate according to its requirement. Inform the jobseekers for
vacancies in the company/interview session in the companies. It provides the information to the
jobseekers about the new trends in the industrial area. To analyze the recruitment policy of the
organization and to provide a systematic recruitment process. I t e x t e n d s t o t h e w h o l e
o rg a n i z a t i o n . I t c o v e r s c o r p o r a t e o ff i c e , s i t e s a n d w o r k s appointments.
The following description gives the general factors that affect system and its requirements. Candidate should
finish his/her degree and should have proper certificate while applying for job and the candidate should
satisfy the eligibility criteria. The resume should be in the form what that company specified while advertising.
The HR has the full permission to select or reject the candidate for interview. I f t h e c a n d i d a t e i s
s e l e c t e d f o r t h e p a r t i c u l a r j o b m e a n s a l l d e t a i l s a b o u t t h e candidate will be
added to the company database and the modification can also be done.
Overview:
This SRS document contains many use case diagram and description about all use case diagrams
have been included in this document. It also gives the functional and nonfunctional requirement.SRS
includes two sections general description and specific requirements. General description includes characteristics of
the users of this project, the product hardware and data requirement of the product.
General description:
This software system reduce agency and processing costs, increase speed to hire, improve
productivity and the candidate quality.
Product perspective:
HR and Candidate play a major role in the recruitment process. The necessary details of the candidate have to be
submitted to the HR Verification has been done by the HR Selected candidate should be call to Interview.HR
intimates the selected candidate. Finally Candidates accept or reject his offer letter. Perspectives new recruitment
module allows candidates to be easily matched to appropriate vacancies via a comprehensive skill, experience and
post code matching tool. The tool allows your organization to promote vacancies and easily match suitable
candidates by looking at prior attainment as well as having a comprehensive post code matching tool for easy
screening of candidate suitability.
Product function:
Candidate who apply for job register his/her name in the online application form given by the
company. Fill the form details accordingly. Link candidates to position, either by their own
application. Search database for matching candidates. Filter search result to obtain short list.
Performs interview and send candidate details to hiring person. Select the proper candidate for
company and get a feedback from that candidate.
User interface:
The user interface for the software shall be compatible to any browser such as Internet Explorer,
Mozilla or Netscape Navigator by which user can access to the system. The user interface shall
be implemented using any tool or software package like Java Applet, MS Front Page, and EJB
etc. login page. For new user there will be the registration page to create an account. Lists of jobs
matching to his profile. For each matching profile there will be one link to apply. List of replies
he got by company HR. link to know that how many and which companies are related with
consultancy. Link for practice test. Link for model question papers of few top most companies.
Help menu link on page.
General constraints:
The applicants require a computer to submit their information. The user has to be careful while
submitting the information applicant should only provide the original information or true
information.
Hardware requirements:
Since the application must run over the internet, all the hardware shall require to connect internet
will be hardware interface for the system. As for e.g. Modem, WAN LAN, Ethernet Cross-
Cable. Operating system: windows 9x or above, MAC or UNIX. Pentium 2.0 GHz or higher RAM: 256 Mb or
more Hard drive: 10 GB or more.harware-40GBand RAM-512MB
Software requirements:
Client on internet: Web Browser, Operating System (any) Web Server: WAS, Operating System (any) Data Base
Server: DB2, Operating System (any).OS-windows XP/vista, front end tool-rational rose enterprise and back end
tool-oracle.
Specific requirements:
Functional requirements:
A functional requirement defines a function of a software system on its component. A function is
described as a set of input, the behavior and output. In my project, login as functional
requirement and need to check the user name and password.
Performance requirements:
The total time for user interface screens will take no longer than two seconds. The login information shall be
verified within the seconds. Queries shall results within five seconds
Usability:
The system shall allow the users to access the system form the internet using H T M L
or its derivative technologies. The system uses a web browser as an
i n t e r f a c e . Since all users are familiar with the general usage of browser, no specific training is required. The
system is user friendly and self-explanatory.
Safety requirements:
Application form or the details of applicants should reach the correct destination. It should not retrieve by
unauthorized person by providing password which is known by the applicant and interviewer.
Reliability:
Specify the factors required to establish the required reliability of the software system at time of delivery. The
system has to be very reliable due to the importance of data and damages incorrect or
incomplete data can do. The system shall provide storage of all databases on redundant computers with automatic
switch over.
USECASE DIAGRAM
CHECK VACANCY
APPLICANT
LOGIN
REGISTER
ADMIN
SAVE DETAILS
SUMBIT
ONLINE TEST
ANALYSE RESULT
HR
SELECTION OF CANDIDATE
CLASS DIAGRAM
APPLICANT ADMINISTRATOR
NAME : VARCHAR(10) ADMIN NO : INT
AGE : INT DESIGNATION : VARCHAR(10)
GENDER : VARCHAR(10) PERSONAL DETAILS : VARCHAR(50)
PHONENO : INT SALARY : INT
ADDRESS : VARCHAR(50)
LOGIN
LOGIN()
REGISTER() ANALYSE()
LOGIN() ACCEPT()
CHECK VACANCY() REJECT()
WRITING TEST() NOTIFY()
SUBMIT()
TEST
INFORMATION DETAILS
HR
NAME : VARCHAR(10) RECRUITMENT SYSTEM
AGE : INT CLEARED LIST : VARCHAR(15)
DESIGNATION : VARCHAR(15) REFERENCE NO : INT
SALARY : INT RESULT
SAVEDETAILS()
SCORE() CONDUCTTEST()
RESULT() SENDREQUEST()
INTERVIEW()
SELECT()
ACTIVITY DIAGRAM
APPLICANT ADM IN SYSTEM HR
LOGIN REGISTER
SAVEDETAILS
ANALYSE
DETAILS
NO
REJECT
ONLINE
INTERVIEW
YES DIRECT
INTERVIEW
NO
REJECT THE
CANDIDATE
NO
REJECT THE
PERSON
LOGOUT
SEQUENCE DIAGRAM
APPLICANT SYSTEM ADMIN HR
REGISTER
LOGIN
AUTHORIZE LOGIN
LOGOUT
COLLABORATION DIAGRAM
1: REGISTER
3: LOGIN
5: ENTER THE PERSON DETAILS
9: ONLINE TEST
APPLICANT 15: LOGOUT
SYSTEM
HR
STATECHART DIAGRAM
SEE THE REGISTER YOUR NAME IN
ADVERTISEMENT THAT COMPANY
SAVE ACCEPT OR
DETAILS REJECT RESUME
WEB SWING
RECRUITMENT SYSTEM
REGISTERATION
ONLINE TEST SELECTION
CANDIDATE
CANDIDATE
HR
SYSTEM
SYSTEM
CANDIDATE
ADMIN
ADMIN
TECNICAL SERVICES
COMPONENT DIAGRAM
<<system>> <<component>>
recruitment oracle
system
DEPLOYMENT DIAGRAM
.
<<server>>
DELL POWER3400
<<system>>
Recruitment system
<<server side>>
Tomcat6.0
IMPLEMENTATION
FOREIGN TRADING SYSTEM
AIM:
To prepare a project for foreign trading system.
PROBLEM STATEMENT:
Foreign trade is all about imports and exports. The foreign trade enables producing what other
nations dont have and what we have in surplus. These products known as commodities are often
pooled together in one mass market and sold. Main objective of foreign trade is globalization.
The system consists of two databases to maintain this software. They are import session and
export session. In the export session, the promoters has to maintain the details of the products
that are been exported to other countries. The bank certification should be issued for the export
products. The following details that are maintained in database are the products name that is to
be delivered, the number of items to be exported, the date and time of the products to be
delivered, the mode of transport through which the goods are sent and has the details of the
transaction. In the import session, the buyer has to maintain the details of the product brought
from the foreign countries. The buyer maintains database of the product details, time of receiving
and mode of transport by which the goods were received and the payment details.
GENERAL DESCRIPTION:
PRODUCT PERSPECTIVE:
The product must require a web browser.
This program will not be dependent on any other software and is not a component of
another program.
This program does not need any new hardware.
PRODUCT FUNCTION:
Transfer purchasing power between countries. Obtain credit for international trade transactions.
Minimize exposure to the risks of exchange rate changes.
USER INTERFACE:
A convenient GUI will provide users with the ability to quickly enter the information from the
incoming orders from the traders and to output the invoices reflecting the outgoing flow of goods
supplied to the traders. The GUI consists of various input forms, output screens along with the
help files provided as per the requirements.
GENERAL CONSTRAINTS:
The following are the constraints for the successful l product
Regulatory policies
Interface to other application
Audit functions
Control functions
Higher order language requirements
Safety & security considerations
HARDWARE REQUIREMENTS:
Processor: Pentium IV 2Ghz
RAM: 2Gb RAM
Monitor: 15 inch colored
Keyboard
Mouse
Internet connection required
SOFTWARE REQUIREMNETS:
Operating: windows XP
Developing tool: Visual Basic 6.0
Database: MS Access
SPECIFIC REQUIREMENTS:
FUNCTIONAL REQUIREMENTS:
Functional requirements define the fundamental actions that must take place in the
software in accepting and processing the inputs and generating the outputs. These include
Accepting and responding to orders
Responses to abnormal situations
Receiving payments
Conducting daily and weekly trade analysis
PERFORMANCE REQUIREMENTS:
All pages should be loaded within a minute or less assuming a broadband connection on the
client side. Therefore, response time for transaction will be less. The system should support as
many as online users simultaneously with negligible response delay.
SAFETY REQUIREMENTS:
The system shall automatically logout after a period of inactivity.
Utilize certain cryptographic techniques.
Keep specific log
Check data integrity for critical variables.
RESPONSIBILITY:
The system should be available at all times. The system backup onto a second server will be
performed during the maintenance time as well as once daily & system recovery will only be
executed as necessary. In addition the secondary server will be prepared to help recover in the
event of hardware failure.
RISK MANAGEMENT
RISK TABLE:
S.NO RISK CATEGOR PROBABILIT IMPACT RMMM(Risk
Y Y Mitigation,
Monitoring and
Management)
1. LOSS OF Product size 70% Marginal Contingency plan
RELEVANT for loss of data,
INFORMATIO back-up routines
N for system failure
2. INCORRECT Development 80% Catastrophe Implement a
RECORDING environment warning system
OF which identify
TRANSACTIO suspicious
NS IN THE transaction
ACCOUNTIN
G SYSTEM
3. UNAUTHORIS Business 60% Critical Firewalls, anti-
ED ACCESS impact virus protection
TO
INFORMATIO
N
4. INELIGIBLE Business 85% Critical Standard
USE OF impact procedure to
GOODS record licenses,
procedure to
ensure the use of
goods are
consistent with the
license
5. LACK OD Stock holder 75% Marginal Records of stock
CONTROL characteristic movements,
OVER STOCK s regular stock
MOVEMENTS reconciliations
6. LACK OF Stock holder 85% Catastrophe Use of track and
CONTROL characteristic trace technology,
OVER THE s special procedure
TRANSPORT for the selection of
OF GOODS carries
GANTT CHART
Gantt Chart for Foreign Trading System
Task 12
Task 11
Task 10
Task 9
Task 8
Weeks
Task 7
Task 6
Task 5
Task 4
Task 3
Task 2
Task 1
system
Login
Database
Place order Update
Trader 1
Pay Bank
Supply
Supplier
Trader 2
Logout
CLASS DIAGRAM
Trader Administrator
username : string name : string
password : string id : string
accountno : integer
bill1()
login() bill2()
placeorder() traceorder()
pay() paybill1()
supply() paybill2()
logout() taxcalculator()
Item
Payment name : string
accountno : integer id : integer
balance : integer rate : integer
due : integer available : integer
accountpay() getperfume()
credit() getdolls()
debit() getmobiles()
ACTIVITY DIAGRAM
Customer System Promoter Authorization servi ce Bank
submit authorization
report
buy sell
update
transaction
logout
SEQUENCE DIAGRAM
TRADER1 SYSTEM TRADER2 DATABASE BANK
login
authentication
ACK
ACK
update order
ACK
logout
COLLABORATION DIAGRAM
1: login
3: make a request for products (import) 12: update order
16: logout 13: update account details
TRADER1 SYSTEM DATABASE
2: authentication
5: ACK
6: forward the products
9: ACK
11: ACK for delivered products
BANK
TRADER2
select
import/export
import
export
select
collect customer product
details
check
availability
receive
payment
place order
deliver
goods
make
payment
logout
LOGICAL ARCHITECTURE
User Interface
Swing Web
Technical Services
COMPONENT DIAGRAM
<<Executable>>
cms.exe
<<Server>>
Apache Tomcat
<<Component>>
JSP
Oracle
DEPLOYMENT DIAGRAM
<<server>>
:Dell PowerEdge 3600
<<client workstation>>
:HCL PC <<web server cluster>>
:Apache 2.1
<<artifact>> SOAP/HTTP
:cms.exe
<<servlet container>>
:Tomcat 6
SQL
<<server>>
:Dell PowerEdge 3400
<<OS>>
:Windows XP
<<Database>>
:Postgre SQL 10
RESULT:
Thus a project on foreign trading system is completed successfully.
12. CONFERENCE MANAGEMENT SYSTEM
Problem statement :-
A conference management system is a web based software that supports the organization
of conferences. It is built in order to help programmers, the conference organizers, the author and
reviewers in their respective activities. The system maintains a website to which various
members interested in attending conference register themselves as members by providing details.
People who are willing to submit their papers will need to login and submit their papers to the
system with topic and its domain. All other members who have interest on that domain are
notified about the article submitted. These members will view article and post their
reviews.Statistics is made to select the top 100 papers and notify,the candidate regarding it
through email or telephone.
SRS STRUCTURE:
Introduction
a. Purpose of system.
b. Scope of system.
c. Overview of system.
General description
a. Product perspective.
b. Product function.
c. User interface.
d. General constraints.
e. Hardware requirements / interface
f. Software requirements.
Specific requirements
a. Functional requirements.
b. Performance requirements.
c. Safety requirements.
d. Reliability.
Purpose of the system:
A conference management system is based on the software that supports the organization of
conference especially scientific conference .it helps the program chairs ,the conference
organizers, the author and the reviews in their respective activities
General description:
Describe the general factors that affect the produce requirement. this section does not state
specific requirements
Product prospective:
The conference management system is an independent stand alone system .it is totally self
confidence
Production function:
Allows for typing in customer information
Allows an attachment file for presentation attachment
Includes a description field
Ability to modify a registration
Records the attachment of presentation of file
User interface:
Registration entry forwarded to the user education level computer software technical information
Hardware interface:
The software management system will use the standard input output devices for a personal
computer. this includes following
Keyboard
Mouse
Printer
Moniter
Software interface:
Main interface with the registration system which maintain access to the registration page
interface takes place with oracle or access database
Specific requirements:
This describes the specific requirements as follows:
Functional requirements:
System should allows its user (chair, reviewver and author)to sign in using their username and
password
System should allow author to upload the full paper in a specific format
Eg: PDF file or word file.
System should allow to submit conference management which includes conference name
,URL ,subtitles, and main organizers contact information
Performance requirement:
Performance of the system depends on the response time and the speed of data submission. the
response time of the system is direct and the application is considered real time. System should
have a fast response time, which depends on the efficiency of implemented algorithm
Safety requirements:
System should check:
HTML content is syntantically well formed. If web form with the services processing from
input are consistent. Referential integrity of hyper link in both static and dynamically content.
Reliability:
The system should be repaid enough to have a high of fault tolerance. the system should not
cash. should indentify the invalid input and produce a suitable error message. it should be able to
recover from hardware failures, power failures and other natural disorders
login
system admin
selecting topics
checking the details
sending
user
receiving
submit a paper
accept a paper
log out
login() review()
reg() comment()
pay()
submit() account holder
assign
bank
admin name : varchar
name : varchar branch : varchar
contact no : int transfer
email-id : varchar credit()
debit()
assign()
select()
notify()
ACTIVITY DIAGRAM
ca ndida te system rev iew er admin
login
if valid?
yes
no
accept
reject
assigns reviewer
for paper
review select
comments paper
if selected
notification
received sends denied
message
sends accept
register for check if message
presentation valid
presents yes
paper no
SEQUENCE DIAGRAM
:system
: Candidate : Reviewer : Admin
open webpage()
login(id,password)
authenticate
if valid accept
submit paper
payment details
COLLABORATION DIAGRAM
5: if not valid rejects
1: open webpage()
2: login(id,password)
4: enter initial register details :system
3: authenticate
6: if valid accept
: Candidate 7: submit paper
13: sends camera ready copy
15: pays the amount
: Reviewer
user entering
failure of user id
authentication password
authenticat
ion
enter details
paper
selection
candidate
notification
request to logout
logout
Swing Web
CMS
Admin Candidate
Candidate system
Reviewer
Bank
Technical services
database security
COMPONENT DIAGRAM
<<Executable>>
cms.exe
<<Server>>
Apache Tomcat
<<Component>>
JSP
Oracle
DEPLOYMENT DIAGRAM
<<server>>
:Dell PowerEdge 3600
<<client workstation>>
:HCL PC <<web server cluster>>
:Apache 2.1
<<artifact>> SOAP/HTTP
:cms.exe
<<servlet container>>
:Tomcat 6
SQL
<<server>>
:Dell PowerEdge 3400
<<OS>>
:Windows XP
<<Database>>
:Postgre SQL 10
IMPLEMENTATION
SOURCE CODE
CANDIDATE
Option Explicit
'##ModelId=459804B502EE
Private name As Variant
'##ModelId=459804B902DE
Private college_name As Variant
'##ModelId=459804BF01C5
Private department As Variant
'##ModelId=459804E40119
Private paper_title As Variant
'##ModelId=45980653030D
Public NewProperty As reviewer1
'##ModelId=45980507034B
Public Sub login()
End Sub
'##ModelId=4598050E03D8
Public Sub submit_the_paper()
End Sub
'##ModelId=4598051302FD
Public Sub revised_and_camera_ready_paper_submission()
End Sub
'##ModelId=4598053F009C
Public Sub registration()
End Sub
DATABASE
Option Explicit
'##ModelId=459806A30280
Public NewProperty As candidate1
'##ModelId=4598060A02BF
Public Sub verify_the_ID()
End Sub
'##ModelId=4598062A01F4
Public Sub allow_to_the_reviewer()
End Sub
REVIEWER
Option Explicit
'##ModelId=45980565035B
Private reviewer_name As Variant
'##ModelId=45980568036B
Private reviewer_department As Variant
'##ModelId=459805920251
Private reviewer_ID As Variant
'##ModelId=4598065C008C
Public NewProperty As database1
'##ModelId=4598067E032C
Public NewProperty2 As database1
'##ModelId=4598069501B5
Public NewProperty3 As database1
'##ModelId=459805A10128
Public Sub review_the_paper()
End Sub
'##ModelId=459805B0038A
Public Sub sending_paper_confirmation_details()
End Sub
FORM 1
Private Sub Command1_Click()
Dim a As candidate1
Set a = New candidate1
Call a.login
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Public Sub login()
If Form1.Text1.Text = "rss" And Form1.Text2.Text = "rss" Then
MsgBox "login sucessfully!!!"
Form2.Show
Else
MsgBox "invalid username or password"
End If
End Sub
FORM2
Private Sub Command1_Click()
Dim a As candidate1
Set a=New candidate1
Call a.subregistration
End Sub
Public Sub subregistration()
Private Sub Command1_Click()
If(Combo1.text=101)Then
Form3.Show
End If
If(Combo1.text=102)Then
Form4.Show
End If
If(Combo1.text=103)Then
Form5.Show
End If
End Sub
FORM 3
Private Sub Command1_Click()
Dim a As candidate1
Set a = New candidate1
Call a.verify_the_ID
End Sub
Public verify_the_ID()
Form2.Show
End Sub
FORM 4
Private Sub Command1_Click()
Dim a As database1
Set a = New database1
Call a.verify_the_ID
End Sub
Public Sub verify_the_ID()
Form2.Show
End Sub
FORM 5
Private Sub Command1_Click()
Dim a As database1
Set a = New database1
Call a. verify_the_ID
End Sub
Public Sub verify_the_ID()
Form2.Show
FORMS
FORM1
FORM2
FORM 3
FORM 4
FORM 5
RESULT:
Thus the project for online conference management system is completed successfully.