-
15. Re: Errai + GWTP integration
cedbossneo Nov 28, 2012 5:27 AM (in response to htfv)Yes, it's a little more complex because GIN is an injection framework that works programmaticly and errai works at runtime. As i said before, there are no more proxies interface needed, no more ginjector or modules to create with errai
-
16. Re: Errai + GWTP integration
cedbossneo Nov 28, 2012 5:33 AM (in response to htfv)I've purposed to the GWTP team to submit a patch that do this refactoring but i think that it's a work that must be done with them
-
17. Re: Errai + GWTP integration
cedbossneo Nov 28, 2012 9:58 AM (in response to htfv)I've just got the "GO" from the GWTP team, so i will deliver a pull request soon to allow gwtp supports of multiple injection frameworks and of course Errai.
-
18. Re: Errai + GWTP integration
jkremser Dec 13, 2012 7:37 AM (in response to cedbossneo)Nice Cedric, I hope it will go well. It may help many projects to migrate fluently from GWTP to Errai or not necessarily migrate but at least to use ErraiBus for async server -> client communication. I would appreciate such a thing a lot.
-
19. Re: Errai + GWTP integration
cedbossneo Dec 13, 2012 8:36 AM (in response to jkremser)Thanks,
Currently, i've not a lot of time to develop so it progress slowly but i hope that i can release a first patch for christmas.
-
20. Re: Errai + GWTP integration
jkremser Dec 14, 2012 11:00 AM (in response to cedbossneo)Cool. Btw. is it possible to turn off the dependecy injection container provided by Errai (Weld) on the client side and use the Weld only on the server side. And on the client side to use still GIN? Another problem is that gwt-dispatch part of GWTP and all those action handlers, but this can be solved by providing its own implementation of dispatch servlet and not use Guice for the instantiation, I guess.
-
21. Re: Errai + GWTP integration
branflake2267 Dec 30, 2012 10:57 AM (in response to cedbossneo)Hi Cedric, I'm one of the GWTP devs and I was just curious how you did with a patch or how things were going?
Brandon
-
22. Re: Errai + GWTP integration
cedbossneo Dec 30, 2012 1:30 PM (in response to branflake2267)Hi Brandon,
I agree that it's more than just a "patch".
I've extracted all gin-dependent class from gwtp-mvp-client to gwtp-clients-common and created two new modules:
gwtp-inject-gin and gwtp-inject-errai.
So to use gin you must add <inherits name='com.gwtplatform.inject.gin.Gin' /> as dependency and for errai, <inherits name='com.gwtplatform.inject.gin.Errai' />
So yes, a lot of files were moved but almost unmodified.
As of now, everythings works as before with gin and i work on the errai injector especially on the rebind part.
It's not so difficult.
-
23. Re: Errai + GWTP integration
branflake2267 Dec 30, 2012 1:42 PM (in response to cedbossneo)Sounds nice. I haven't had time to fully absorb it yet, but I'd like to explore this more. Nice work.
-
24. Re: Errai + GWTP integration
p.galazka Feb 25, 2013 3:44 AM (in response to branflake2267)Hi,
Great work Cedric. How can I help you guys to finally merge it to GWTP master?
Brandon, could you help us with preparing pull request?
-
25. Re: Errai + GWTP integration
djxak Jun 17, 2014 10:59 PM (in response to cedbossneo)It is a dead project now?
No chance to use GWTP 1.2+ with Errai 3.0+ ?
-
26. Re: Errai + GWTP integration
heiko.braun Jun 18, 2014 3:32 AM (in response to djxak)I would think so. As an alternative you could look at http://www.uberfireframework.org/ . It resembles some of the concepts that exists in GWTP, but has more of eclipse RCP notion. But we are currently migrating a GWTP app an it's certainly doable.