Database Java Beans Feng Chen. Outline Design (diagrams) Formal specification (OCL model) Software quality assurance plan Test plan Formal technical inspection.

Slides:



Advertisements
Similar presentations
CRMS CUSTOMER RELATIONSHIP MANAGEMENT SYSTEM GRADUATE COMMITTEE DR. DANIEL ANDRESEN (MAJOR PROFESSOR) DR. TORBEN AMTOFT DR. MITCHELL L. NEILSEN MSE Project.
Advertisements

WaveMaker Visual AJAX Studio 4.0 Training
Murach’s Java SE 6, C21© 2007, Mike Murach & Associates, Inc.Slide 1.
1 sqa13b IEEE Standard for SQAP u IEEE Std –Standard for Software Quality Assurance Plans –12 pages u IEEE Guide for Software Quality Assurance.
JBoss Seam: Contextual Components Jason Bechtel
1 Design patterns Lecture 4. 2 Three Important skills Understanding OO methodology Mastering Java language constructs Recognizing common problems and.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Supplement 02CASE Tools1 Supplement 02 - Case Tools And Franchise Colleges By MANSHA NAWAZ.
CEN 4935 Senior Software Engineering Project Joe Voelmle.
REAL TIME GPS TRACKING SYSTEM MSE PROJECT PHASE 2 PRESENTATION Bakor Kamal CIS 895.
BRUE Behavioral Reverse Engineering in UML as Eclipse Plugin MSE Presentation 1 Sri Raguraman.
Fall CIS 764 Database Systems Engineering L3: Two Assignments Relating to J2EE.
CSCI 6962: Server-side Design and Programming
Chapter 8 : Software Quality Assurance Juthawut Chantharamalee Curriculum of Computer Science Faculty of Science and Technology, Suan Dusit University.
CSCI 6962: Server-side Design and Programming JDBC Database Programming.
Page 1 MODEL TEST in the small GENERALIZE PROGRAM PROCESS allocated maintenance changes management documents initial requirement project infrastructure.
AgentTool (III) Dynamic MSE Presentation 1 Binti Sepaha.
Online Music Store MSE Project Presentation I Presented by: Reshma Sawant Major Professor: Dr. Daniel Andresen.
Konza PrairieKonza Prairie Long-Term Ecological Research (LTER)LTER Henry Mikhail.
Software Engineering CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
CIS 270—Application Development II Chapter 25—Accessing Databases with JDBC.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 1 Introduction to Java in the Context of Software Engineering.
MSE Presentation 3 By Padmaja Havaldar- Graduate Student
S Q A.
Using CLIPS to Detect Network Intrusions - (CLIPNIDS) Phase III MSE Project Sripriya Marry Committee Members Dr. David Gustafson (Major Professor) Dr.
GUI & Optimizer for the Virtual Pipeline Simulation Testbed Walamitien Oyenan November 10, 2003 MSE Presentation (Phase 2)
Maintenance and Support Week 15 CMIS570. User Training Need to consider the same 2 groups: End users Use the system to achieve the business purpose Creating,
 What software components are required?  How do I install the Oracle JDBC driver?  How do I connect to the database?  What form is the data in and.
Student Curriculum Planning System MSE Project Presentation I Kevin Sung.
KS3 Phase4 Client Server Monitoring System October 1, 2008 by Stephen, Seema, Kam, Shpetim.
REAL TIME GPS TRACKING SYSTEM MSE PROJECT PHASE I PRESENTATION Bakor Kamal CIS 895.
Damian Tamayo Tutorial DTM Data Generator Fall 2008 CIS 764.
Environment Model Building Tool MSE Presentation 1 Esteban Guillen.
Chapter 8 Databases.
MSE Presentation 1 By Padmaja Havaldar- Graduate Student Under the guidance of Dr. Daniel Andresen – Major Advisor Dr. Scott Deloach-Committee Member Dr.
Self-assembling Agent System Presentation 1 Donald Lee.
DT228/3 Web Development Databases. Querying a database: Partial info Search engines, on-line catalogues often need to allow user to search a database.
Database Java Bean Feng Chen. Outline Tools and approaches Project overview Major contribution Project plan Cost estimate References Acknowledgment.
Computer Science [3] Java Programming II - Laboratory Course Lab 9: Accessing Databases with JDBC Instructions on Setting Accesses Connecting to and Querying.
Li Tak Sing COMPS311F. Database programming JDBC (Java Database Connectivity) Java version of ODBC (Open Database Connectivity) ODBC provides a standard.
Natural Language to Machine Readable Format By: Damian Tamayo Presentation 2 – Nov. 13, 2009 CIS 895 – MSE Project.
Konza PrairieKonza Prairie Long-Term Ecological Research (LTER)LTER Henry Mikhail.
REAL TIME GPS TRACKING SYSTEM MSE PROJECT PHASE 3 PRESENTATION Bakor Kamal CIS 895.
Database Access Using JDBC BCIS 3680 Enterprise Programming.
An Internet Voting System Manager Yonghua Li Kansas State University March 28, 2002 MSE Project - Phase 2.
Monica Gloudemans Ekaterina Schwartz Gloudemans/Schwartz ACS 560 CMAP.
Intro to JDBC Joseph Sant Applied Computing and Engineering Sciences Sheridan ITAL.
JAVADB01 APP SCREENS. Goals Enhance Data Center Management Application Expand Database with Three Tables – Incidents – Service Tickets – Vendors Expand.
by: Er. Manu Bansal Deptt of IT Software Quality Assurance.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
16 Copyright © 2004, Oracle. All rights reserved. Testing the Migrated Oracle Database.
Headstart Designer R Pasi Lehtinen TKP Tieto Oy
Building Enterprise Applications Using Visual Studio®
SQA project process standards IEEE software engineering standards
ASP.NET Programming with C# and SQL Server First Edition
Bogor-Java Environment for Eclipse
CS320 Web and Internet Programming SQL and MySQL
Software Quality Assurance (SQA)
SQA project process standards IEEE software engineering standards
FORMAL SYSTEM DEVELOPMENT METHODOLOGIES
Scott Stocker November 18, 2002
Create New User in Database. First Connect the System.
Using a Database with JDBC
Protocols CS 4311 Wirfs Brock et al., Designing Object-Oriented Software, Prentice Hall, (Chapter 8) Meyer, B., Applying design by contract, Computer,
CS3220 Web and Internet Programming SQL and MySQL
Jincheng Gao CIS895 – MSE Project
School of Computer Science
Integrating quality activities in
CS3220 Web and Internet Programming SQL and MySQL
Database Java Beans Feng Chen 2019/7/3 MSE presentation III.
Presentation transcript:

Database Java Beans Feng Chen

Outline Design (diagrams) Formal specification (OCL model) Software quality assurance plan Test plan Formal technical inspection

Design Use case diagram Class diagram Sequence diagram

Design – Use case diagram

Design – Class diagram DatabaseConnection Bean DatabaseTable Bean DrawChart Bean CopyFile Bean

Class diagram – Database Connection Bean

Class diagram – DatabaseTable Bean

Class diagram – DrawChart Bean

Class diagram – CopyFile Bean

Class diagram – total

Design – Sequence diagram

Formal specification -- OCL model Connection Bean extend JPanel Visualfields: JDBCDriver : String Default[oracle.jdbc.driver.OracleDriver] DatabaseURL : String DatabaseURL : String Username : String Default[null] Username : String Default[null] Password : String Default[null] Password : String Default[null] Tablename : String Default[null] Tablename : String Default[null] Control : connectionButton : JButton Properties : connectToTable : Boolean Default[false] connectToFile : Boolean Default[false] connectToFile : Boolean Default[false] connectToChart : Boolean Default[false] connectToChart : Boolean Default[false] inv correctInput : valid(username, password) & valid( DBUrl) implies isopen(connection) valid(username, password) & valid( DBUrl) implies isopen(connection) inv unique username: user.allInstances -> (forAll(c1, c2 | c1 <> c2 implies user.allInstances -> (forAll(c1, c2 | c1 <> c2 implies c1.username <> c2.username) Operations context ConnectionBean::setInputValue(DBUrl : String, Username : String, Password : String ) pre: true post: not valid(username, password, DBURL ) implies ErrorDialog context ConnectionBean::getConnect() pre : self.connection -> not exist pre : self.connection -> not exist post: self.connection-> exist & self.connection = connectionClass.getConnection() post: self.connection-> exist & self.connection = connectionClass.getConnection()

Formal specification --OCL model (cont’) DBtableBean : extends JTable Visual component: databaseTable : JTable default[empty] databaseTable : JTable default[empty] updateButtons : Jbutton default[not selected] updateButtons : Jbutton default[not selected] Control: insertButton : Jbutton insertButton : Jbutton deleteButton : Jbutton deleteButton : Jbutton UpdateButton : Jbutton UpdateButton : Jbutton Instance variables: Connection: Connection Connection: Connection tableModel: DafaultTableModel tableModel: DafaultTableModel rowVectors: Vector rowVectors: Vectorinv coonection = null implies table->empty coonection = null implies table->emptyoperations: context DBtableBean::usingTableBean(connection:Connection, tablename : String) pre: table->empty & tablename->empty pre: table->empty & tablename->empty post: (not tablename -> empty) & table = select * from tablename post: (not tablename -> empty) & table = select * from tablename context DBtableBean::insertNewRecord( newRecord:Record) pre: !table.include(newRecord)&!database.include(newRecord)& !newRecord->exist pre: !table.include(newRecord)&!database.include(newRecord)& !newRecord->exist pos: table.include(newRecord)& database.include(newRecord)& newRecord->exist pos: table.include(newRecord)& database.include(newRecord)& newRecord->exist context DBtableBean::deleteRecord() pre: table.include(oldRecord)&database.include(oldRecord)& oldRecord->exist pre: table.include(oldRecord)&database.include(oldRecord)& oldRecord->exist pos: !table.include(oldRecord)&!database.include(oldRecord)& !oldRecord->exist pos: !table.include(oldRecord)&!database.include(oldRecord)& !oldRecord->exist

Formal specification --OCL model (cont’) drawChartBean extend Jpanel visual component: BarChartPanel : Jpanel BarChartPanel : Jpanel PieChartPanel : Jpanel PieChartPanel : Jpanel DrawChartButton: JButton DrawChartButton: JButton Controls : DrawChartButton: Jbutton Descriptor : nameTo : Boolean : Default[1] nameTo : Boolean : Default[1] numbers : Boolean : Default[1] numbers : Boolean : Default[1] instance state variable: connection : Connection connection : Connection rowVector : Vector rowVector : Vectorinv: connection=null implies ChartPanels->empty connection=null implies ChartPanels->emptyoperation context drawChartBean::usingDrawChartBean(tableName:String) context drawChartBean::usingDrawChartBean(tableName:String) pre:true pre:true pos: PieChart = (select * from tableName) & BarChart= (select * from tableName) pos: PieChart = (select * from tableName) & BarChart= (select * from tableName)

Formal specification -- OCL model (cont’) CopyfileBean Visual component: Visual component: Filepath : JTexField Filepath : JTexField ViewFileArea : JTextArea ViewFileArea : JTextArea ViewButton : Jbutton ViewButton : Jbutton SaveButton : Jbutton SaveButton : JbuttonControl: ViewButton : Jbutton Default[not selected] ViewButton : Jbutton Default[not selected] SaveButton : Jbutton Default[not selected] SaveButton : Jbutton Default[not selected] Operation: context CopyFileBean::useingCopyFileBean(recordsfromfile:Record[]) context CopyFileBean::useingCopyFileBean(recordsfromfile:Record[]) pre: !database.include(recordsfromfile) & ! recordsfromfile->exist pre: !database.include(recordsfromfile) & ! recordsfromfile->exist pos: database.includ(recordsfromfile) & recordsfromfile->exist pos: database.includ(recordsfromfile) & recordsfromfile->exist

SQA plan PurposeReferencesManagementDocumentations Standard, Practices, Conventions, and Metrics Review and Audits Test, Tools, Techniques, and Methodologies Problem Reporting and Corrective Action Training Risk Management

SQA plan – Phase III documentation deliverables Web tutorials (general concepts) Installation guidance Reusable parts

Test plan – test cases DatabaseURLDatabaseDriverLogon Update the data information Delete unwanted product from table Use database table bean Use draw chart bean Use Copy File bean To use the Draw Chart bean

References “Software Formal Inspections”, Software Assurance Technology Center (SATC), 1997, “NASA Software Formal Inspections Guidebook”, NASA,1993, Weiss and Kimbrough Inspection Materials, A. R. Weiss and K. Kimbrough, 1995, IEEE Standard for Software Test Documentation, IEEE Std IEEE Standard for Software Quality Assurance Plans, ANSI/IEEE Std IEEE Guide for Software Quality Assurance Planning, DRAFT, P730.2/D4

Questions? Questions?