Top Banner
Copyright 1995 Architecture Projects Management Limited The copyright is held on behalf of the sponsors for the time being of the ANSA Workprogramme. Poseidon House Castle Park Cambridge CB3 0RD United Kingdom TELEPHONE: Cambridge (01223) 515010 INTERNATIONAL: +44 1223 515010 FAX: +44 1223 359779 E-MAIL: [email protected] ANSA Phase III Distribution: Supersedes: Superseded by: APM.1491.01 Approved 24th May 1995 Project Management (confidential to ANSA consortium for 2 years) May TC Presentation: Programming the Net Ashley McClenaghan Abstract The Net will turn into an environment populated by services and agents. Emerging technologies such as Java, Tcl and Telescript are competing in a bid to become the accepted “base-level” programming languages for the Net environment. The first half of this presentation introduces Net programming technologies and speculates how these will influence the architecture of systems built on the Net.This vision includes the idea of using the existing Web as a common backbone which connects other more specialized Net environments. The second half introduces and demonstrates an extensible, script-based Web server called Changeling. The Changeling prototype has been developed to learn more about script-based programming of the Net.
21

May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

May 22, 2018

Download

Documents

hakhanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

Copyright 1995 Architecture Projects Management LimitedThe copyright is held on behalf of the sponsors for the time being of the ANSA Workprogramme.

Poseidon HouseCastle ParkCambridge CB3 0RDUnited Kingdom

TELEPHONE: Cambridge (01223) 515010INTERNATIONAL: +44 1223 515010

FAX: +44 1223 359779E-MAIL: [email protected]

ANSA Phase III

Distribution:

Supersedes :

Superseded by :

APM.1491.01 Approved 24th May 1995

Project Management (confidential to ANSA consortium for 2 years)

May TC Presentation: Programming the Net

Ashley McClenaghan

Abstract

The Net will turn into an environment populated by services and agents. Emerging technologiessuch as Java, Tcl and Telescript are competing in a bid to become the accepted “base-level”programming languages for the Net environment.

The first half of this presentation introduces Net programming technologies and speculates howthese will influence the architecture of systems built on the Net.This vision includes the idea ofusing the existing Web as a common backbone which connects other more specialized Netenvironments.

The second half introduces and demonstrates an extensible, script-based Web server calledChangeling. The Changeling prototype has been developed to learn more about script-basedprogramming of the Net.

Page 2: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10
Page 3: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

124th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

ANSA Phase III

May TC Presentation: Programming the NetAshley McClenaghan

[email protected]

Page 4: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

224th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Contents• Part 1: Net programming technologies

• Part 2: Changeling Web Server Demo

Page 5: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

324th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

What is this about?• Programming Net-based applications, clients, servers...

• Net-based programming characteristics: script-like and safe

Executable content• Dynamic protocol installation

- The Net isn’t static- Invent and distribute new protocols and interfaces

• Remote computation- Harness power of remote CPUs- Off-load servers, distribute load to clients- Support mobile agents, workflow- Software upgradable devices

Page 6: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

424th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

• Less communication- Minimize communications- Support intermittent connectivity (eg. PDAs)- Remote decision making (eg. space travel, CIM systems)

OO, model included, introspective• Net == collection of interworking objects

• Include model (eg. repositories) in infrastructure

• Introspection -- “How do I talk with that object?”

Page 7: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

524th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Safety• Protect receiver from agent --- Possible

- Provide only safe, well understood primitives to agents- Limit resource consumption (CPU time, memory, file space)- Authenticate incoming agents

• Protect agent from receiver --- Not really possible- Rely on trusted sites- Agents carry minimal necessary rights and sensitive data

• Protect agents from agents --- Difficult- Must think about emergent behaviour- Eg. feature interactions, viruses

Page 8: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

624th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Emerging Net Technologies

URLs URCs tickets

HotJava Netscape MagicCap Windows95

HyperDocsVRML Personal Link

OpenDoc CORBA

Telescript

OLE/COM

Java Tcl C/C++

Telescript

Visual Basic

HTTP IIOP

MS World

S-HTTP

UserInterfaces

User LevelModels

Addressing

OO Models

Languages

Protocols

Mosaic

GUID

Page 9: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

724th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Sun’s Java• See http://java.sun.com/

• Sun’s OO language for programming the Net- C++ like high-level syntax --- compiled to portable byte code- Interpreters, presently on Solaris, soon on MacOS, Windows NT, etc.

• Security designed into the language system- Security checks on byte code- Controlled access to local resources- PGP authentication on its way

• HotJava Web/Net browser- Downloadable applets --- protocol modules, MIME-type displayers, etc.

Page 10: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

824th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Tcl• See http://playground.sun.com/~ouster/

• High-level, interpreted, wide-spread, many extension pkgs (eg. Tk)

• Safe-Tcl --- developed for enabled-mail applications

• Sun see Tcl as a high-level glue and prototyping language

• Java for speed

Page 11: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

924th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Telescript• See http://www.genmagic.com/

• General Magic’s OO language

• Mobile Agents, Places, Teleclicks for payment

• Proprietary --- GM are quite secret about it

• Services: AT&T Personal Link Service

• PDAs: Sony’s Magic Link, Motorola’s Envoy

Page 12: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1024th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

VRML• See http://vrml.wired.com/

• Virtual Reality Modelling Language

• Takes the Web out of flatworld

• Based on Silicon Graphics’ OpenInventor TM

• SGI, Netscape and Template are integrating VRML into viewers

• In VRML 1.0 3D objects lack interactivity support...

Page 13: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1124th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

VRML 2.0 + CORBA + IIOP?• VRML 2.0... networked inter-object interaction?

• Requires object brokering [SGI, Labyrinth]

• Suggestion to use CORBA as the Web’s OO infrastructure- documents --> objects- HTTP --> IIOP

• The Web becomes a collection of interacting objects --- some with a 3D graphical visualization

Page 14: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1224th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

The Net Vision

WebAT&T PL

MS WorldAnsaVerse

Net

MagicCap

Telescript

VisualBasicVRML

CORBAJava

IIOP

HTMLJava

HTTP

Windows95

Page 15: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1324th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Net Vision• The Net as a connected collection of cyberspaces

- The Web will be the common Net backbone- Connecting other specialized Net cyberspaces- Download appropriate protocol/viewer for a cyberspace- This is the kind of scenario that HotJava has been designed for- People are already creating customized cyberspaces...

Eg. OSF selling a DCE-based Web as a corporate IT infrastructure, CommerceNet sites investigating secure transactions

• Options for future work:- IIOP protocol module to plug into HotJava browsers- VRML 2.0: 3D graphical objects with CORBA underpinnings

• MARKET: Net based corporate IT infrastructures

Page 16: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1424th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Part 1 Summary• Introduced Net programming technologies

• Speculated on the architecture of Net-based systems- In particular, the idea of downloadable protocol/interface software for

surfing customised cyberspaces

Part 2: some practical work...

Page 17: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1524th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Changeling Web Server• Aim:

- Build a Safe-Tcl script-based Web server with an extensible set ofmethods

• Purpose:- Learn about Net technology: safe scripting, HTTP- Learn about in-service software upgrades- No present server implements HTTP/1.0 extension methods- Use as a basis for prototyping other Web related work- (Tcl --> Java)

Page 18: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1624th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Architecture- Kernel management methods: INFO, INSTALL, REMOVE, REGISTER, etc.- Standard library methods: GET, POST, HEAD, etc.- User defined methods: ...

Page 19: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1724th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

Tcl interpreter

parserequest

sendresponse

accessto localresources

request

Changeling Web server

localfilestore

response

client

restricted(Safe-Tcl)interpreter

con

ne

ction

ha

nd

ler

documents

methodscripts

Page 20: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1824th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

The Changeling Interactive Tutorial• A series of Web pages which take you though the cycle of:

- Becoming a registered Changeling user- Posting then getting a document- Installing, invoking and removing a new method- Unregistering as a Changeling user

Page 21: May TC Presentation: Programming the Net · May TC Presentation: Programming the Net ... APM.1491.01 Approved Project Management ... Motorola’s Envoy. 10

1924th May 1995Approved Project Management (confidential to ANSA consortium for 2 years)APM.1491.01

References• APM 1434 Scripts and Agents: Introduction and Work Proposal

• APM 1453 The Changeling Web Server