-
1. Re: GWT & Seam 3
pmuir Jun 2, 2010 5:42 AM (in response to hmo)Check out the Errai project which offers CDI integration with GWT.
-
-
3. Re: GWT & Seam 3
cjalmeida Jun 3, 2010 3:27 AM (in response to hmo)I really recommend Vaadin. It's built on top of GWT and can be easily integrated into CDI.
-
4. Re: GWT & Seam 3
as6o Jun 7, 2010 8:08 AM (in response to hmo)Vaadin is great but I can't recommend to use it with CDI. I've been playing with it a bit and it appears that you have to access all CDI components through your application class and it has to be done using the thread local pattern. This doesn't make for a very modular design.
From what I can tell you can't simply sprinkle @Injects throughout Vaadin-based code. I've tried @Injecting UI components instead of newing them but this is awkward at times and appears to run into problems when you get more than a few levels deep.
I definitely could be doing it wrong and I'd be pleased as punch to see an example where @Injection is being done throughout the application instead of just in the Application class.