[Remoting] - P2P Client Callback with streaming
by pat.chang1973
Hi,
We are keen to build a P2P server which allows multiple clients to register to the server. Each client call to the server should evoke a push to zero or many peers, who would have registered to the group chat earlier.
Question 1:
Is it possible to have each clients socket context connection saved in the server so that the server can do a push to the registered clients? I am not too sure if the pull / push callbacks are the right way to go forward. The "Mina" framework offers this feature, if I can remember right.
Question 2:
Will the client push from the server work for clients behind NAT firewall.
Question 3:
Secondly, we would also like to utilize the streaming feature to distribute documents among peers. Can the similar solution be used for streaming documents among group
Kindly advice,
Pat
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132930#4132930
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132930
17 years, 7 months
[JBoss Portal] - Re: How can I to include JavaScript files in Portlets to JBo
by swisst
Yeah, linking to a specific theme sounds like a bad idea as well!
I guess my point is that I have always treated each portlet as a unique entity, so the thought of one portlet being in charge of loading all of the JS for other portlets just feels really wrong.
For example, we use some JS libraries in our application, almost every portlet uses them, and they include the files in their jsp. We have taken the position that each portlet should be able to stand on its own, and we don't want to write a bunch of framework code to handle duplicate js files.
I guess that is an interesting question though, we better be sure that the JS namespace is not polluted with multiple functions of the same name. Additionally, different versions of the same library could cause issues as well. Even though our portlets stand on their own, the end javascript is all mingled together and processed by the browser. Maybe that's the reason for the JBoss javascript injection code!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132929#4132929
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132929
17 years, 7 months