You can use Dagger for GWT dependency injection.

https://github.com/google/dagger/tree/master/gwt

On 7/20/25 18:55, Kerby wrote:

Errai isn’t really like any other GWT framework. From what I know, DominoKit feels closer to GXT. Errai’s big thing is that it lets you use HTML templates directly within GWT, so you’re not tied to a specific UI widget library. Since it’s built on top of GWT, you still get all the GWT features, but with the flexibility to work with plain HTML and CSS.

On top of that, Errai brings dependency injection to the browser, which I haven’t seen in any other GWT-based framework. From what I can tell, it looks like DominoKit might even use Errai under the hood, but I’m not 100% sure on that.



On Friday, July 11, 2025 at 11:29:32 PM UTC+8 Frank Hossfeld wrote:

    I have never used Errai, so I can't help.

    There were always a bunch of frameworks and widget libraries which
    offered an alternative approach to the GWT one - similar to Errai.
    Nowadays I would suggest looking into the DominoKit stack which is
    well maintained. Also Nalu might be an interesting alternative -
    Nalu does not offer a widget library but f.e.  works well with the
    one from DominoKit. And, TBH, I don't think that things like CDI,
    data binding, etc, needs to be provided  necessarily by GWT.

    Kerby schrieb am Mittwoch, 9. Juli 2025 um 10:52:17 UTC+2:

        Hi Dmitrii, were you one of the Errai maintainers?

        I’m hesitant to post on their channels—looks like Errai has
        been abandoned. Sadly, that’s often the fate of open source
        under corporate backing.

        Without Colin or Thomas, GWT might’ve died too.

        For projects using Errai CDI, UI/Data Binding, or HTML
        Templating, this might be a dead end—unless GWT introduces
        similar capabilities, which seems unlikely given its focus on
        admin UIs and reliance on prebuilt widgets. Plus, replicating
        those features would be a massive effort.

        Back to the issue: I just used a classic GWT value change
        handler, initialized it in `@PostConstruct`, and it behaves
        like data binder—probably how it works internally anyway.

        P.S. Errai CDI really gave GWT a reactive feel.



        On Wednesday, July 9, 2025 at 8:15:10 AM UTC+8 Dmitrii
        Tikhomirov wrote:

            On Jul 8, 2025, at 5:08 PM, Craig Mitchell
            <[email protected]> wrote:

            Unfortuntely, I don't think this is a GWT issue, I've
            never seen GWT throw any error like this before.  As far
            as I know, GWT doesn't have the concept of proxies or
            bound models.  Hope you find your issue.

            On Tuesday, 8 July 2025 at 12:08:46 am UTC+10 Kerby wrote:


                I'm getting a `No proxy provider found for bindable
                type` error from Errai for one specific model
                (`Token`), even though:


                * It’s annotated with both `@Bindable` and `@Portable`

                * It’s used with `@Model` and `DataBinder`

                * It's in the same*package*as other models like
                `User`, `Post`, `Comment`, etc.


                What’s strange is: other models work*fine*and I can
                see them in the generated `.errai`
                `BindableProxyLoaderImpl`. But `Token` is*missing
                entirely* from that list — like Errai skipped it
                during codegen.


                I already have `ErraiApp.properties`, proper module
                inheritance, and everything else in place.

                Why would*only one model*get skipped like this?


                Anyone encountered this before?


            --
            You received this message because you are subscribed to
            the Google Groups "GWT Users" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email [email protected].
            To view this discussion
            
visithttps://groups.google.com/d/msgid/google-web-toolkit/fe847138-71f9-4cb3-a9f3-fcac54cb82d0n%40googlegroups.com
            
<https://groups.google.com/d/msgid/google-web-toolkit/fe847138-71f9-4cb3-a9f3-fcac54cb82d0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

            Yes, this is an issue with Red Hat Errai, most likely
            because Errai hasn’t been updated or tested with the
            latest versions of GWT in a very long time.

            To be honest, I don’t even know who could help you, this
            framework has long been unsupported

            You can try opening an issue on the Errai GitHub, but
            there are no guarantees.
            I haven’t been responsible for Errai’s development and
            support for a long time

--
You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/0a5f04c3-c9db-4765-bf40-cfbfc7abd1cfn%40googlegroups.com <https://groups.google.com/d/msgid/google-web-toolkit/0a5f04c3-c9db-4765-bf40-cfbfc7abd1cfn%40googlegroups.com?utm_medium=email&utm_source=footer>.
&#8203;

--
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/a6aa75c2-da96-4f28-9949-73e79953345a%40newsrx.com.

Reply via email to