Thanks ,
mathaj
On Wed, Sep 16, 2009 at 11:23 PM, Aju Mathai <math...@gmail.com> 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.
>