A Brief Introduction to Software Resource Repository

egyptiannorweiganInternet and Web Development

Oct 31, 2013 (3 years and 7 months ago)

68 views

可信

共享

协同

A Brief Introduction to

Software Resource Repository


Trustie

Project

Software Resource Repository
R&D Team


2009.09.29

2

www.trustie.net

Contents

Introduction to SRR

1

Overview of Current SRR

2

Work of TSRR for Open Source

3

3

What is Software Resource?


A software resource (SR) is, broadly speaking, any
cohesive collection of artifacts that solve a specific
problem or set of problems encountered in the
software development life cycle.


SR

is

reusable

artifact,

it

can

be

used

to

build

new

software

products

and

related

products
.


A SR may be any work
-
products from the software
development lifecycle or software related activities.


requirements documents, models, source code files,
deployment descriptors, test cases or scripts, and so on.


Reuse Based Software Development (RBSD) and
Software Resource.

4


The
Software Resource Repository (SRR)
is the
infrastructure that provides the software resources
management mechanism, such as publishing,
retrieving, classification, storage, feedback, evaluation.


Supporting

software

reuse
.


Sharing

resources

among

projects
.

What is Software Resource Repository ?

Software Reuse
Process Management

Software Resource Generation

Reuse Based Software
Development

SRR

5


Software resources are
diversifying


closed
,
static
,
code

TO

open
,
dynamic
,
service


Web based development &
application environment


SR’s Quality

& SR’s Quantity

Web

Services

EJB/

COM

Class

Function


R



B



A



A1


A2


B1


B2


A
3


A
4

Software Resource
Repository



Trust is the belief that the trustor has in the trustee willingness and
capability to deliver a quality of service in a given context and in a given
timeslot. [Chang 2005]


The
Trusted Software Resource Repository
(
TSRR
) is needed to provide
mechanism to describe, collect, evaluate, classify and manage
software
resources’ trustworthiness
, to support trust software development.

The Background of SRR for Trustie

6

The Goal of TSRR


Provide software resource management
mechanism

and software resources sharing environment.


Provide software resources acquisition, organization
and management on the Internet.


Provide mechanism to describe, collect, evaluate,
classify and manage
software resources’
trustworthiness
, to support trust software
development.

7

Typical Software Resources in TSRR


Software components
:


A software component is an explicitly identifiable
software entity that has independent functionalities and
can be deployed independently.


The component can be embedded in target systems in
form of source code or binary code etc.


Software services
:


A kind of software entity that emerged in form of
running service that can be referenced or invoked by
target systems, such as
web services
.

8


Software tools


A kind of software entity , which can assist the
realization of tasks and actions of software
developing, software running, software maintaining,
software managing or software supporting etc.


Software architectures


The software architecture is the structure or
structures of the system, which comprise software
components, the externally visible properties of
those components, and the relationships between
them.


Other

Typical Software Resources in TSRR

9

2013/11/1

Storage

Layer


Interface

Layer

Function

Layer


Code SRR

Service SRR

Software

Tools

Storage security
mechanism: backup
, recover, access control

Internet

SR search


engine

SR

publishing

SR

Classification

SR

retrieving

User

management

SR’s trust
evaluat
ion


Objective
feedback

mechanism

Subjective
feedback

mechanism

Code measurement

Tool for trust

QoS


Collection Tool

Internet

User

Developer

External Integration

Interface

Web Access
Interface

Muti
-
SRR Interoperation


Interface


SRR


SRR

Interoperation

Cooperative
developing platform

Software products
line & tool

The Framework of TSRR


TSRR can


Provide SR management
mechanism

and software resources sharing
environment


Provide multi
-
SRs acquisition, organization and management on the Internet


Provide SR’s trust
evaluat
ion mechanism

10

Trust
evaluat
ion

Relation
space


R



B



A



A1


A2


B1


B2


A
3


A
4

TSRR

Trust Management for TSRR

developer

developer

developer

developer

Code

EJB

Web Service

publisher

Application Composition

End user


Testing

QoS

User feedback

Describe

Retrieve

Evidence
space

11

QoS Management & application framework for TSRR

QoS Model
customization


QoS Model
verification


QoS Model Publishing

Quality Model

QoS

collection/computation

/storage/publishing

QoS data storage

QoS Model Management

Computing method

QoS Information Publishing

Metric method

QoS data aggregation, analysis and
computation

QoS driven system
dynamic
composition &
adjustment


QoS retrieving


B



D



D1


B



D



D1

目的

参与者

有效期


服务范围

服务级别的
目标

服务级别的
指标

惩罚措施

可选的服务

管理措施

……………

QoS revealing

Service selection
& scheduling
based on QoS

Management


Layer

QoS data

QoS data

QoS data

QoS data

QoS data
collection

Running Platform


B



A



D



D1

service


B



D



D1

Application layer

12

Software Resources Harvesting for TSRR

Resource entity

Resource Description

13

Main functions of TSRR


Now, We have:


Software resource publishing,
retrieval, classification, user
management, statistics etc.


Support RAS specification for
storing and managing resources.


Web Service’s QoS management
subsystem can collect and measure
Web Service’s QoS


Internet
-
based software resources
search engine can harvest
resources from Internet


The trust manager collects trust
related
evidence
s and evaluate the
resources’ trustworthy level.

http://222.240.205.134/index.jsp

14

www.trustie.net


Basic
Information

Extended
Information

Facet
Classification

15

www.trustie.net

To upload entity files for the published
resources, requirement, design,
implementation, test, manual

Trust
Evidence

16

www.trustie.net

If possible , publishers could
provide detailed quality
information for their published
resources.

17

www.trustie.net

Basic Information

RAS package

Trust evidence

18


Team members:
10 graduate
students, 4 Professors.


EJB


entity beans:
139


session beans:
28 stateless;


1 stateful


LOC:
128,789


Supporting classes and
servlet classes


java class:
200


LOC
: 50,000


Web pages


JSP file:
78 files


LOC:
20,685

Project scale

19


TSRR Application in China

TSRR has been deployed in several Software Incubators which are established by
National Hightech Program all over China , including Beijing, Shanghai,
Changsha, Xi’an etc.

Also, there are several companies has installed TSRR to support their software
development ,such as Digital China.

20

System paltform

2013/11/1

Storage

Layer


Interface

Layer

Function

Layer


Code SRR

Service SRR

Software

Tools

Storage security
mechanism: backup
, recover, access control

Internet

SR search


engine

SR

publishing

SR

Classification

SR

retrieving

User

management

SR’s trust
evaluat
ion


Objective
feedback

mechanism

Subjective
feedback

mechanism

Code measurement

Tool for trust

QoS

Collection Tool

User

Developer

External Integration

Interface

Web Access
Interface

Muti
-
SRR Interoperation


Interface


SRR


SRR

Interoperation

Cooperative
developing platform

Software products
line & tool

Weblogic

7.1

Oracle 9i


XHTML 1.0

JavaScript

Servlet 2.3

JSP 2.1

Internet

EJB2.0

Web

Service API

Java 5.0

Jonas 5.1.0


mysql

5.0


21

TSRR will contribute to OW2 in near future


To set up a project on OW2 for TSRR


The source code and the technical specification on
how to manage software resources will be opened
on OW2 on Oct. 2009


Reuse existing OW2 projects
:


Jonas, JORM, JOTM, EasyBeans,


xWiki , Orientware CCM, Celtix ESB, SpagoBI,
XPLUS, Jassmine


To expand the application of TSRR, together to
push Jonas and other OW2 projects’ application in
China


22

What are we doing now…


Published an English version of TSRR


To polish and optimize the source code of TSRR


The technical specification on how to manage software
resources is in progress


The platform migration is in progress, we have
successfully transplant the running platform and
database

23

TSRR Plan for OW2

2009.10

To finish the migration
of TSRR platform from
commercial platform to
open source platform

2010.2


Apply to OW2 for
setting up TSRR
open source
project

2010.3


Set up dictionary of
synonyms for TSRR
Chinese version and
English version


Furnish

TSRR’s
source
code


Make TSRR open
source
comprehensively on
OW2

2009.12

可信

共享

协同

Thanks

Q&A

www.trustie.net