Re: GWT Chat applications
I have created chat app using Gwt, Rpc call to store and retrieve, backend I have used objectify and Google App engine, App link : http://my-health-care.appspot.com/Chat.html , works well and good :) Thanks, Suresh On Monday, September 30, 2013 8:37:54 PM UTC+5:30, Timothy Spear wrote: I used get-eventservice to build a custom solution. Requirements were for system to client and client to client messaging. Uses one of the two RPC connections most browsers allow JS. So far working well. Tim On Sep 30, 2013, at 11:03 AM, David Levesque dlev...@primalogik.comjavascript: wrote: I have built a chat front-end using GWT, Strophe.jshttp://strophe.im/strophejs/and gwt-strophe https://launchpad.net/gwt-strophe (bindings for GWT). Strophe simulates persistent XMPP connections through BOSHhttp://en.wikipedia.org/wiki/BOSH. For the server I used Tigase http://www.tigase.org/, but it should work with any XMPP complient server. There are many good open source chat servers that allow you to write custom plugins in java (e.g. for authentication and integration with your back-end). Openfirehttp://www.igniterealtime.org/projects/openfire/is a popular one. The advantage of having a separate chat server is that it removes a lot of load (and at lot of long lived connections) from your servlet container. The drawback is that it makes integration with your webapp harder, because you have to write plugins to talk to your backend. But imo it scales better, especially if you're going to have hundreds or thousands of simultaneous chat users. Basically my GWT app uses GWT-RPC to talk to Tomcat, but the chat stuff does not go to Tomcat. It goes to the standalone Tigase server living on the same machine. All traffic go through port 80 (or 443) and it is routed to either Tomcat or Tigase using reverse proxy rules in Apache Web server. Unfortunately I can't show you the code or point you to a live example because it was developped for a company I worked for (closed source) and the application is not open to public. -- David On Wednesday, December 9, 2009 7:13:16 AM UTC-5, abhiram wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. To post to this group, send email to google-we...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT Chat applications
I have built a chat front-end using GWT, Strophe.jshttp://strophe.im/strophejs/and gwt-strophe https://launchpad.net/gwt-strophe (bindings for GWT). Strophe simulates persistent XMPP connections through BOSHhttp://en.wikipedia.org/wiki/BOSH. For the server I used Tigase http://www.tigase.org/, but it should work with any XMPP complient server. There are many good open source chat servers that allow you to write custom plugins in java (e.g. for authentication and integration with your back-end). Openfirehttp://www.igniterealtime.org/projects/openfire/is a popular one. The advantage of having a separate chat server is that it removes a lot of load (and at lot of long lived connections) from your servlet container. The drawback is that it makes integration with your webapp harder, because you have to write plugins to talk to your backend. But imo it scales better, especially if you're going to have hundreds or thousands of simultaneous chat users. Basically my GWT app uses GWT-RPC to talk to Tomcat, but the chat stuff does not go to Tomcat. It goes to the standalone Tigase server living on the same machine. All traffic go through port 80 (or 443) and it is routed to either Tomcat or Tigase using reverse proxy rules in Apache Web server. Unfortunately I can't show you the code or point you to a live example because it was developped for a company I worked for (closed source) and the application is not open to public. -- David On Wednesday, December 9, 2009 7:13:16 AM UTC-5, abhiram wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT Chat applications
I used get-eventservice to build a custom solution. Requirements were for system to client and client to client messaging. Uses one of the two RPC connections most browsers allow JS. So far working well. Tim On Sep 30, 2013, at 11:03 AM, David Levesque dleves...@primalogik.com wrote: I have built a chat front-end using GWT, Strophe.js and gwt-strophe (bindings for GWT). Strophe simulates persistent XMPP connections through BOSH. For the server I used Tigase, but it should work with any XMPP complient server. There are many good open source chat servers that allow you to write custom plugins in java (e.g. for authentication and integration with your back-end). Openfire is a popular one. The advantage of having a separate chat server is that it removes a lot of load (and at lot of long lived connections) from your servlet container. The drawback is that it makes integration with your webapp harder, because you have to write plugins to talk to your backend. But imo it scales better, especially if you're going to have hundreds or thousands of simultaneous chat users. Basically my GWT app uses GWT-RPC to talk to Tomcat, but the chat stuff does not go to Tomcat. It goes to the standalone Tigase server living on the same machine. All traffic go through port 80 (or 443) and it is routed to either Tomcat or Tigase using reverse proxy rules in Apache Web server. Unfortunately I can't show you the code or point you to a live example because it was developped for a company I worked for (closed source) and the application is not open to public. -- David On Wednesday, December 9, 2009 7:13:16 AM UTC-5, abhiram wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT Chat applications
I have created chat app using Gwt, Rpc call to store and retrieve, backend I used objectify and Google App engine, App link : http://my-health-care.appspot.com/Chat.html , works well and good :) Thanks, Suresh On Wednesday, December 9, 2009 5:43:16 PM UTC+5:30, abhiram wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT Chat applications
Maybe you want to go with websockets. Have a look at this example: Chat example http://www.fta.hk/examples/websocket/chat.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT Chat Widget with Jetty
Use GWT on AppEngine with the XMPP. See their example codehttp://code.google.com/appengine/docs/java/xmpp/overview.html . Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JnD3MRb43OMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat Widget with Jetty
For use in Jetty, check out Ignite Realtime's smack. http://www.igniterealtime.org/projects/smack/index.jsp Jamie. On Mar 22, 2:23 pm, Joseph Lust lifeofl...@gmail.com wrote: Use GWT on AppEngine with the XMPP. See their example codehttp://code.google.com/appengine/docs/java/xmpp/overview.html . Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Chat Widget with Jetty
Hi, I want to add a very simple chat window to my GWT web application with Jetty 6 on the server side. Can anybody recommend me a good OS project for that? I checked atmosphere so far but I am sure there are many others. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XJIU80LosuQJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT- chat
There's a complete Chat implementation library using xmpp as protocol at: emite.googlecode.com You can use only the library or the complete UI implementation. Maybe it helps On Oct 4, 5:44 pm, Subhrajyoti Moitra subhrajyo...@gmail.com wrote: http://code.google.com/p/atmosphere-gwt-comet/ http://code.google.com/p/atmosphere-gwt-comet/Here one more for the same purpose. On Mon, Oct 4, 2010 at 9:00 PM, andy stevko andy.ste...@gmail.com wrote: Hello Yudji, I believe you are referring to the application model call Comet http://en.wikipedia.org/wiki/Comet_(programming)http://en.wikipedia.org/wiki/Comet_%28programming%29 There is a Comet implementation for the Google Web Toolkit http://code.google.com/p/gwt-comet/ On Sun, Oct 3, 2010 at 6:48 PM, Yudji guilhermeyu...@hotmail.com wrote: I have created a simple client/server app that does nothing but sends a string from client to server. Now I would like to expand it so the server can send messages to all clients. How can this be done? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT- chat
I have created a simple client/server app that does nothing but sends a string from client to server. Now I would like to expand it so the server can send messages to all clients. How can this be done? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT- chat
I have created a simple client/server app that does nothing but sends a string from client to server. Now I would like to expand it so the server can send messages to all clients. How can this be done? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT- chat
Hello Yudji, I believe you are referring to the application model call Comet http://en.wikipedia.org/wiki/Comet_(programming)http://en.wikipedia.org/wiki/Comet_%28programming%29 There is a Comet implementation for the Google Web Toolkit http://code.google.com/p/gwt-comet/ On Sun, Oct 3, 2010 at 6:48 PM, Yudji guilhermeyu...@hotmail.com wrote: I have created a simple client/server app that does nothing but sends a string from client to server. Now I would like to expand it so the server can send messages to all clients. How can this be done? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT- chat
http://code.google.com/p/atmosphere-gwt-comet/ http://code.google.com/p/atmosphere-gwt-comet/Here one more for the same purpose. On Mon, Oct 4, 2010 at 9:00 PM, andy stevko andy.ste...@gmail.com wrote: Hello Yudji, I believe you are referring to the application model call Comet http://en.wikipedia.org/wiki/Comet_(programming)http://en.wikipedia.org/wiki/Comet_%28programming%29 There is a Comet implementation for the Google Web Toolkit http://code.google.com/p/gwt-comet/ On Sun, Oct 3, 2010 at 6:48 PM, Yudji guilhermeyu...@hotmail.com wrote: I have created a simple client/server app that does nothing but sends a string from client to server. Now I would like to expand it so the server can send messages to all clients. How can this be done? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
My project gwt-comet implements Comet by streaming messages over long lived HTTP requests to minimise latency and bandwidth requirements and maximise the throughput. This is opposed to many other implementations which use polling or long polling techniques. http://code.google.com/p/gwt-comet/ On Dec 9 2009, 10:13 pm, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using thecomet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
Hi jim, Thanks for that hint. Well, are u getting the messages from the database? I mean there shud be a place from where the messages intended for a client shud be picked up right? So, have u kept the messages in the databse? And are u able to support multiple chat windows for a single user who is chatting with many people? Regards, Abhiram On Wed, Dec 9, 2009 at 10:10 PM, Jim jimmy.verhee...@gmail.com wrote: hi, I've implemented a gwt Chat the link http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ helps me. From client, i do an rpc call -- server-side, i'm waiting for event (using a timer) for the client : -- if i got an event for the client, i return to the client, and i do again the rpc call. -- if no events after 40 sec, i return to the client and says to the client No events!, and i do again the rpc call. On Dec 9, 1:13 pm, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
No i don't use database, Server side, i've got - an static hashmapidUser,usermodel with all users online. ( add and remove users by connectionEvents received from client) - an static hashmapidUser,Event to know wich events to which client . for example : - on the client, =jim connect-- that sends an eventConnection to server -- add jim_user to the hashmap and return to client - another client; =Abhiram connect-- that sends an eventConnection to server -- add_Abhiram_user to the hashmap, add the events to other users ( hashmapJim_User,Event) so jim_user receive the event and jim_user knows that Abhiram is connected - jim want to says something to all other user -- jim users send a messageEvent to the server ( for all keyset of the hashmapidUser,Event ) ... . - jim want to speak with Abhiram only) -- send a messageEvent to the server and put only the event for the hashmapAbhiram_user,Event ... sorry for my english ! I'm Frenchman. ;-) On Dec 10, 11:19 am, abhiram wuntakal abhir...@gmail.com wrote: Hi jim, Thanks for that hint. Well, are u getting the messages from the database? I mean there shud be a place from where the messages intended for a client shud be picked up right? So, have u kept the messages in the databse? And are u able to support multiple chat windows for a single user who is chatting with many people? Regards, Abhiram On Wed, Dec 9, 2009 at 10:10 PM, Jim jimmy.verhee...@gmail.com wrote: hi, I've implemented a gwt Chat the link http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ helps me. From client, i do an rpc call -- server-side, i'm waiting for event (using a timer) for the client : -- if i got an event for the client, i return to the client, and i do again the rpc call. -- if no events after 40 sec, i return to the client and says to the client No events!, and i do again the rpc call. On Dec 9, 1:13 pm, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
I would rather use JMS to do this. You have the power to do so. Every client writes to some Queue, and registers himself with a ReplyTo temporary queue. That way the server handles all the messages and sends the message to the appropriate queue where GWT is listening to. On Dec 9, 7:13 am, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
You should check out this example. http://www.gwtapps.com/?page_id=31 Source: http://groups.google.com/group/gwtapps/files It is implementing using hanging async call so if there are no messages, polling time is reduced to 30 seconds. For the server side code there author included example using comet as well. But if you are not going to have many users you can use it without Comet. On Dec 9, 12:13 pm, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Chat applications
Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
I personally would not push the messages from the server, but have the clients polling. The rest is server-side coding. What backend are you targeting? Don't forget that you will have to handle thread-safety issues on the server side. brgds, Papick G. Taboada On 9 Dez., 13:13, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
But, client side polling would make the system slow right? and how to do I decide the frequency of polling? Backend is pure Java with the database interaction thru hibernate. ~ Abhi On Wed, Dec 9, 2009 at 7:18 PM, P.G.Taboada pgtabo...@googlemail.comwrote: I personally would not push the messages from the server, but have the clients polling. The rest is server-side coding. What backend are you targeting? Don't forget that you will have to handle thread-safety issues on the server side. brgds, Papick G. Taboada On 9 Dez., 13:13, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
Slow on what end? Sure, pushing from server would lead to instant message delivery, but I don't think it scales very well. Do you know how may connections you can keep open? You could change the polling rate depending on the load status of the server, just a thought. brgds, Papick On 9 Dez., 14:52, abhiram wuntakal abhir...@gmail.com wrote: But, client side polling would make the system slow right? and how to do I decide the frequency of polling? Backend is pure Java with the database interaction thru hibernate. ~ Abhi On Wed, Dec 9, 2009 at 7:18 PM, P.G.Taboada pgtabo...@googlemail.comwrote: I personally would not push the messages from the server, but have the clients polling. The rest is server-side coding. What backend are you targeting? Don't forget that you will have to handle thread-safety issues on the server side. brgds, Papick G. Taboada On 9 Dez., 13:13, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat applications
hi, I've implemented a gwt Chat the link http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ helps me. From client, i do an rpc call -- server-side, i'm waiting for event (using a timer) for the client : -- if i got an event for the client, i return to the client, and i do again the rpc call. -- if no events after 40 sec, i return to the client and says to the client No events!, and i do again the rpc call. On Dec 9, 1:13 pm, abhiram abhir...@gmail.com wrote: Hi All, Can someone tell me which is the best (and convenient) method to implement a chat application for my web page using GWT? I believed using the comet.jar would be neat but had lot of problem implementin it. Can you please tell me which is the best possible approach? with any working examples / links? ~ Abhiram -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat
I would recommend Comet, with this technology you can push serialized messages from the Server to each registered Client. Here is an other fine project: http://code.google.com/p/gwt-comet-streamhub/ On 15 Nov., 14:01, Jim jimmy.verhee...@gmail.com wrote: hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? Thx a lot -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
Thx ! Have a good day 2009/11/16 gwtfanb0y siegfried.b...@googlemail.com I would recommend Comet, with this technology you can push serialized messages from the Server to each registered Client. Here is an other fine project: http://code.google.com/p/gwt-comet-streamhub/ On 15 Nov., 14:01, Jim jimmy.verhee...@gmail.com wrote: hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? Thx a lot -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
If u are using App Engine, so you can´t open sockets. Pay attention to this. 2009/11/16 Jimmy Verheecke jimmy.verhee...@gmail.com Thx ! Have a good day 2009/11/16 gwtfanb0y siegfried.b...@googlemail.com I would recommend Comet, with this technology you can push serialized messages from the Server to each registered Client. Here is an other fine project: http://code.google.com/p/gwt-comet-streamhub/ On 15 Nov., 14:01, Jim jimmy.verhee...@gmail.com wrote: hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? Thx a lot -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
I've tried to find a solution with App Engine for weeks without any success. Server push is not only useful for Chat. It can be used to inform users of some events coming from the Server. This is issue is referenced at a good place in the issue list: http://code.google.com/p/googleappengine/issues/detail?id=377 If someone is able to find a good solution, I'm interested too. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
Actually you can use socket via Flash or Java Applet. try http://code.google.com/p/gwt-socket/ or the component in GWT Summer of Code http://code.google.com/p/gwt-soc/wiki/SocketsForGWT_Report On Nov 15, 9:01 pm, Jim jimmy.verhee...@gmail.com wrote: hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? Thx a lot -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
Look at this project, i've used it a year ago to build chat (like skype) in gwt, very nice implementation but requires to install XMPP server (free). http://code.google.com/p/emite/ On Nov 15, 3:01 pm, Jim jimmy.verhee...@gmail.com wrote: hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? Thx a lot -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
App Engine supports XMPP On Nov 16, 1:38 pm, Prempena pascal.rempena...@gmail.com wrote: I've tried to find a solution with App Engine for weeks without any success. Server push is not only useful for Chat. It can be used to inform users of some events coming from the Server. This is issue is referenced at a good place in the issue list:http://code.google.com/p/googleappengine/issues/detail?id=377 If someone is able to find a good solution, I'm interested too. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
how can the comet gwt lib keep a live connection On 16 נובמבר, 16:01, Roy roy.smith@googlemail.com wrote: App Engine supports XMPP On Nov 16, 1:38 pm, Prempena pascal.rempena...@gmail.com wrote: I've tried to find a solution with App Engine for weeks without any success. Server push is not only useful for Chat. It can be used to inform users of some events coming from the Server. This is issue is referenced at a good place in the issue list:http://code.google.com/p/googleappengine/issues/detail?id=377 If someone is able to find a good solution, I'm interested too. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
GWT Chat
hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? Thx a lot -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
There's a video on Google IO where the Wave team discuss how they achieved this with long running http. Sorry I can't remember the URL or details. 2009/11/15 Jim jimmy.verhee...@gmail.com hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? Thx a lot -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? I know comet is a technique, not a library. There is also a library called comet? However, if I have to make a chat, I would go for comet/long running http too Bye, Cristiano -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Re: GWT Chat
Here the link to the Comet project http://code.google.com/p/rocket-gwt/wiki/Comet 2009/11/16 Cristiano cristiano.costant...@gmail.com I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? I know comet is a technique, not a library. There is also a library called comet? However, if I have to make a chat, I would go for comet/long running http too Bye, Cristiano -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.