Server Push?
check gwteventservice project, it has a Comet Servlet in order to keep the
client and server connected.

On Wed, Mar 24, 2010 at 9:27 AM, piXi <[email protected]> wrote:

> 1. I need this thread at server side not client.
> 2. I'm allready using RPC interface async etc.
> 3. But I dont know what is proper way to start socket server at Server
> side.
>    Via Modulu or something like that
>
> On 23 mar., 18:05, "[email protected]" <[email protected]> wrote:
> > I think you need to review GWT and the official tutorials.
> > 1. You cannot use threads on the clientside as javascript is single
> > threaded.
> > 2. Review the RPC mechanism in GWT as it requires a service interface,
> > an asynchronous interface, a servlet implementing the service, and
> > some client code to create and bind the service.
> >
> > On Mar 23, 10:04 am, piXi <[email protected]> wrote:
> >
> > > Hellow,
> >
> > > I'm trying to develop an aplication with GWT.
> > > And have came across with a problem, but first what I wish to
> > > develop.
> >
> > > And GWT application that will server user data, data will be get over
> > > RPC and hibernate.
> > > Now I need thread that will start up socket server and listen incoming
> > > connection from so called agents.
> >
> > > Do I need to create new module or ?
> >
> > > One solution that works but its not nice solution is :
> >
> > > at EntryPoint in constructor I create a singletone and start the
> > > Thread.  Next time page is loaded I just return.
> > > Instance to singleton.
> >
> > > I have tested and it works.
> >
> > > But i do not like getInstance call every time page will refresh.
> >
> > > From tutorials GWT looks very nice, but  I know that I still need much
> > > of understanding GWT.
> >
> > > Best regards Primoz
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to