tag:blogger.com,1999:blog-3354935762548909833.post4939263706874158749..comments2023-09-24T14:40:09.912+00:00Comments on Javing: PrimePush in Jboss AS 7Unknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3354935762548909833.post-80378944703381283422017-04-14T02:30:29.708+00:002017-04-14T02:30:29.708+00:00Hi Arun,
Glad you liked the article... Advertising...Hi Arun,<br />Glad you liked the article... Advertising for free in my blog uh? ;) What do I get? hahaha....djordjehttps://www.blogger.com/profile/16177682854649698406noreply@blogger.comtag:blogger.com,1999:blog-3354935762548909833.post-4253349236918548232013-08-21T14:44:10.344+00:002013-08-21T14:44:10.344+00:00I got this to work using EventSource node module. ...I got this to work using EventSource node module. <br /><br />var s = new EventSource("http://site:8080/servletName/primefacesServletName/pushChannel);<br /><br />s.addEventListener('message', function(e){<br /> //e.data is what you got from the server side push event<br />},false);<br /><br /> s.addEventListener('open', function(e) {<br /><br /> }, false);zrrlocohttps://www.blogger.com/profile/06159409270633536580noreply@blogger.comtag:blogger.com,1999:blog-3354935762548909833.post-24075700366947397842013-03-31T16:35:22.822+00:002013-03-31T16:35:22.822+00:00@lucaster Sorry, then I don't know how to help...@lucaster Sorry, then I don't know how to help yoy. The only thing left in my mind is clustering. I never did it yet in JBoss AS 7. Time ago I did one little tutorial to implement clustering in glassfish, check this link: http://javing.blogspot.ie/2012/05/glassfish-31-clustering.html <br />I also did not try prime push with glassfish but I think it works very well. <br /><br />Djordjehttps://www.blogger.com/profile/05544905610992785433noreply@blogger.comtag:blogger.com,1999:blog-3354935762548909833.post-83842709507188358132013-03-31T16:14:21.196+00:002013-03-31T16:14:21.196+00:00Thaks for this example!
Unfortunately, the messag...Thaks for this example!<br /><br />Unfortunately, the message is still received only 60 times. After that treshold, the content keeps being pushed regularly, but the page doesn't get updated anymore and needs to be refreshed.lucasterhttps://www.blogger.com/profile/05513057742820398948noreply@blogger.comtag:blogger.com,1999:blog-3354935762548909833.post-39216930844201382682013-03-26T19:33:46.129-01:002013-03-26T19:33:46.129-01:00Sorry I am afraid I don't know the answer to t...Sorry I am afraid I don't know the answer to that.<br />If you use JSF maybe there is a way to hook somehow that push to an specific resource bundle, or something like that.Djordjehttps://www.blogger.com/profile/05544905610992785433noreply@blogger.comtag:blogger.com,1999:blog-3354935762548909833.post-17251729935617165802013-03-26T01:05:16.908-01:002013-03-26T01:05:16.908-01:00Do you happen to know how a node.js http client ca...Do you happen to know how a node.js http client can receive a prime push event instead of a browser? Thanks.zrrlocohttps://www.blogger.com/profile/06159409270633536580noreply@blogger.com