문제

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