Code Monkey home page Code Monkey logo

Comments (2)

teodord avatar teodord commented on June 9, 2024

The Jakarta Migration does not concern all aspects of our library. It only affects certain features that make use of Java APIs which are part of the Jakarta Migration project.

These APIs that we use and are subject to the migration are:

  • servlets
  • EJBQL query executer
  • HQL query executer (Hibernate)

In order to support these features in both flavours going forward: Java EE (deprecated) vs Jakarta EE (new), we had to take these features out of the core library and implement them twice. This is why we now have new artifacts such as:

  • jasperreports-servlets.jar (jakarta)
  • jasperreports-serverts-j2ee (deprecated)
  • jasperreports-ejbql.jar (jakarta)
  • jasperreports-ejbql-j2ee.jar (deprecated)
  • jasperreports-hibernate.jar (jakarta)
  • jasperreports-hibernate-j2ee.jar (deprecated)

Because the Jakarta migration of these features required us to take them out of the core library, we took the opportunity and further split the library into a core and several other optional artifacts that provide specific features and require certain third-party dependencies.
This split into multiple modules helps with dependency management as each feature brings its own mandatory dependencies and users would be able to select only the features they need in their applications.

Separating features into optional modules also required us to change some of the package names and we'll soon provide a list of API changes that have been performed with this occasion.

What I am saying is that you should expect API changes when you upgrade to JasperReports version 7 and you should change your code to adapt to these. Most of the changes are about package names and method names that lost some suffix which was a reminiscence of past refactorings in the project's long history.

The biggest change however is the breakage of the JRXML backward compatibility. We adopted Jackson XML as loader/writer of our report template file format (.jrxml files) and external style template file format (.jrtx files).
Converting these files to the new format can be performed with Jaspersoft Studio, but this will only be available in the upcoming 7.0.0 release of the designer tool which is currently in preparation.

Release 7.0.0 snapshot artifacts are now available on our public repository at:
https://jaspersoft.jfrog.io/artifactory/jr-ce-snapshots/

I hope this helps.
Teodor

from jasperreports.

jdalcin avatar jdalcin commented on June 9, 2024

from jasperreports.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.