D
D
Des_Tes2020-10-27 10:58:34
Spring
Des_Tes, 2020-10-27 10:58:34

Have I chosen the correct configuration for a project using spring?

I'm creating a restfull web-framework on Kotlin as a project, have I chosen the correct settings configuration in spring for it? Or is it not important for the server to cover more devices, or is the jar outdated?

Maven as a builder, because Gradle is not always stable
Packaging: JAR archive, as it is easier to run
JVM: 8 to cover more devices
And also from libraries:
Spring Web, Spring Data JPA, PostgreSQL Driver, Spring Actuator

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-10-27
@azerphoenix

I create restfull web-framework on Kotlin

Choose what you like and what you are best at.
Maven as builder because Gradle is not always stable

Not a fact about the grade. But maven will do.
Packaging: JAR archive because it's easier to run

This depends on your goals. If you need a self-contained application, then jar is fine. When deploying, create an initd service and the application will take off. In the case of WAR, it would be necessary to raise a separate tomcat or something else ...
JVM: 8 to cover more devices

JDK 11 as far as I know is better in this case. Maybe I'm wrong
Spring Web, Spring Data JPA, PostgreSQL Driver, Spring Actuator

Well, here you need to choose what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question