Hi Maciej It‘s hard to understand, that there is no tool support for Java migration. Much of the needed information seems to be in Maven POMs, so at least a template could be generated by NetBeans. Kind regards Claus Am 13.03.2025 um 12:18 schrieb Maciej Jaros <mac...@mol.com.pl.invalid>:
This will be a time-consuming process.
NetBeans can help you figure out new versions of libraries in POM
files and will mark out deprecated classes. Other than that it's
just tinkering from my experience. The most time-consuming part
will probably be updating Hibernate and Spring if you use them. If
you want to upgrade to the latest libraries, you will have to go
through the javax → jakarta conversion. Hibernate 5 to 6 is a big
step too because you have to re-write all your DAO to new JPA
Criteria API. Other then using GPT I don't know any tools for that
(GPT is mostly good for that though). If you are lucky you are not
using any discontinued libraries (we had to go through removing
Bobo Facets from our search).
To be honest, even if you have good test coverage, this will
probably take months for a large application. Just figuring out
all the small things that need updating is time-consuming. You
will also need to update to Tomcat 10 to use Jakarta, which might
be a problem for your DevOps/admins (it may require new systems).
If you will choose to hold back Tomcat 9 can be used with javax
and Hibernate 5 still can handel both old and new HB Criteria
APIs. Unfortunately, Spring 5 already has security bugs
(CVE) and will not receive free updates, so the upgrade
from javax to jakarta is inevitable.
Good luck,
Maciej Nux
Claus Lüthje (2025-03-13 10:47):
Hi
I have a Maven-based client/server application, which is written in Java 8.
The client is using JavaFX and communicating with the server using REST calls.
I need to update to a current Java release.
I use NetBeans since Version 7 for different employers.
How can NetBeans help here?
Thanks for your help.
Regards
Claus
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
|