See this page - http://code.google.com/p/google-gin/. It has links to using gin. Also, you should read about GUICE ( http://code.google.com/p/google-guice/) because GIN borrows ideas heavily from GUICE.
GIN hasn't been officially release as yet, but you can download the code from svn and create the gin.jar. --Sri 2009/9/16 Aju Mathai <[email protected]> > > Hi, > > Thanks , can you point me to some examples using GIN (GWT Injection) , > where the widgets are added using the spring config file. It will help > me understand it. > > Thanks , > mathaj > > On Wed, Sep 16, 2009 at 11:50 PM, charlie <[email protected]> wrote: > > You'll want to use googles GIN, a GUICE version for GWT ( dependency > > injection framework ) > > > > http://code.google.com/p/google-gin/. > > > > > > > > On Wed, Sep 16, 2009 at 12:56 PM, Aju Mathai <[email protected]> > wrote: > >> > >> Forgot to modify the subject in my earlier email. > >> > >> Thanks , > >> mathaj > >> > >> On Wed, Sep 16, 2009 at 11:23 PM, Aju Mathai <[email protected]> > wrote: > >> > Hi, > >> > > >> > I want to know if I can use spring in my GWT code to use the > >> > dependency injection framework? I am not talking about GWT gui > >> > interaction with backend spring app.The reason I am asking is the GWT > >> > code gets compiled to JavaScript and this is what gets executed in > >> > browser. If I am using spring code in that, then would it work or for > >> > that matter any other library like log4j, etc.?By doing this i could > >> > also control the access to components based on the user permissions. > >> > > >> > Or the GUI code have to be pure GWT API only? > >> > > >> > For example, > >> > > >> > public class MyTable { > >> > private Button myButton; > >> > @Autowired > >> > public MyTable(Button aMyButton) { > >> > myButton = aMyButton; > >> > } > >> > } > >> > Can you gimme some pointers whether this can be done . Some sample > >> > code egs will help me. > >> > > >> > >> > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
