When we create a JSF page, a client request allows generation of HTML dynamically using a combination of Java code and HTML. Can we introduce hooks in the HTML page using JS
If you need fully-featured Comet updates (reverse Ajax) and so on, then its worth taking a look at the DWR library.