Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
GerganaTsakova
Product and Topic Expert
Product and Topic Expert

Craving to deploy your Cloud Foundry applications on Tomcat 10 runtime and make use of the latest and greatest Jakarta EE technologies? Got an app using Spring Boot and had to upgrade it to version 3.x due to Spring Boot 2.x EoL? Version 2.x of SAP BTP Security Services Integration Libraries is no longer sufficient as your applications require version 3.x? 

No more wait and fear! SAP Java Buildpack 2 is here!

 

NOTE:

  • This new major version of SAP Java Buildpack co-exists along with its older counterpart - from now on referred to as  SAP Java Buildpack 1 (SJB 1). 
  • For the time being, you can keep using SJB 1, but we highly recommend that you migrate your Java applications to SJB 2 at your earliest convenience. Deprecation plans for SJB 1 will be announced separately. 

Now, let's take a closer peek at the core features of SAP Java Buildpack 2:

  • The first release provides support for Java 17 (via SapMachine JRE 17). 
  • You can deploy Java applications on Tomcat 10.1.x. It implements Servlet 6.0, JSP 3.1, EL 5.0, WebSocket 2.1, and Authentication 3.0 specifications (the versions required by the Jakarta EE 10 platform).
  • You can use version 3.x of SAP BTP Security Services Integration Libraries. 
  • Our plans are to gradually add support for Java 21 as well as the latest version of the Apache TomEE runtime (adding support for even more Jakarta EE technologies). 

         NOTE: Effective April 4, SAP Java Buildpack 2 now supports Java 21. See release notes.

To use the new buildpack, refer to it in your manifest.yml or mtad.yml file, like this:

 

---
applications:
- name: <APP_NAME>
  buildpacks:
  - sap_java_buildpack_jakarta
  ...

 

Or specify it directly in the cf push command, like this:

 

cf push -f <PATH_TO_APP_MANIFEST> -b sap_java_buildpack_jakarta

 

To learn more, see the official documentation: SAP Java Buildpack 2

11 Comments
Dinu
Contributor

Wonderful news. I suppose JCo is supported with SJB 2. Is it not? 

GerganaTsakova
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @Dinu,

Yes, JCo is supported by SJB 2 - along with Spring Boot 3.x.

andreas_paul
Advisor
Advisor

Hi, how will the SAP Memory Calculator ("V1") be supported?

GerganaTsakova
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @andreas_paul ,

Memory Calculator V1 is not supported by SJB 2 because V1 uses SAP JVM (which is based on Java 8).  SJB 2 does not carry SAP JVM but only SapMachine JRE 17.

Note: Even in SJB 1, Memory Calculator V1 is not the default one, and Memory Calculator v2 is the recommended one. See: Memory Calculator

 

fabianorosa
Participant
0 Kudos

Great news Gergana!

But as SapMachine 21 is already LTS, any plans to support it in the new sap java buildpack? 

Regards,

Fabiano Rosa

GerganaTsakova
Product and Topic Expert
Product and Topic Expert

Hi @fabianorosa,

Yes, we do have SapMachine 21 in our 2024 roadmap for SJB 2.  So stay tuned! 🙂

Best regards, Gergana

Hilmar
Advisor
Advisor

Is the postgresql-jdbc driver again automatically packed with the buildpack?

GerganaTsakova
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @Hilmar,

Yes, PostgreSQL JDBC Driver is packed in the new buildpack - just like in SJB 1.

Best regards, Gergana

MichaelBeining
Participant
0 Kudos

Hi @GerganaTsakova ,

thanks for sharing! We want to upgrade some JAVA CloudFoundry BTP apps, which are currently using TomEE7 with SAP JAVA Buildpack 1.x, to TomEE9. When is the support for TomEE9 in SAP JAVA Buildpack 2.x planned? It would be great if you can give us a hint about the roadmap plans?

Thanks!

Michael 

GerganaTsakova
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @MichaelBeining,

Unfortunately, we cannot provide such information at this point. You can regularly watch the release notes to see when TomEE support will be announced.

Best regards, Gergana

GerganaTsakova
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi everyone! 

A long-awaited update: Effective today, SAP Java Buildpack 2 now supports Java 21. See release notes.