Hi,

  Actually, Gin is used to implements Ioc Container. It can bind everything
not only event Listener.

  Guice or Spring can do that naturally, but because GWT can not support
Java reflection, such as forClass("className").getInstance. So Gin use
generic and annotation to do that.

  I have a open source project to do that.  GinModule and GindInjector are
key players for that.
  please check out here, that's a real world project.
    http://openorg.googlecode.com/svn/trunk/magpie

Enjoys,
Sammi


On Fri, Oct 24, 2008 at 3:39 AM, Thomas Broyer <[EMAIL PROTECTED]> wrote:

>
>
> On 23 oct, 19:09, "yunhui song" <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> >    I have used Guice and Gin to implements MVC framework(like backend
> spring
> > framework). By this way view(ui), event Listener and data
> > access(xmlHttpReqeust wrapped by REST-GWT) can be seperated by three
> layers.
> >
> >    Gin module used to initialize and couple all the instance used in the
> GWT
> > module. It's a typicall Ioc container. I found it is rocking by this way
> in
> > my project.
>
> I'm curious how you're binding event listeners using Gin.
> Would you mind sharing some code?
> >
>


-- 
Sammi
http://code.google.com/p/openorg

--~--~---------~--~----~------------~-------~--~----~
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