Difference between revisions of "Inter Portlet Subscription/Notification Mechanism (Client side)"

From Gcube Wiki
Jump to: navigation, search
(New page: How to make portlets in the same page use a Subscription/Notification Mechanism client side. == Pre-development Actions== ===Modifying Gridpshere Home=== If you want you can also apply th...)
 
Line 2: Line 2:
  
 
== Pre-development Actions==
 
== Pre-development Actions==
===Modifying Gridpshere Home===
+
Subscription/Notification Mechanism makes use of TIBCO PageBus™ (http://www.tibco.com/devnet/pagebus/default.jsp) which is an event and message bus implemented in JavaScript that enables disparate Ajax elements in a Web page to broadcast and listen for events and messages published on topic names.
 +
 
 +
For the ones developing portlets with GWT Wrapper exists for this Library, http://code.google.com/p/tibcopagebus4gwt/
 +
 
 +
However, the library does not currently support GWT 5.2, D4Science Portlets will have to use the same library modified to be compliant to GWT 5.2.
 +
 
 +
 
 +
===How does TIBCO PageBus™ work===
 
If you want you can also apply the respective changes to gridsphere's home directory.
 
If you want you can also apply the respective changes to gridsphere's home directory.
 
This can be useful if, for some reason, you want to redeploy gridsphere.
 
This can be useful if, for some reason, you want to redeploy gridsphere.

Revision as of 17:05, 17 December 2008

How to make portlets in the same page use a Subscription/Notification Mechanism client side.

Pre-development Actions

Subscription/Notification Mechanism makes use of TIBCO PageBus™ (http://www.tibco.com/devnet/pagebus/default.jsp) which is an event and message bus implemented in JavaScript that enables disparate Ajax elements in a Web page to broadcast and listen for events and messages published on topic names.

For the ones developing portlets with GWT Wrapper exists for this Library, http://code.google.com/p/tibcopagebus4gwt/

However, the library does not currently support GWT 5.2, D4Science Portlets will have to use the same library modified to be compliant to GWT 5.2.


How does TIBCO PageBus™ work

If you want you can also apply the respective changes to gridsphere's home directory. This can be useful if, for some reason, you want to redeploy gridsphere.

Installing GWT

  1. Download the latest version of GWT from here.
  2. Uzip the file.
  3. Set environmntal variable: GWT_HOME=<the name of the folder where you unpacked gwt files>