Wednesday Oct 03, 2007

Difference between notification and polling

Portal Server and Gateway uses Access Manager and Access Manager SDK for session. It can use either use notification or polling for session notification. Below is the explaination for the same.

 

\* The following keys are used to enable session client side notification
\* Default polling period is 180 seconds
\*/
com.iplanet.am.session.client.polling.enable=false
com.iplanet.am.session.client.polling.period=180

The above two properties are used by session client code, if Polling is set to false notification will be enabled , if polling is set to true notification mode will be disabled.
Note : The AM Server always runs in notification mode so changing this property on the server side doesn't has any effect.

Notification Mode: In notification mode for each session the client registers a notification listener on the server, when any thing changes for that session on the server (time out etc) , the server send notification to the client so the client can update its cache.

Polling Mode : In Polling mode, the session client contacts the server for each session if its caching time has expired and will update its cache.
About

Ajit Kamble

Search

Categories
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