Comments (2)
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.
from jasperreports.
Related Issues (20)
- Getting "PatchedPdfLibraryUnavailableException" after upgrading to jasperreports-6.20.5/6 HOT 3
- Creating Table Of Contents HOT 1
- Group header/title band taking up at least a page leads to loss of variable values in specific cases. HOT 4
- Unexpected whitespace in group header bands. HOT 4
- Unexpected pagebreak in group header bands HOT 4
- Caching subreport output HOT 1
- About link pointing to non-existing page HOT 2
- Very old version of antlr used HOT 2
- Vulnerable dependency commons-collections HOT 1
- Error in JRXmlLoader after migrating to java 17 and Spring Boot 3 HOT 1
- Internal JSS Console not appearing in JasperSoft Studio 6.21.2 HOT 1
- PDF Export: Stretch - truncation instead of stretch HOT 2
- When will jasperreports.jar(Community Edition) adapt to Jakarta EE specifications rather than Java EE? HOT 1
- Is Jasper-reports are supported on Graalvm native-image feature or any plans to support? HOT 2
- Word-Export : Table cell shading
- Is Jaspersoft Studio Opensource? HOT 8
- Docx Export: Last Page Footer overflow to the next page HOT 3
- JFreeChart vulnerabilities HOT 5
- JaspersoftStudio v7 for testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jasperreports.