-
1. Re: Errai + GWTP integration
nva Jul 3, 2012 7:30 AM (in response to htfv)I second the request. It would be awesome to be able to use the Errai client-side IoC and CDI in connection with GWTP!
I would be very happy to contribute, code and test under the guidance of the Errai team.
-
2. Re: Errai + GWTP integration
amachado Aug 28, 2012 7:38 PM (in response to nva)I'm looking forward to see an example of both great technologies working together.
-
3. Re: Errai + GWTP integration
cedbossneo Oct 4, 2012 4:16 AM (in response to htfv)GWTP is built around GIN so i started a fresh project that follow their ideas with the Errai, Jboss style.
Actually, i've :
- PlaceManager
- MVP Pattern (ui handlers, view, presenter...)
- EventBus that supports LazyLoadEvents
I've just started so the list will grow.
I someone is interrested, i can share the library
-
4. Re: Errai + GWTP integration
htfv Oct 4, 2012 4:38 AM (in response to cedbossneo)I don't think this is a good decision. Yes, GWTP has some GIN-specific code (for example in generators), but actually not that much. Client code uses @Inject annotations, which are handled by Errai. The better way, IMO, would be to move GIN-specific code to a new support module, and write another module for Errai support. The user can then inherit an appropriate module to enable GIN or Errai support.
-
5. Re: Errai + GWTP integration
amachado Oct 4, 2012 6:05 PM (in response to cedbossneo)I'm interested.
Cedric Hauber wrote:
GWTP is built around GIN so i started a fresh project that follow their ideas with the Errai, Jboss style.
Actually, i've :
- PlaceManager
- MVP Pattern (ui handlers, view, presenter...)
- EventBus that supports LazyLoadEvents
I've just started so the list will grow.
I someone is interrested, i can share the library
-
6. Re: Errai + GWTP integration
cedbossneo Oct 5, 2012 5:32 AM (in response to htfv)I've just made a Bitbucket repository:
https://bitbucket.org/cedbossneo/errai-mvp/
I will made some wiki pages when the library become stable.
I'm working on proxies and slots
Aliaksei Lahachou: I know but i want to use Errai technologies, and not just bootstrap gwtp with errai.
-
7. Re: Errai + GWTP integration
cedbossneo Oct 26, 2012 1:54 PM (in response to htfv)Hi,
Finally, for compatibiliy purposes, i've rewritten the rebinding in an Errai IOC Extension so we can use the same classes as before except there is no proxy interface anymore, just an annotation.
I've almost finished. There are some wiki stuff to do and some advanced features to develop.
I finally agree with Aliaksei ;)
-
8. Re: Errai + GWTP integration
heiko.braun Nov 28, 2012 4:57 AM (in response to cedbossneo)Replacing gin with errai in gwtp: Is it actually feasible? Did you guys get some feedback from the gwtp core developers?
-
9. Re: Errai + GWTP integration
cedbossneo Nov 28, 2012 5:00 AM (in response to htfv)Yes, i have done that by creating the library https://bitbucket.org/cedbossneo/errai-mvp
I've been contacted by GWTP developers and for now, they don't have the resources to do this refactoring so i will continue to maintain errai-mvp
-
10. Re: Errai + GWTP integration
heiko.braun Nov 28, 2012 5:05 AM (in response to cedbossneo)yes, I am aware of the project you've created and think that's it looks really promising. but my question was about keeping gwtp and just replacing the IOC parts. As far as I know, you basically re-created the majority of gwtp concepts and tried to retain most of the API. Which IMO might be a resonable way forward.
-
11. Re: Errai + GWTP integration
htfv Nov 28, 2012 5:09 AM (in response to heiko.braun)Yes, there was a short discussion in GWTP group: https://groups.google.com/d/topic/gwt-platform/cKLrHle1vso/discussion. GWTP uses com.google.inject, which is supported by Errai IOC out-of-the-box. It is only needed to abstract the IOC container and make switchable implementations.
-
12. Re: Errai + GWTP integration
cedbossneo Nov 28, 2012 5:15 AM (in response to htfv)Actually, i've copy&past lmost all classes of GWTP project but i must rewrite some of them to support errai-mvp because it doesn't work like GIN. Almost all injection is done at runtime with Errai. When the GWTP refactoring that allows multiple injection engine. I will create a module to support errai just by replacing gin library by errai but they don't have the resources to do this refactoring for now.
See: https://groups.google.com/d/topic/gwt-platform/rHiNXJGS0jY/discussion
-
13. Re: Errai + GWTP integration
heiko.braun Nov 28, 2012 5:23 AM (in response to htfv)only needed to abstract the IOC container and make switchable
i guess this "only" isn't a small task.
-
14. Re: Errai + GWTP integration
htfv Nov 28, 2012 5:26 AM (in response to heiko.braun)Not as big as creating and supporting a "fresh" project