-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server: upgrade to Spring 5.1 #1343
Comments
We really only use Spring Web MVC I think, so it's fairly minimal. I'm happy to switch to something else but I imagine that doing would mean effectively reimplementing most of the Server and Workbench applications. |
I’m a fan of spring-boot, but then I don’t have much experience with spring (without boot). Any chance spring-boot 2 could be our direction instead? Or too much to rewrite? |
IMHO the easiest way is to just upgrade to 5.1... Spring Boot is nice, but I'm not sure if it brings much to the table since (at least in my limited experience) it shines with Spring-data and convention-over-code integration with a bunch of other services which we don't use (JPA, messaging...) For new projects I'd be tempted to look into smaller frameworks like micronaut or quarkus, or microprofile.io, but that's probably a more time-consuming task... Just my 2 cents |
Sounds well thought through @barthanssens :) |
Ok, I'll start entering the CQs for Spring 5.x then :-) |
I marked this as not backwards compatible mainly because rdf4j server now requires servlet api 3.1. It means anyone running rdf4j server or workbench on an older servlet container will have to upgrade. Minimal version of Apache Tomcat is now 8. Minimal version of Eclipse Jetty is now 9. |
ah, good catch.... |
Part of #1148
Spring 4.3 is only supported until 2020 or so, and no guarantee that it runs on JDK 9/10/11..
5.1 is recommended for JDK11, and upgrading should (hopefully) be straightforward
(https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Versions)
Not sure if we actually use that much Spring to begin with, or if it is a good idea to continue to use Spring framework ?
Version 5.1.2 in CQ's, but it means that more recent versions like 5.1.7 can also be used
Spring AOP (CQ19986, PB)
Spring Beans (CQ19989, PB)
Spring Context (CQ19990, PB)
Spring Core (CQ19991, PB)
Spring Expression (CQ19992, PB)
Spring Test (CQ19996, PB)
Spring Web (CQ19993, PB)
Spring Web MVC (CQ19994, PB)
Javax Servlet-API 3.1 (CQ20170, PB)
Also upgrade test to use Eclipse Jetty 9 (CQ not required, since it's an Eclipse project)
The text was updated successfully, but these errors were encountered: