Question & Answer
Question
What version of Spring Framework and Spring Boot can be used with WebSphere and Liberty application servers?
Answer
WebSphere Application Server traditional 8.5.5 |
WebSphere Application Server traditional 9.0.5 |
WebSphere Application Server Liberty | Open Liberty | |
---|---|---|---|---|
Spring Framework 6.x Spring Boot 3.x |
No | No | Yes | Yes |
Spring Framework 5.x Spring Boot 2.x |
No | Yes | Yes | Yes |
Spring Framework 4.x Spring Boot 1.5 |
Yes | Yes | Yes | Yes |
Spring Framework 6.x and Spring Boot 3.x require an application server supporting Jakarta EE 10 and Java 17. Both WebSphere Liberty, and Open Liberty support these requirements, so they are compatible with these spring versions
- WebSphere Application Server traditional in 8.5.5 and 9.0.5 do NOT support Jakarta EE 10 and Java 17 , so they are NOT compatible with these Spring versions
- Spring Framework 6.x is required by Spring Boot 3.0.
- For WebSphere Liberty and Open Liberty, starting with version 23.0.0.9, the springBoot-3.0 feature is available and recommended for use with these Spring versions
Spring Framework 5.x and Spring Boot 2.x require an application server supporting Java EE 7. WebSphere Application Server traditional in 9.0.5, WebSphere Liberty, and Open Liberty all support a minimum of Java EE 7, so they are compatible with these spring versions
- WebSphere Application Server traditional in 8.5.5 does NOT support Java EE 7 , so it is NOT compatible with these Spring versions
- Spring Framework 5.x is required by Spring Boot 2.0.
- For WebSphere Liberty and Open Liberty, Java EE 7 and Java EE 8 are compatible with these Spring versions, and the springBoot-2.0 feature is recommended for use with these Spring versions
Spring Framework 4.x and Spring Boot 1.5 require an application server supporting Java EE 6. WebSphere Application Server traditional in 8.5.5 and WebSphere Liberty support Java EE 6, so they are compatible with this version of Spring Framework.
Supporting information:
- Spring requirements:
- https://docs.spring.io/spring-framework/reference/overview.html
- https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-5.x#upgrading-to-version-50
- https://docs.spring.io/spring-boot/docs/2.0.x/reference/html/getting-started-system-requirements.html
- https://docs.spring.io/spring-framework/docs/4.0.x/spring-framework-reference/html/new-in-4.0.html#_java_ee_6_and_7
- https://docs.spring.io/spring-boot/docs/1.5.21.RELEASE/reference/html/getting-started-system-requirements.html
- WebSphere Application Server and Liberty APIs and specifications:
- https://www.ibm.com/docs/en/was-nd/8.5.5?topic=overview-specifications-api-documentation
- https://www.ibm.com/docs/en/was-nd/9.0.5?topic=overview-programming-model-apis-specifications
- https://www.ibm.com/docs/en/was-liberty/base?topic=architecture-spring-boot-programming-model-support
- https://www.ibm.com/docs/en/was-liberty/base?topic=management-liberty-features
FAQ:
- Why do some historical releases of Spring Framework 5.x and Spring Boot 2.x appear to work with WebSphere Application Server traditional in 8.5.5 despite requiring Java EE 7?
Questions about system requirements for different levels of Spring software can only be answered by the Spring community. The current documented requirements are Java EE 7, but it is not unusual for a software project to be less tolerant of substitutions as it evolves. For example, later Spring releases with the same system requirements may begin to use API's that were new in Java EE 7.
[{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSAW57","label":"WebSphere Application Server Network Deployment"},"ARM Category":[{"code":"a8m50000000CdEtAAK","label":"WebSphere Application Server traditional-All Platforms-\u003EWebContainer\/Servlet issues"}],"ARM Case Number":"TS010300599","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.0;9.0.0"},{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"ARM Category":[{"code":"a8m0z0000001fH1AAI","label":"WebSphere Application Server traditional-All Platforms-\u003ESPRING BOOT"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"ARM Category":[{"code":"a8m0z0000001fH1AAI","label":"WebSphere Application Server traditional-All Platforms-\u003ESPRING BOOT"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
24 June 2024
UID
ibm16612943