xPage in the client/on the web - advice sought

I have an idea for something that I’d like to do on an internal application but have no idea whether it’s possible or not so would like some advice from anyone who might know.

Essentially what I’d like to do is develop an application home page which refreshes and tells the user when new content is available without them having to interact with it in any way.

So when a new item is posted (this is a noticeboard app), the user with the app open would see a line saying ‘1 new item posted’ and be able to click then to view that posting (a bit like facebook/twitter/google reader).

This, I assume, would require an ajax script running at regular intervals when the page is open to check for new postings based on what’s already being displayed.

I can see that this would be possible/fairly simple on a standard web page, but I’d like to be able to do this in the Notes client as well so was thinking about using an xPage to present the info.

So, questions are:

  1. Is this possible on an xPage? I haven’t really looked at xPages much and don’t want to waste days trying to figure it out if it’s not

  2. Would this work on an xPage in the client? If the app is open but obviously isn’t in focus would the javascript timer (which I think is what is needed) continue to run and be able to update the page?

  3. If it is possible would this use too many resources on the client?

  4. Again, if all above is possible would server load be an issue? We’re a fairly small company (100 users)

Obviously any advice/comments/suggestions/code would be great

Thanks

Dan