b2b e-commerce system : specification and implementation ...sheldon/public/b2b-mse2002ppt.pdf ·...

31
B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams, Digital Signatures and XML Case Study Int’l Symp. on Multimedia SE, Dec 11 th –13 th , 2002 Newport Beach, California Frederick T. Sheldon, Kshamta Jerath, Orest Pilskalns, Young-Jik Kwon, Woo-Hun Kim and Hong Chung Software Engineering for Dependable Systems (SEDS) Laboratory Sch of EECS Wash State U, Sch of Comp & Comm, Taegu U, Comp Engr, Keimyung U

Upload: others

Post on 28-Jun-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

B2B E-Commerce System :Specification and Implementation EmployingUse-Case Diagrams, Digital Signaturesand XML

Case Study

Int’l Symp. on Multimedia SE, Dec 11th–13th, 2002

Newport Beach, California

Frederick T. Sheldon, Kshamta Jerath, Orest Pilskalns, Young-Jik Kwon,

Woo-Hun Kim and Hong Chung

Software Engineering for Dependable Systems (SEDS) LaboratorySch of EECS Wash State U, Sch of Comp & Comm, Taegu U, Comp Engr, Keimyung U

Page 2: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Agenda� Introduction and Technology Overview� Background Information and Related Research�Related work on Use-Case Diagram�B2B Electronic Commerce and XML�Digital Signatures�Success factors for B2B e-commerce systems

� Empirical Study�Research Process and Methodology�User’s Requirements and Use-Case Diagram

� Implementation and Tangible Benefits� Conclusions

Page 3: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Motivation

� Remote web-based order-and-delivery forauto parts manufacturer

� Evolve to achieve a better (/best) practice inthis development domain

� Utilize “formalized” requirementsspecification to improve dependability,security and maintainability

� Better understanding among stake-holders

Page 4: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Right process for the product toensure … and no silver bullet!

� High quality software with competitive costand cycle time...

Quality [Defects]

Cycle Time Cost

… we must shrink the triangle!

Page 5: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Quality Attribute(s) VersusCost Relation

Co

st

Product Attr ibute(s) (e.g., Reliability, Safety)

Moore’s law of Software Engineering

Page 6: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

SLC Expenditure Profile

Without FormalSpecification

Specification

Cost

Validation

Design andImplementation

With FormalSpecification

Maintenance

Specification

Design andImplementation

Validation

MaintenanceNeed to validate effective SE methods

and tools…

Page 7: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Introduction / Technology Overview

� Today’s systems are complex and userrequirements are changing rapidly (reqs creep)

� Visually model the system’s architecture topromote communication/understanding

� Güell et. al., present a method that utilizes– requirements gathering

– conceptual and navigational design of Web applications

– based on Scenarios, Use-Case and User InteractionDiagrams (UIDs)

� Document B2B e-commerce system development

Page 8: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Introduction & TechnologyOverview II

� Critical success factors of concern– Effective communication

– Processing time

– Process cost

– Reusability

– Efficiency

– Security etc.

Page 9: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Background information and relatedresearch (Use-case diagram)

� Visual modeling is a way of thinking about problemsusing modeling

Page 10: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Use-case diagram supportmultiple views� UML is a language used to specify, visualize, and

document the artifacts of an object-orientedsystem under development

Page 11: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Architectural Framework ofUML Utilized

� Use-Case View

� Design View

� Process View

� Implementation View

� Deployment View

Page 12: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Use-Case View

� Explain system behavior/view for– End User,

– Requirements engineer (analyst),

– Designer, and

– Tester.

� Specify factors of concrete systemarchitecture

Page 13: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Design View

� Present system service to end user– Consists of Classes, Interface, Collaboration

that establish problem and solution area

Page 14: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Process View

� Enables system functionality, flexibility,and capacity– Consists of threads and process which

establishes system consistency andsynchronization mechanism.

Page 15: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Implementation View

� Present shape management of systemicplacement– Establishes components and files that make

physical system

Page 16: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Deployment View

� Present distribution topology,

� Release schedule and

� Settlement view of system’s physicalrealization

Page 17: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

B2B Electronic Commerce andXML� Exchange technologies are basically Web

sites that use a standard languages, XML, tofacilitate application-to-application dataexchange.

� XML allows– Information regarding orders to interoperate– Purchase orders and invoicing standardization– To be easily understood by other computers– Accessible to organizations of all sizes

Page 18: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

B2B Electronic Commerce andXML cont.

� Considered factors such as ease of use,speed, accuracy, security and reliability

� Used Document Type Definitions (DTDs)and XML elements to denote the input andoutput of the service and values.

Page 19: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Digital Signatures

� Use of a message digest offers the followingadvantage– The run time is reduced and the integrity of the message

can be confirmed

– Forgery and/or falsification of messages can be prevented

Page 20: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,
Page 21: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Critical Success Factors forBuilding B2B e-commerce systems� Harmonious user/developer communication

� Reduced processing cost/time of transactions

� Accuracy of business and transactions data

� Efficiency of the TBD systems

� Shortened systems development life cycle

� Reliability of transactions data

� Security of transmitted data

Page 22: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Empirical Study :Research Process and Methodology

� Research Model

UML + XML +Digital Signature

B2B E-ComerceSystem

Order andDelivery System

Measurement Variables

√ Processing time √ Accuracy√ Processing cost √ Reusability√ Security √ Efficiency√ Development Life Cycle Resouces

Page 23: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Empirical Study : User’s Requirementsand Use-Case Diagram

� Main and alternateflow of events

� Special requirements

� Pre-conditions

� Post-conditions

Page 24: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,
Page 25: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Implementation and Tangible Benefits :Context Diagram

� DTD & XML aresaved in globalrepository

� Transaction of XMLdocumentation

Page 26: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Implementation and Tangible Benefitscont.

Page 27: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Benefits

� Using Use Case Diagrams (and XML)improved the communications amongdevelopment stakeholders

� System onto the Internet reduced the timeneeded to process transaction data

� There was a cost savings of roughly $12,000USD per month

Page 28: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Benefits

� The accuracy of transaction data input tothe system was significantly improved

� More usable and ultimately more efficientsystem

� Combination of SDLC and PDLC shortendevelopment life-cycle

� The reliability of the system was improved� Authentication of identity and repudiation

of forgery/falsification

Page 29: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Conclusions

� Documented the implementation of a B2Be-commerce system

� Requirements analysis was carried out usingscenarios and formalized using Use Casediagrams

� Digital signatures were employed forimplementing security

� Documentation made by XML� Eight critical success factors were used

Page 30: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Conclusions cont.� Harmonious communication between the users

and developers

� Reduction in the processing time oftransactions

� Reduced processing cost

� Improved efficiency and accuracy

� Security of transmitted data

� Shortened the system development life cycle

Page 31: B2B E-Commerce System : Specification and Implementation ...sheldon/public/B2B-MSE2002ppt.pdf · B2B E-Commerce System : Specification and Implementation Employing Use-Case Diagrams,

Contact Information

Frederick Sheldon, Ph.D.

Software Engineering for Dependable for Systems

Laboratory

Rick: 865-576-1339Fax: 865-576-0003

URL: http://www.csm.ornl.gov/~sheldon

http://computing.ornl.gov/cse_home/acer.shtml