Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46

MysoreMuleSoftMeetup 564 views 25 slides Jun 01, 2024
Slide 1
Slide 1 of 25
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25

About This Presentation

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46

Event Link:-
https://meetups.mulesoft.com/events/details/mulesoft-mysore-presents-exploring-gemini-ai-and-integration-with-mulesoft/

Agenda
● Java 17 Upgrade Overview
● Why and by when do customers need to upgrade to Java 17?
● Is ...


Slide Content

Mysore/Patna MuleSoft Meetup 01-June-2024 MuleSoft 4.6 and Java 17 Upgrade  💡

Organizers Shubham Chaurasia Billennium India Integration Developer Giridhar Meka Sr. Technical Architect linkedin .com/in/giridharmeka linkedin.com/in/ shubhamchaurasia1 Priya Shaw LTI MindTree Sr. Software Specialist linkedin.com/in/ priya -shaw Shyam Raj Prasad Tricon Infotech Engineering Leader linkedin.com/in/ shyam -raj-prasad

Speakers O ne of the Y oungest M uleSoft A mbassdor P rofessional I ntegration D eveloper in B illennium I ndia 4 + years of E xperience in I ntegrations M CIA, M CD L1, M CPA, M CIA, M CHS C ertified, S alesforce, A WS, G CP, A zure, W orkato C ertified M ulesoft M eetup L eader | M entor | B logger | S peaker A WS C ommunity B uilder https://www.linkedin.com/in/shubhamchaurasia1/ https://medium.com/@myid535 Shubham Chaurasia

Speakers MuleSoft Ambassador 2024 Sr. Software Specialist Working in LTIMindTree 5+ Years of Experience MuleSoft Certified IBM Certified PRIYA SHAW

AGENDA ● Java 17 Upgrade Overview ● Why and by when do customers need to upgrade to Java 17? ● Is there any immediate impact to upgrading to Mule Runtime 4.6 and beyond? ● Which MuleSoft products are in scope? ● Demo ● Q&A ● Quiz

MuleSoft is adopting Java’s long-term-support (LTS) release, beginning with the Mule Runtime 4.6 which will add support for Java 17 LTS Mule 4.6 & Java 17 Upgrade

New Runtime Release Cadence MuleSoft is transitioning from a provisional release cycle to a regular release cadence of three times each year (Winter, Spring, Summer) that aligns with the Salesforce release cycle. Beginning with the 4.5.0 release on October 3, 2023, two new release channels, Long-Term Support (LTS) and Edge have been introduced. LTS versions are focused on providing longer application maintenance periods, and once released, these versions will receive regular patches for security vulnerabilities and critical issues. Edge release channel is dedicated to enabling faster innovation. New features will be released more frequently through the Edge channel. Edge releases will also receive regular patches for security vulnerabilities and critical issues.

Edge and LTS releases for Mule Channel Type Release Cadence Recommended Customer Profile Support Coverage Differentiators Edge Three times per year: February June October CloudHub and On-premises 4 months of Standard Support 4 months of Extended Support Includes features on a frequent release cadence with shorter maintenance coverage. LTS Annual: February On-premises 12 months of Standard Support 12 months of Extended Support Includes new features introduced in the previous February Edge release.

V ersioning Schema For Cloudhub 1.0, Cloudhub 2.0 and RTF- Major[numeric] Minor[numeric] Patch[numeric]: Build[numeric] Channel[e for edge, nothing for LTS] Each February, MuleSoft releases both an Edge and an LTS release with the same Major. Minor version. To distinguish the versions, they are represented as: Edge: 4.6.0:le LTS: 4.6.0:1 For Standalone(On Premises ) - The Mule runtime versioning changes from date-based, for example, 4.4.0-20230317 to semantic versioning as: Major. Minor.Patch 4.5.1 4.5.2

Auto-upgrading Beginning with Mule Runtime 4.5, MuleSoft will auto-upgrade apps across minor releases in CloudHub , which will allow applications to always be on the latest and standard supported version of Mule Runtime, keeping you at the forefront of innovation and security.

Java 17 support Industry is moving away from Java 8 and inaction will lead to compliance and security risks along with the lack of supportability. Upgrade from a legacy Java version (8) to a secure Java version (17). Feature updates for Java 8 have already expired in 2022 (Security Support is expiring in 2026) Key libraries e.g. Spring, Graphql which are part of mule stack are dropping Java 8 support Studio is based on the Eclipse IDE and the latest version(4.28) requires JAVA 17 .

Java 17 Performance Considerations Java 17 provides important performance changes to MuleSoft products: New JIT compiler Java 17 includes a new JIT compiler, which improves code execution speed. Memory Management Java 17 reduces request latency and executes work more predictably. To achieve this, it adopts a different memory management approach. Although highly dependent on each application, in some cases, Java 17 preferentially commits to heap memory. Default TLS Cipher Selection When using TLS in a server with Java 11 and later, the server determines the default TLS cipher selection. Upgrading your server to Java 17 may cause cipher renegotiation (depending on the supported ciphers list of the client), which can affect the trade-off between security and performance.

Anypoint Connectors and Modules Anypoint Connectors and modules are certified by MuleSoft to run on Java 17. The most commonly used Anypoint Connectors and modules are Java 17-compatible now, and others are being released regularly. 4.6 GA - Feb 2024 A subset of available connectors will be Java 17 compatible, based on usage/adoption Customers can determine which connectors are Java 17 compatible via product documentation and Anypoint Exchange connector listing End of Q2 2024 Update remaining connectors

Java 17 Compatible Anypoint Connectors Java 17 Compatible Anypoint Connectors (salesforce.com)

Anypoint Studio Anypoint Studio 7.17 now supports Java 17 and Mule Runtime 4.6. Users can experience greater IDE stability and performance. MuleSoft has upgraded Studio to use Maven 3.9.6 and Eclipse 4.28, providing tools for Java version management, connector compatibility insights, and real-time guidance for compiling and deployment. With Studio 7.17, you’ll be able to: Select the Java version for your project at any time. Choose the right connectors and assets with Java compatibility information. Resolve compatibility issues proactively during compilation. Deploy more confidently with compatibility checks and deployment tools.

Anypoint Studio Anypoint Studio 7.17 now supports Java 17 and Mule Runtime 4.6. Users can experience greater IDE stability and performance. MuleSoft has upgraded Studio to use Maven 3.9.6 and Eclipse 4.28, providing tools for Java version management, connector compatibility insights, and real-time guidance for compiling and deployment. With Studio 7.17, you’ll be able to: Select the Java version for your project at any time. Choose the right connectors and assets with Java compatibility information. Resolve compatibility issues proactively during compilation. Deploy more confidently with compatibility checks and deployment tools.

Custom connectors Custom connectors are any connectors that are not developed and maintained by MuleSoft, including connectors that are built by MuleSoft partners or customers. If you are using a custom connector in your app, you must update your connector to run on Java 17 and Mule Runtime 4.6 and later. Connector Tooling Mule/Java SDK with Java 17 compatibility REST Connect with Java 17 compatibility Partner Certification Tool with Java 17 compatibility How to update custom connectors Connectors built with Anypoint Studio: Use the Mule Maven Plugin to generate the connector code Connectors built with REST SDK (Beta): Update manually following the Connector upgrade playbook

API Proxies MuleSoft-included API proxies are compatible with Java 17 beginning with the Mule runtime 4.6 release. These API proxies continue to have standard support for Java 8 until February 2025. Custom proxies require updating the underlying extensions and connectors to be Java 17 compatible first. Included proxies include MuleSoft Gateway API proxies (e.g., HTTPS, RAML / OAS). MuleSoft will provide updated versions of these proxies to be Java 17 compatible. Upgrade your API policies before upgrading your API proxies or Mule apps.

Demo

Networking time

Thank You