Using Spring Boot/Data with Griffon

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Using Spring Boot/Data with Griffon

Hello everyone,

Some have asked for Spring support in Griffon. There are still a couple of missing features in spring-core that prevent Griffon from using Spring as a "native" DI container however there's a bridge between Spring and Guice.

I've posted an example of a trivial application that configures Spring Boot/Data in order to have local JAP persistence. You can find the code

Note that the spring integration code is not that much. The controller is a simple one too (there's little validation at the moment, other than empty values). Also, the application is written in 100% Java and JavaFX, this is why the model and view code is more verbose than the Groovy alternative.

Happy coding!