Have You Tried the MicroProfile Starter Yet?
The SPRING INITIALIZR at https://start.spring.io has been around for a while and is the best way to bootstrap a new Spring Boot application.
So far, there hasn’t been a similar way to bootstrap a new MicroProfile project even if the different vendors have provided starters for their implementations. But the wait is over! The MicroProfile Starter is currently in “Beta”, but works like a charm. Just navigate to https://start.microprofile.io and start generating.
Based on which version of MicroProfile you select, you will get the available implementations that supports that particular version. You have the option of generating examples for the specifications included in the selected version. This is an excellent way to learn how the different technologies work.
Published on Java Code Geeks with permission by Ivar Grimstad, partner at our JCG program. See the original article here: Have You Tried the MicroProfile Starter Yet? Opinions expressed by Java Code Geeks contributors are their own. |
I find that if you walk away from sprawling frameworks like Spring, and start with a lightweight web framework, and only add the dependendencies I need, I usually can get about a 40% win even over this. Heck even using Kotlin, with it’s additional needs, I am usually able to shave a good 30% off in size and improve performance. There’s just no shortcuts for actually knowing what your app needs and only including that.