GIN is a DI framework that works with GWT http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f6f13ebc2c59a64e#
The fact that the client code is compiled into JS before execution makes GWT UI's a unique beast. GWT has a lot of Java's functionality but you cant include libraries that haven't been compiled to JS. Trevis On Sep 16, 12:53 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 -~----------~----~----~----~------~----~------~--~---
