Home>

Trying to recreate an old web application that is currently running in-house
I'm thinking about building a prototype of a Java web application.
I don't know what version of JDK to choose at that time
Could you please?

I think the composition is as follows.

Framework: SpringBoot2
Database: Oracle 19C
Middleware: Apache-Tomcat
Browser: Chrome or Edge
Java: Stable and relatively new
OS is Windows Server 2016 for both AP server and DB server
Others: This system registers and updates master data, and has no special functions.

  • Answer # 1

    Oracle JDBC Frequently Asked Questions | Oracle Japan's "What is the relationship between Oracle JDBC releases and JDK versions?" Describes the corresponding JDBC and JDK versions for each version of Oracle Database. Only four versions 8,9,10,11 are available in 19.x, and only versions 8 and 11 are still supported.

    Oracel Java is paid for both 8 and 11 (similar to Oracle Database, it is available free of charge for development purposes). Information on each support period can be found below.

    Oracle Java SE Support Roadmap | Oracle Japan

    If you expect to continue the contract even if you become Extended Support, you can use 8 rather than 11 in December 2030, which is later, and about 10 years from now.

    Therefore, if you continue to sign a contract even if you become Extended Support, Java 8 that can be used for another 10 years is good.

  • Answer # 2

    If you say "stable and relatively new", I think it will be JDK 11 LTS.
    If you can wait until September next year, JDK 17 LTS will be released, but since it is an in-house system, it seems that it will not take so much.

    The update provision period (EOL) differs depending on the JDK distribution you use, so please refer to the following article if you like.

    Summary of information sources for OpenJDK and various JDK distributions

    Since it is an in-house system, commercial support will not be required, so at the moment the EOL of Amazon Corretto 11 is long (September 2027) and it is well known, so I think you can rest assured.

  • Answer # 3

    If you say "stable and relatively new," I think it will be the latest LTS, JDK 11 at the moment.
    If you can wait until September next year, the next LTS, JDK 17, will be released, but since it is an in-house system, it seems that it will not take so long.

    Depending on the JDK distribution you use, the update provision period (EOL) etc. will differ, so please refer to the following article if you like.

    Summary of information sources for OpenJDK and various JDK distributions

    Since it is an in-house system, commercial support will not be required, so at the moment the EOL of Amazon Corretto 11 is long (September 2027) and it is well known, so I think you can rest assured.