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.1560.00.03 Draft 4th September 1995 Briefing Note Presentation to IBM: Net Scripting Ashley McClenaghan Abstract This presentation has been prepared for the September 4, 1995 visit of IBM to ANSA. It provides an overview of the Net scripting concerns of the ANSAweb project. The first half of this presentation introduces a vision of the Net as a mosaic of interconnected cyberspaces. We look at the technology matrix from which to build these cyberspaces and identify the technologies that are the focus the ANSAweb project: CORBA and the Web. The second half takes a more detailed look at the ANSAweb work on scripting and mobile agent technologies. We survey emerging scripting technologies (Telescript, Tcl and Java) and discuss related ANSAweb work.
24

Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan [email protected]

Apr 09, 2018

Download

Documents

nguyendang
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: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

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.1560.00.03 Draft 4th September 1995

Briefing Note

Presentation to IBM: Net Scripting

Ashley McClenaghan

Abstract

This presentation has been prepared for the September 4, 1995 visit of IBM to ANSA. It providesan overview of the Net scripting concerns of the ANSAweb project.

The first half of this presentation introduces a vision of the Net as a mosaic of interconnectedcyberspaces. We look at the technology matrix from which to build these cyberspaces and identifythe technologies that are the focus the ANSAweb project: CORBA and the Web.

The second half takes a more detailed look at the ANSAweb work on scripting and mobile agenttechnologies. We survey emerging scripting technologies (Telescript, Tcl and Java) and discussrelated ANSAweb work.

Page 2: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk
Page 3: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

14th September 1995Draft Briefing NoteAPM.1560.00.03

ANSAweb Project

Presentation to IBM: Net ScriptingAshley McClenaghan

[email protected]

Page 4: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

24th September 1995Draft Briefing NoteAPM.1560.00.03

Contents• Net Vision

• Technology Matrix

• ANSAweb project

• Mobile Agents and Net Scripting

• Telescript, Tcl, Java

• Changeling

Page 5: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

34th September 1995Draft Briefing NoteAPM.1560.00.03

Net Vision (1)

WebAT&T PL

MSNAnsaVerse

Net

MagicCap

Telescript

VisualBasicHTML

CORBA Tcl

IIOP

HTMLJava

HTTP

Windows95

WorldsAway

Page 6: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

44th September 1995Draft Briefing NoteAPM.1560.00.03

Net Vision (2)• The Net will be a connected collection of cyberspaces

• Private corporate cyberspaces- Eg. OSF selling a DCE based Web as a corporate infrastructure

• Public regulated cyberspaces- Eg. AT&T Personal Link- Eg. Fujitsu/Compuserve WorldsAway

• Public unregulated cyberspaces- Eg. Internet Web, Usenet

Page 7: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

54th September 1995Draft Briefing NoteAPM.1560.00.03

Net Vision (3)• In the future, perhaps...

- Corporate nets continue to be important- Growth of regulated nets: costly but orderly- Still some unregulated nets: cheap but anarchic- Cyberspaces will include TV, telephone, everything- Internet Web acts as a common backbone connecting the other

specialized cyberspaces

Page 8: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

64th September 1995Draft Briefing NoteAPM.1560.00.03

The Technology Matrix

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 Network

S-HTTP

UserInterfaces

User LevelModels

Addressing

OO Models

Languages

Protocols

Mosaic

GUID

Page 9: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

74th September 1995Draft Briefing NoteAPM.1560.00.03

ANSAweb (1)

• General aim: promote interworking between the Web world and theCORBA world

CORBAworldWEBworld ANSAweb

Page 10: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

84th September 1995Draft Briefing NoteAPM.1560.00.03

ANSAweb (2)• Web world

- Info access on global scale- Ubiquitous, user-friendly

• CORBA world- Systems integration on corporate scale- Good object oriented model, faster

• Interworking projects- ANSAweb CGI compiler (IDL --> server-side CGI stub & client-side

application stub & client-side HTML template form)- ANSAweb protocol re-engineering (replacing HTTP with IIOP)- Web* (allows Tcl clients to invoke Orbix based servers)- DCE-Web (DCE between the Web and transport layers)

Page 11: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

94th September 1995Draft Briefing NoteAPM.1560.00.03

Mobile Agents (What Are They?, 1)• “Intelligent agents”, “mobile scripts”, “softbots”, etc.

• Traditional RPC paradigm

- Structured with statically defined APIs and protocols

client

RPC

server

host 1 host 2

Page 12: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

104th September 1995Draft Briefing NoteAPM.1560.00.03

Mobile Agents (What Are They?, 2)• New remote programming model

- Interfaces and protocols introduced or upgraded on-line

agent service

local

communications

host 1 host 2

“go”

Page 13: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

114th September 1995Draft Briefing NoteAPM.1560.00.03

Mobile Agents (Research Areas)• Mobile scripts

- Designing scripting languages- Eg. Telescript, Script-X, Tcl, Java, OREXX, Obliq- AGENT = DATA + PROCEDURES + LIFE- Agents live and roam around the Net

• Agent interaction- How autonomous agents interact and find services- Eg. (interaction models:) OpenDoc, OLE2, DSOM, CORBA- Eg. (interaction languages:) KQML, Cyc

• Agent intelligence- Making agents smart

• OMG Standardisation (Common Facilities Architecture)

Page 14: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

124th September 1995Draft Briefing NoteAPM.1560.00.03

Mobile Agents (My Focus)• My focus: mobile agents & Net scripting

• Wish list:- High-level programming of Net-based applications- Script-like/dynamic- Object oriented- Safe

Page 15: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

134th September 1995Draft Briefing NoteAPM.1560.00.03

Net Scripting (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

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

Page 16: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

144th September 1995Draft Briefing NoteAPM.1560.00.03

Net Scripting (OO, Model Included, Introspective)• We want to Net to be a collection of interworking objects

• Include model (eg. repositories, traders) in infrastructure

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

Page 17: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

154th September 1995Draft Briefing NoteAPM.1560.00.03

Net Scripting (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 --- Be careful- Must think about emergent behaviour- Eg. feature interactions, viruses

Page 18: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

164th September 1995Draft Briefing NoteAPM.1560.00.03

Telescript• General Magic’s object oriented language

• Mobile Agents, Places, Tickets for routing, Teleclicks for payment

• Proprietary --- General Magic are quite secret about it

• Services: AT&T Personal Link Service

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

Page 19: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

174th September 1995Draft Briefing NoteAPM.1560.00.03

Tcl• Tool Command Language

• Developed by John Ousterhout, now @ Sun Labs

• High-level, interpreted, wide-spread, many extension packages

• Safe-Tcl (developed for enabled mail and safe-scripting)

• Sun have plans to fold Safe-Tcl into a new Tcl release- Sun want to make it the scripting language of the Net

Page 20: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

184th September 1995Draft Briefing NoteAPM.1560.00.03

Java• Sun’s new object oriented language for programming the Net

- C++ like high-level syntax compiled to portable byte-code- Interpreters presently on Solaris and Windows NT

• Security designed into language- Security checks on byte codes, controlled access to local resources, PGP

authentication on its way

• HotJava Web browser- 1st application of Java- Features downloadable “applets” (software objects), eg. protocol

modules, MIME-type displayers, active Web pages, etc.

• The future desktop of the Net world?- Would have to re-write all existing desktop apps in Java!

Page 21: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

194th September 1995Draft Briefing NoteAPM.1560.00.03

Changeling (Intro)• Aim

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

• Present situation- Web servers support only a standard set of methods (GET, POST, HEAD,

PUT, etc.)

• 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 ANSAweb work

Page 22: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

204th September 1995Draft Briefing NoteAPM.1560.00.03

Changeling (Basic Idea)• Kernel management methods, eg.

- INFO, INSTALL, REMOVE, REGISTER, UNREGISTER

• Standard library methods, eg.- GET, POST, HEAD

• User supplied methods

Page 23: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

214th September 1995Draft Briefing NoteAPM.1560.00.03

Changeling (Architecture)

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 24: Presentation to IBM: Net Scripting · 1 APM.1560.00.03 Draft Briefing Note 4th September 1995 ANSAweb Project Presentation to IBM: Net Scripting Ashley McClenaghan am@ansa.co.uk

224th September 1995Draft Briefing NoteAPM.1560.00.03

Changeling (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