I am using JBossCache1.4X JBossAS4.0.5GA
please can any one tell me how to craete a listener for a node in a TreeCache.(small code please).and how to notify when a change takes place in that node.
You can only write listeners for the entire cache.
You could filter events based on Fqn though, since the Fqn is passed into the callback, and discard events for Fqns you aren't interested in. Read the user guide for examples on this.
In a later release (2.1.0) we may add support for adding listeners to specific regions.