Developing AjaxPush WebApp for Glassfish and AjaxPush Portlet for WebSpace Server 10.0

AjaxPush 


The essence of Ajax Push is the ability to trigger updates to the client from events or changes that occur on the server. This makes Ajax Push highly suitable for collaborative applications where one user does something that changes the current state of the application and other users are interested in seeing that change. There are many different ways to take advantage of Ajax Push to add collaborative features to your rich web application or portlet.


AjaxPush overview




We are going to use the AjaxPush server (aka Comet) embedded into any GlassFish instance. By default the Comet server is off. So a very simple configuration step is required to take advantage of AjaxPush features.


Tutorials available


These samples have been developed with NetBeans 651,  ICEFace181 and PortalPack302.


As far as the deployment target are concerned, we tested successfully on GlassFish v2 (instance from GlassFishESB June 2009), GlassFish v3 and LifeRay 522 and WebSpace Server 10.0-update6.


This tutorial describes



  • firstly, how to develop AjaxPush Webapp for GlassFish v2 or glassfish v3

  • secondly, how to build an AjaxPush Portlet for WebSpace Server 10.0


Hope, these samples are clear enough to demystify AjaxPush feature. More sophiscated samples ...AjaxPush chat and AjaxPush AuctionMgr.





To learn more, a complete tutorial is available.


 Have fun.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blog is about Software How-to & Best Practices

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today