質問

I’m very new to gwt developing and I would like to know, if it is possible to change client information’s from another client. I would like to do following; Person A adds a new car to a list, this modification should also add automatically to another client (website). Is that possible with gwt? Right now, I’m just having the idea to use a solution with a SQL database. Is there a way to connect two websites? Greet

役に立ちましたか?

解決

There is no way to do that directly from client to client.
You will have to implement it via a backend (not necessarily a SQL Server).
Client A sends the modifications/data to the backend.

In order for Client B to see the update you can rely on two different techniques:

  1. Pull by polling via a Timer (easy to implement)
  2. Push either by Websockets or Comet (check out atmosphere project)
  3. Push via event based service (check out gwteventservice project)
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top