TIBCO PageBus™
TIBCO PageBus is an event bus implemented in JavaScript that enables gadgets and other Ajax components in a Web page to broadcast and listen for messages published on topic names. PageBus topic names are hierarchical and support wildcards, allowing widgets to listen for both general as well as specific information. TIBCO PageBus makes it possible to construct secure mash-ups using gadgets with very different trust profiles. PageBus allows the mash-up to isolate components in secure "sandboxes" and to control the topic names on which different gadgets can publish and subscribe.
Three
gadgets communicating via the PageBus.
How can PageBus help me?
As Ajax expands the capabilities of Web pages into solutions patterns such as secure mashups, composite applications, and rich interactive portals, PageBus helps developers to drastically simplify development by using publish and subscribe APIs to send events between components rather than get bogged down in unwieldy DOM-level, point to point integrations between components. In addition, adherence to publish and subscribe architecture helps modularize applications into distinct pieces making application security, team development, testing, and source code management easier as well.
TIBCO PageBus implements the OpenAjax Hub specification (version 2.0) defined by The OpenAjax Alliance. TIBCO was a leading contributor to this specification and contributed the original reference implementation.
Download the Latest Release
-
PageBus 2.0
Includes pagebus.js (4 kb), docs, code samples, and unit tests and more. Open source license: Apache License, Version 2.0.
What's new in 2.0? PageBus 2.0 implements the recently finalized OpenAjax Hub 2.0 specification and all its APIs. In addition PageBus 2.0 includes an origin-based event security manager and an Event Cache that allows publishers to store events for consumption by later subscribers. Check out the docs and the examples below for more about these features.
Project Resources
PageBus Examples
-
Simple Publish/Subscribe Example
Shows how components can exchange events via TIBCO PageBus publish/subscribe.
Mini Publish/Subscribe Example
Example with smaller form factor for mobile devices.
Pub/Sub Performance for Simple PageBus API
Demonstrates the high throughput that can be achieved with TIBCO PageBus publish/subscribe.
PageBus Event Cache Example
Demonstrates components sharing information using TIBCO PageBus store/query.
PageBus HubPolicy Example
Explore the capabilities of the TIBCO PageBus security manager, PageBus HubPolicy.
Pub/Sub Performance for Managed Hub
Demonstrates the throughput that can be achieved when the managed hub is used. There are two iframe containers and two inline containers.
With Real-Time Data
This data streaming demo uses TIBCO Ajax Message Service to stream server-side data to the PageBus in an Ajax application.
Webcasts
-
Architecting and Managing Composite Ajax Applications
PageBus creator, Howard Weingram, walks you through using PageBus to architect composite applications and mashups.Ajax Portlets
Learn how to use PageBus in the context of a portals for inter-portlet messages and events.