Remote event listening for GWT - GWTEventService
Google/GWT / 2009. 1. 3. 21:46
GWT 관련된 프로젝트 하나가 또 구글 코드에 공개되었습니다.
GWTEventService 라는 프로젝트로 작년말에 1.0 버전이 릴리즈 되었습니다.
프로젝트 페이지: http://code.google.com/p/gwteventservice/
GWTEventService 는 이벤트 기반의 클라이언트-서버 통신 프레임워크입니다. GWT-RPC 와 Comet 을 이용합니다.
자세한 내용은 아래쪽에...
GWTEventService is an event-based client-server communication framework. It uses GWT-RPC and the Comet / server-push technique. The client side offers a high-level API with opportunities to register listeners to the server like to a GUI component. Events can be added to a context/domain on the server side and the listeners on the client side get informed about the incoming events. The server side is completely independent of the client implementation and is highly configurable. Domains can be defined to decide which events are important for the different contexts.
Advantages
- Encapsulation of the client-server communication
- High-level API with listeners and events
- Only one open connection for event listening
- Reduction of server calls
- Reduction of connection peaks
- Events are returned directly when the event has occurred (instead of polling)
- Events are bundled to reduce server calls
- Based on the GWT-RPC mechanism
- Automatic timeout recognition and handling
- Extensible architecture
원래 Comet 과 GWT 를 이용해서 메신저 비슷한 것을 만들어 보려고 했는데 이런 프레임워크가 나오면 개발이 좀 더
쉬워질 것 같습니다~