hilla.dev

132 views
Skip to first unread message

Craig Mitchell

unread,
Mar 14, 2022, 1:07:53 AM3/14/22
to GWT Users
Has anyone tried https://hilla.dev/ ?  It seems like GWT minus most of the bits.  Ie: They give you the model in TypeScript, then it's up to you to do the rest.

Thomas Broyer

unread,
Mar 14, 2022, 6:40:45 AM3/14/22
to GWT Users
I haven't tried it (if only because of Spring) but your description is overly reductive IMO.
Hilla is made of (at least) 3 parts:
  • client-side library of web components (router, form data-binding, data grids, etc.)
  • server-side framework (or only scaffolding?) based on Spring Boot, à la JHipster
  • code generator that takes Java code for your Spring Boot endpoints and generates TypeScript code to call them, and type definitions for direct use with the form data-binding components (the generator actually is itself made of 2 parts: generates an OpenAPI spec from the Spring Boot endpoints, then generates TypeScript from that OpenAPI spec; it doesn't support all of OpenAPI though, as it's tailored for the Hilla backend, wrt authentication for instance).

Craig Mitchell

unread,
Mar 15, 2022, 7:48:29 PM3/15/22
to GWT Users
Guilty, I was being a little over simplistic.  :)

Sometimes I love Springboot, Spring Security, etc, and other times I hate it.  So I can understand your view there.

I guess I saw the Vaadin web components, Lit framework, Spring, etc, all things that you can get standalone.  However, I guess Hilla are packaging them up for you to work nicely together, so probably should be considered part of it.

Reply all
Reply to author
Forward
0 new messages