Courses
Java
Home
Corporate
Consulting
Contact Us
Courses
Jobs
Custom Topics

Customize this course,
choose your topics

Building Your Course
Custom Order Page
Building Guidelines

Selectable Topics
Advanced Applets
Advanced AWT
Collections
CORBA
Custom Components
Drag'n Drop
Enterprise JavaBeans
Event Delegation
GridbagLayout
InfoBus
Inner Classes
Internationalization
Java 2 Overview
JavaBeans
JFC Overview
JSP (Java Server Pages)
JSP Tag Libraries (taglib)
JDBC
JNI
RMI
Security
Serialization
Servlets
Struts
Swing
WebServices Overview
XML

InfoBus

InfoBus was developed by Lotus for use in their eSuite product suite.

eSuite is composed of a collection of Java applets. Written in pure Java, InfoBus is used as the mechanism that allows these applets to communicate with eachother.

The Infobus provides a set of enhanced interfaces that applets can use to share and exchange dynamic data. Rather than have the applets register themselves with eachother (for instance, as event listeners), each applet plugs into the same Infobus.

Data producing applets use the bus to announce the availabilty of data. Data consumers request data when it becomes available. An applet can be both a consumer and producer of data simulateously.

The real benefit of the Infobus is that we can assemble separate applets (at runtime) and they can communicate. They can exchange data with other vendor's applets without knowledge of any applet specific API's.

By writing to a common data exchange specification, applet developers can ensure out "of the box" compatibility with a wide range of other applets. Infobus has been adopted by Sun and is supported in the BDK.

Objectives

  • Examine the three types of components
    • Data producers
    • Data Consumers
    • Data Controllers
  • Be able to create a data consumer and data producer that exchange data.
    • Know how to attach two components to the same bus.
    • Announce availability of data on the bus.
    • Rendez-vous to retrieve data
  • Using the following classes:
    • Members : InfoBus, InfoBusMemberSupport, InfoBusBeanSupport,
    • Data Consumers : InfoBusDataConsumer, InfoBusItemAvailableEvent, InfoBusItemRevokedEvent
    • Data Producers : InfoBusDataProducer, InfoBusItemRequestedEvent.
    • Use the DataItem Interface.

Specifications

  • Duration (total): 1.5 hours
  • Duration of Exercises: 45 minutes
  • Duration of Lecture: 40 minutes

Pre-requisites

If you are building a custom course, you will need to cover these topics before this topic can be presented:

  • since Infobus utilitizes bound properties, a working knowledge of JavaBeans is required.
  • Infobus also utilitizes DataFlavors. Therefore, working knowledge of java.awt.datatransfer as covered in Advanced Java 1.1 AWT section is required.
In addition, material covered in this section requires attendees to know the following:
  • Basic Java knowledge including exception handling, threads, full use of all the language constructs, and familiarity with the core Java 1.1 APIs.
  • Those without these pre-requisites should consider one of our Ultimate Java Programming Workshops.

A table of contents of this module is available upon request.

Return to the Custom Order Page.

Copyright ©2007 by Petronio Technology Group, Inc. All rights reserved. Petronio, "Targeted Technology Training", "T3" and "Turning new technologies into your competitive advantage" are trademarks of Petronio Technology Group. All other trademarks are the properties of their respective companies.