More Related Content
Similar to SoftwareDesign2013_Assignment_Analysis_and_Design_Documentul
Similar to SoftwareDesign2013_Assignment_Analysis_and_Design_Documentul (20)
SoftwareDesign2013_Assignment_Analysis_and_Design_Documentul
- 2. Table of Contents
1.1Assignment Specification...................................................................................................................3
1.2Functional Requirements....................................................................................................................3
1.3Non-functional Requirements.............................................................................................................3
©UTCN, 2016 Page 2 of 9
- 3. 1. Requirements Analysis
1.1 Assignment Specification
The assignment objective was to create an application that helps managing scheduling and
ticketing for conferences.
1.2 Functional Requirements
-The application can perform GRUD operations on database, and update the status of the tickets
from conferences.
1.3 Non-functional Requirements
-The application must be able to support many users logged to the database.
-Efficiency performance for fast response.
-Online 24/7 of server.
2. Use-Case Model
Use case: create Conference
Level: <one of: summary level, user-goal level, sub-function>
Primary actor: Administrator
Main success scenario: create a conference with the specific number of days, tracks, tickets
and their prices
Extensions: may failure if the numbers are negative
Use case: Manage talks
Level: <one of: summary level, user-goal
level, sub-function>
Primary actor: Administrator
Main success scenario: add/update/delete a
talk to a specific conference with the
starting time, duration, presenter, name
and a brief description
Extensions: may failure if the numbers are
negative, or the duration is more than 1h
30min or 90 min.
Use case: Manage Users
Level: <one of: summary level, user-goal level, sub-function>
Primary actor: Administrator
Main success scenario: delete/add/update a user from the DB
Extensions: may failure if the user can’t be find in the DB
©UTCN, 2016 Page 3 of 9
- 4. Use case: buy a ticket
Level: <one of: summary level, user-goal level, sub-function>
Primary actor: registered user
Main success scenario: buy a ticket to assist to a specific talk form a conference, NOW A
CUSTOMER CAN BUY 5 TICKETS MAX
Extensions: may failure if the talk can’t be find in the DB
Use case: see conference schedule
Level: <one of: summary level, user-goal level, sub-function>
Primary actor: visitor
Main success scenario: see the conference schedule
Extensions: may failure if there are no conferences
Use case: sign up as a registered user
Level: <one of: summary level, user-goal level, sub-function>
Primary actor: visitor
Main success scenario: register as a user, and gain the use case access from the registered
user actor and beneficts
Extensions: may failure if there are incorrect data fields
Use case: reserve tickets
Level: <one of: summary level, user-goal level, sub-function>
Primary actor: visitor
Main success scenario: reserve tickets for buying later
Extensions: may failure if there are incorrect data fields
3. System Architectural Design
3.1 Architectural Pattern Description
In this assignment I’ve use the MVC architecture pattern, that closely matches the
traditional IT communication and organizational structure found in the most companies, making
©UTCN, 2016 Page 4 of 9
- 5. it a natural choice for most business application development.
In a logical multilayered architecture for an information system with an object-oriented
design, the following four are the most common:
CONTROLER – MODEL – VIEW
Now the application must be integrated as a Client-Server Application, so the server side
take the actions of accessing the data base and respond with objects, and data, on the clients
requests.
The Client is the GU interface and it’s acctions are to display the informations and
behaves as a communication between the actual user and the app by it’s interaction with
buttons, fields and labels.
3.2 Diagrams
Package Diagram:
©UTCN, 2016 Page 5 of 9
- 7. 5.1 Design Patterns Description
I’ve used Singleton design pattern to make a single instance of the connection to Data base.
Factory Pattern to generate reports on what entity is needed.
5.2 UML Class Diagram
6. Data Model
As a first model for example is the users: that can have the following arguments:
-an id
-name
-address
-phone
-email
-password
©UTCN, 2016 Page 7 of 9
- 9. 7. System Testing
[Present the used testing strategies (unit testing, integration testing, validation testing) and
testing methods (data-flow, partitioning, boundary analysis, etc.).]
8. Bibliography
- http://stackoverflow.com/questions/5585779/converting-string-to-int-in-java
- http://stackoverflow.com/questions/3481828/how-to-split-a-string-in-java
- https://craft-conf.com/2015#schedule
- http://www.tutorialspoint.com/java/java_sending_email.htm
- http://stackoverflow.com/questions/7373567/java-how-to-read-and-write-xml-files
- https://docs.oracle.com/javase/tutorial/jaxp/dom/readingXML.html
- http://www.java2s.com/Tutorial/Java/0440__XML/GetNextElement.htm
- http://www.tutorialspoint.com/java_xml/java_dom_parse_document.htm
- http://stackoverflow.com/questions/23643146/jfilechooser-showopendialog-freezing-my-program
- http://www.w3schools.com/json/json_syntax.asp
- http://www.mkyong.com/java/json-simple-example-read-and-write-json/
- http://www.tutorialspoint.com/design_pattern/factory_pattern.htm
-
©UTCN, 2016 Page 9 of 9
- 10. 7. System Testing
[Present the used testing strategies (unit testing, integration testing, validation testing) and
testing methods (data-flow, partitioning, boundary analysis, etc.).]
8. Bibliography
- http://stackoverflow.com/questions/5585779/converting-string-to-int-in-java
- http://stackoverflow.com/questions/3481828/how-to-split-a-string-in-java
- https://craft-conf.com/2015#schedule
- http://www.tutorialspoint.com/java/java_sending_email.htm
- http://stackoverflow.com/questions/7373567/java-how-to-read-and-write-xml-files
- https://docs.oracle.com/javase/tutorial/jaxp/dom/readingXML.html
- http://www.java2s.com/Tutorial/Java/0440__XML/GetNextElement.htm
- http://www.tutorialspoint.com/java_xml/java_dom_parse_document.htm
- http://stackoverflow.com/questions/23643146/jfilechooser-showopendialog-freezing-my-program
- http://www.w3schools.com/json/json_syntax.asp
- http://www.mkyong.com/java/json-simple-example-read-and-write-json/
- http://www.tutorialspoint.com/design_pattern/factory_pattern.htm
-
©UTCN, 2016 Page 9 of 9