1 2 Previous Next 26 Replies Latest reply on Jun 18, 2014 3:32 AM by heiko.braun Go to original post
      • 15. Re: Errai + GWTP integration
        cedbossneo

        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

          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

            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

              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

                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

                  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

                    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

                      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

                        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

                          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

                            It is a dead project now?

                            No chance to use GWTP 1.2+ with Errai 3.0+ ?

                            • 26. Re: Errai + GWTP integration
                              heiko.braun

                              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.

                              1 2 Previous Next