Re: synchronized object int GWT
You might want to consider the use of synchronized methods when dealing with async rpcs request. The blog post linked below shows one use case involving synchronized methods http://www.summa-tech.com/blog/2010/11/29/parallel-asynchronous-calls-in-gwt/ http://www.bennorthrop.com/code/gwt-parallel-async/ParentCallback.java On Thursday, May 24, 2012 4:22:28 PM UTC-4, Rand wrote: > > hello all > i am new in GWT ..and i have one question : > dose it enabled to apply the concept od synchronized objects java in > GWT ?? in way that i can synchronize the client and the server ? > > thank -- 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/-/UTZfGv-_L2QJ. 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: synchronized object int GWT
Hello, At the gwt client's ends JavaScript interpretations are single-threaded, so while GWT silently accepts the *synchronized* keyword, it has no real effect. Synchronization-related library methods are not available, including *Object.wait(), **Object.notify(*), and *Object.notifyAll(*) . and the server end you can directly use *synchronized* as you are using in java. thanx, Harshal On Fri, May 25, 2012 at 1:52 AM, Rand wrote: > hello all > i am new in GWT ..and i have one question : > dose it enabled to apply the concept od synchronized objects java in > GWT ?? in way that i can synchronize the client and the server ? > > thank > > -- > 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. > > -- 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.
synchronized object int GWT
hello all i am new in GWT ..and i have one question : dose it enabled to apply the concept od synchronized objects java in GWT ?? in way that i can synchronize the client and the server ? thank -- 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.