I just followed the steps given in this pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/how to use the portal eventing for web dynpro iviews.pdf
I built the project, infact EventSenderApplication and EvenetListenerApplication are in single project, if run EventSenderApplication it runs once if i enter some text in input field and run the second EvenetListenerApplication this text does reflect in the EventListenerview what may be the reason i followed exactly similar steps mentioned in the pdf.
if this works i can import this in to Enterprise portal as mentioned in pdf.
any helpfull answers