Full HTML for

Basic foilset Overview of TangoBeans and their API

Given by TangoInteractive Team at Tango Tutorial San Diego MRA on June 26 27 98 Datemod;June 18 98. Foils prepared
Outside Index Summary of Material


This is still under development and will be released in Tango 1.1 Sept 98, but represents the most elegant way of building collaborative Java applets
We review JavaBeans which are Java's component model
We discuss the current TangoBean architecture and illustrate process with a simple example where applets has two buttons -- On and Off

Table of Contents for full HTML of Overview of TangoBeans and their API

Denote Foils where Image Critical
Denote Foils where HTML is sufficient

1 TANGO Interactive Tutorial Overview of TangoBeans API and Motivation
2 Abstract of TangoBean Overview
3 What are JavaBeans I
4 What are JavaBeans II
5 TangoBeans - Overview
6 TangoBeans - Component Functionality
7 TangoBean Architecture
8 Building a User TangoBean
9 TangoBeans - Components
10 TangoBeans - ObjectPipe
11 TangoBeans - Modes of Operation
12 Using TangoBeans
13 Using TangoBeans - continued
14 TangoBeans - Tools and Resources

Outside Index Summary of Material



HTML version of Basic Foils prepared

Foil 1 TANGO Interactive Tutorial Overview of TangoBeans API and Motivation

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
Prepared by Marek Podgorny and Tango Team
Presented by Geoffrey Fox
NPAC, Syracuse University
MRA Meeting San Diego June 26-27 1998

HTML version of Basic Foils prepared

Foil 2 Abstract of TangoBean Overview

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
This is still under development and will be released in Tango 1.1 Sept 98, but represents the most elegant way of building collaborative Java applets
We review JavaBeans which are Java's component model
We discuss the current TangoBean architecture and illustrate process with a simple example where applets has two buttons -- On and Off

HTML version of Basic Foils prepared

Foil 3 What are JavaBeans I

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
They are Java's implementation of "component-based" visual programming
This modern software engineering technique produces a new approach to libraries which become a "software component infrastructure(SCI)"
There is a visual interface to discovery of and setting of values of and information about parameters used in a particular software component
JavaBeans uses the event model of JDK1.1 to communicate between components
One expects Javabeans to become the CORBA component interface (defining containers in CORBA)
Enterprise Javabeans are extremely important server side version which are the Java way of building reuseable middleware

HTML version of Basic Foils prepared

Foil 4 What are JavaBeans II

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
The visual interface allows inspection of and implementation of both individual beans and their linkage . This visual construction of linkage allows one to form nontrivial programs with multiple communicating components
Apart from the event mechanism which is a communication/linkage mechanism, ComponentWare (and JavaBeans in particular) "just" give a set of universal rules (needed for interoperability) for rather uncontroversial (albeit good) object-oriented and visual programming practices
  • Hiding of properties which can only be accessed by methods (which must have special names)
  • Display of these properties (as given by methods)
Javabeans expose the interesting events and properties and the user can use this in a design environment such as Visual Café to decide how to share these exposed elements

HTML version of Basic Foils prepared

Foil 5 TangoBeans - Overview

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
Set of JavaBeans integrated with Tango which Support
  • message sending and receiving
  • control operations on applet: open, close, focus
  • communication channels
    • exchange of data between specific components
    • message multiplexing and de-multiplexing
Enables easy automatic construction of collaborative applications using visual tools such as Visual Cafe
Universal interface - arbitrary types of objects may be transferred
There are System TangoBeans (JavaBeans supporting Tango runtime) enabling the functioing of user TangoBeans

HTML version of Basic Foils prepared

Foil 6 TangoBeans - Component Functionality

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
Tango Bean
Integrates applet with Tango
Executes control operations on applet
Accepts new pipes
Routes messages to pipes
Accepts messages from Pipes
Accepts Events defining data to be shared

HTML version of Basic Foils prepared

Foil 7 TangoBean Architecture

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
TangoBean
TANGO
ObjectPipes
System TangoBean
User TangoBeans

HTML version of Basic Foils prepared

Foil 8 Building a User TangoBean

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
Designer's view of the TangoBean
ObjectPipes
User view of this TangoBean

HTML version of Basic Foils prepared

Foil 9 TangoBeans - Components

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
ObjectPipe
Communication channel
Must be connected to TangoBean
Accepts Serializable objects
Methods
  • public void sendData(Object toTango)
  • sends data to Tango
Generated Events
  • PipeDataEvent
  • informs other components that message arrived from Tango
  • PipeConnectEvent
  • informs TangoBean that pipe is ready to be connected
Accepted Events
  • PipeDataEvent
  • event with data to be sent to Tango
ObjectPipes send objects
travelling through them
(which can be data or events)
to the system TangoBean
which replicates them to
all involved clients

HTML version of Basic Foils prepared

Foil 10 TangoBeans - ObjectPipe

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
TangoBean
ObjectPipe
to TANGO
from TANGO
User1
User2

HTML version of Basic Foils prepared

Foil 11 TangoBeans - Modes of Operation

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
Design time
  • components with visual interface
Run-time - testing environment
  • invisible system components
  • all objects sent to ObjectPipe are looped back
Run-time - Tango environment
  • invisible system components
  • all object sent to ObjectPipe are passed to Tango

HTML version of Basic Foils prepared

Foil 12 Using TangoBeans

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
Install Tango beans in your IDE
Design applet using Tango beans and other available components
Generate applet
Add Netscape security calls
public void init() {
  • netscape.security.PrivilegeManager.enablePrivilege
  • ("UniversalPropertyRead");
  • //the rest of your code
}

HTML version of Basic Foils prepared

Foil 13 Using TangoBeans - continued

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
Add notification about applet destruction
public void destroy() {
tangoBean1.appletDestroyed();
super.destroy();
}
Sign applet and all used Tango beans as one package
Create JAR file
Add applet to Tango applications

HTML version of Basic Foils prepared

Foil 14 TangoBeans - Tools and Resources

From Overview of TangoBeans and their API Tango Tutorial San Diego MRA -- June 26 27 98 Datemod;June 18 98. *
Full HTML Index
Java IDE or JDK
Netscape Communicator with AWT 1.1
Digital signature
Tools for package signing and JAR generation from Netscape - signtool

© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Jun 21 1998