You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Jürgen Weber <we...@gmail.com> on 2024/05/27 07:58:59 UTC

Time To Move To Jakarta EE

Hi jspwiki users,

time is up for javax.

The last javax Tomcat 9 is 89 minor versions old.

Wildfly 26 was the last to support javax. Current is 32.

JSPWiki should move on to Jakarta EE.

Let's sed javax to jakarta and release.

Support of Jakarta EE 9
https://issues.apache.org/jira/browse/JSPWIKI-1170

Cheers,
Juergen

Re: Time To Move To Jakarta EE

Posted by Jürgen Weber <we...@gmail.com>.
Hi Juan,

I tested the jakarta move with another (much smaller) project.

Using the eclipse transformer worked quite well:

java -jar  ../transformer/org.eclipse.transformer.cli/target/org.eclipse.transformer.cli-0.6.0-SNAPSHOT.jar
 src/ src-new

Then compare and merge in Eclipse the src and src-new folders.

Cheers,
Juergen

Am Mi., 29. Mai 2024 um 16:08 Uhr schrieb Jürgen Weber <we...@gmail.com>:
>
> Hi Juan,
>
> > As this would be a major release (JSPWiki 3.0.0)
>
> No need to frighten people, 2.13.0 should be enough. Does the move to
> Jakarta make incompatible API changes to the wiki api?
> Also, there was already an attempt for 3.0 in 2011
> https://lists.apache.org/thread/so2g0bsz8tlcmtdnfs9sgkt9ro7stwb3
> So wouldn't the next major version be at 4 ?
>
> > JDK requirement to 17 as well?
>
> Tomcat, Openliberty and JBoss EAP 8 are fine with 17, I hope all
> applications do, too.
>
> Cheers,
> Juergen
>
> Am Di., 28. Mai 2024 um 21:49 Uhr schrieb Juan Pablo Santos Rodríguez
> <ju...@gmail.com>:
> >
> > Hi Jürgen!
> >
> > I wholeheartedly agree :-) As this would be a major release (JSPWiki
> > 3.0.0), perhaps we should follow the path of other oss projects and
> > lift the JDK requirement to 17 as well?
> >
> >
> > best regards,
> > juan pablo
> >
> > On Mon, May 27, 2024 at 10:00 AM Jürgen Weber <we...@gmail.com> wrote:
> > >
> > > Hi jspwiki users,
> > >
> > > time is up for javax.
> > >
> > > The last javax Tomcat 9 is 89 minor versions old.
> > >
> > > Wildfly 26 was the last to support javax. Current is 32.
> > >
> > > JSPWiki should move on to Jakarta EE.
> > >
> > > Let's sed javax to jakarta and release.
> > >
> > > Support of Jakarta EE 9
> > > https://issues.apache.org/jira/browse/JSPWIKI-1170
> > >
> > > Cheers,
> > > Juergen

Re: Time To Move To Jakarta EE

Posted by Ulf Dittmer <ul...@googlemail.com.INVALID>.
On Thu, May 30, 2024 at 11:12 PM Juan Pablo Santos Rodríguez <
juanpablo.santos@gmail.com> wrote:

> In any case, going to JDK-17 and requiring a new major version of
> Tomcat, or whichever, would be a stronger reason to name it 3.0. I
> remember the attempt at 3.0, but given the amount of time that has
> passed I think it would be ok to stick with it. At least, I'd find
> weird the change from 2.12 to 4.0 out of the blue.


For a breaking change (or two), the major version should definitely be
increased IMO. I second that 4.0 might be confusing, as there never was a
3.0.

Looking at the Jira, there are a number of tickets scheduled for 3.0 that
seem to be rather old and not actively being worked on AFAICT. Maybe some
of those should be moved to 3.1 in order to get 3.0 out the door?

Re: Time To Move To Jakarta EE

Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi!

IIRC, there's one default method on the public API (Engine?) that
relies on javax.servlet. Not that it would break any existing plugin
or filter, but it's part of the public API anyway. And maybe from the
Session you could grab the http session as well, I'd have to look to
be sure. Regarding the migration, it shouldn't be much more than
changing imports, but we'll see when we are there

In any case, going to JDK-17 and requiring a new major version of
Tomcat, or whichever, would be a stronger reason to name it 3.0. I
remember the attempt at 3.0, but given the amount of time that has
passed I think it would be ok to stick with it. At least, I'd find
weird the change from 2.12 to 4.0 out of the blue.


cheers,
juan pablo

On Thu, May 30, 2024 at 6:27 PM Foster Schucker <Fo...@schucker.org> wrote:
>
> I've been a JSP Wiki user since the early days.  I'd also suggest going
> to 3.0 or 4.0 for a change like this.
>
> /Tomcat, Openliberty and JBoss EAP 8 are fine with 17, I hope all
> applications do, too.///
> My office has a sign "Hope is not an engineering strategy"  :-)
>
> Thanks!
> Foster
>
>
>

Re: Time To Move To Jakarta EE

Posted by Foster Schucker <Fo...@Schucker.org>.
I've been a JSP Wiki user since the early days.  I'd also suggest going 
to 3.0 or 4.0 for a change like this.

/Tomcat, Openliberty and JBoss EAP 8 are fine with 17, I hope all 
applications do, too.///
My office has a sign "Hope is not an engineering strategy"  :-)

Thanks!
Foster
  



Re: Time To Move To Jakarta EE

Posted by Jürgen Weber <we...@gmail.com>.
Hi Juan,

> As this would be a major release (JSPWiki 3.0.0)

No need to frighten people, 2.13.0 should be enough. Does the move to
Jakarta make incompatible API changes to the wiki api?
Also, there was already an attempt for 3.0 in 2011
https://lists.apache.org/thread/so2g0bsz8tlcmtdnfs9sgkt9ro7stwb3
So wouldn't the next major version be at 4 ?

> JDK requirement to 17 as well?

Tomcat, Openliberty and JBoss EAP 8 are fine with 17, I hope all
applications do, too.

Cheers,
Juergen

Am Di., 28. Mai 2024 um 21:49 Uhr schrieb Juan Pablo Santos Rodríguez
<ju...@gmail.com>:
>
> Hi Jürgen!
>
> I wholeheartedly agree :-) As this would be a major release (JSPWiki
> 3.0.0), perhaps we should follow the path of other oss projects and
> lift the JDK requirement to 17 as well?
>
>
> best regards,
> juan pablo
>
> On Mon, May 27, 2024 at 10:00 AM Jürgen Weber <we...@gmail.com> wrote:
> >
> > Hi jspwiki users,
> >
> > time is up for javax.
> >
> > The last javax Tomcat 9 is 89 minor versions old.
> >
> > Wildfly 26 was the last to support javax. Current is 32.
> >
> > JSPWiki should move on to Jakarta EE.
> >
> > Let's sed javax to jakarta and release.
> >
> > Support of Jakarta EE 9
> > https://issues.apache.org/jira/browse/JSPWIKI-1170
> >
> > Cheers,
> > Juergen

Re: Time To Move To Jakarta EE

Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi Jürgen!

I wholeheartedly agree :-) As this would be a major release (JSPWiki
3.0.0), perhaps we should follow the path of other oss projects and
lift the JDK requirement to 17 as well?


best regards,
juan pablo

On Mon, May 27, 2024 at 10:00 AM Jürgen Weber <we...@gmail.com> wrote:
>
> Hi jspwiki users,
>
> time is up for javax.
>
> The last javax Tomcat 9 is 89 minor versions old.
>
> Wildfly 26 was the last to support javax. Current is 32.
>
> JSPWiki should move on to Jakarta EE.
>
> Let's sed javax to jakarta and release.
>
> Support of Jakarta EE 9
> https://issues.apache.org/jira/browse/JSPWIKI-1170
>
> Cheers,
> Juergen

Re: Time To Move To Jakarta EE

Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
99.99999% of the good work goes to Jürgen, who did all the hard work.

As for the release, first we should release 2.12.3 (I still got pending
rolling It out), then switch the focus to the jakarta branch, we should aim
to release it soon after 2.12.3.

Cheers,
juan pablo

El lun, 2 jun 2025, 9:06, Schmidt Dietrich
<di...@gevas.de.invalid> escribió:

> Hello,
>
> on the weekend I installed the jspwiki Jakarta variant in Tomcat 11.0.7
> and Wildfly 36.0.1 - besides the small change below it worked fine.
>
> Good work Jürgen and Juan Pablo.
>
> Is a Jakarta JSPWiki Release already planned?
>
> Greetings,
> Dietrich
>
> ===========
> diff --git
> a/jspwiki-main/src/test/java/org/apache/wiki/auth/DefaultUserManagerTest.java
> b/jspwiki-main/src/test/java/org/apache/wiki/auth/DefaultUserManagerTest.java
> index bd80be347..c3c4b5f3f 100644
> ---
> a/jspwiki-main/src/test/java/org/apache/wiki/auth/DefaultUserManagerTest.java
> +++
> b/jspwiki-main/src/test/java/org/apache/wiki/auth/DefaultUserManagerTest.java
> @@ -26,7 +26,7 @@ import org.apache.wiki.auth.user.UserProfile;
>  import org.junit.jupiter.api.Assertions;
>  import org.junit.jupiter.api.Test;
>
> -import javax.servlet.http.HttpServletRequest;
> +import jakarta.servlet.http.HttpServletRequest;
>  import java.util.Properties;
>
>  import static org.mockito.Mockito.mock;
> ===========
>
> -----Original Message-----
> From: Jürgen Weber <we...@gmail.com>
> Sent: Sunday, September 8, 2024 4:44 PM
> To: user@jspwiki.apache.org
> Subject: Re: Time To Move To Jakarta EE
>
> Hi jspwiki users,
>
> JSPWiki comes up on apache-tomcat-10.1.28, now. Page edits, page renames,
> attachement uploads and container based login work.
> Please do test.
>
> See branch link in my comment in
> https://issues.apache.org/jira/browse/JSPWIKI-1170
>
> Cheers,
> Juergen
>
> Am Mo., 27. Mai 2024 um 09:58 Uhr schrieb Jürgen Weber <weberjn@gmail.com
> >:
> >
> > Hi jspwiki users,
> >
> > time is up for javax.
> >
> > The last javax Tomcat 9 is 89 minor versions old.
> >
> > Wildfly 26 was the last to support javax. Current is 32.
> >
> > JSPWiki should move on to Jakarta EE.
> >
> > Let's sed javax to jakarta and release.
> >
> > Support of Jakarta EE 9
> > https://issues.apache.org/jira/browse/JSPWIKI-1170
> >
> > Cheers,
> > Juergen
>

RE: Time To Move To Jakarta EE

Posted by Schmidt Dietrich <di...@gevas.de.INVALID>.
Hello,

on the weekend I installed the jspwiki Jakarta variant in Tomcat 11.0.7 
and Wildfly 36.0.1 - besides the small change below it worked fine.

Good work Jürgen and Juan Pablo.

Is a Jakarta JSPWiki Release already planned?

Greetings,
Dietrich

===========
diff --git a/jspwiki-main/src/test/java/org/apache/wiki/auth/DefaultUserManagerTest.java b/jspwiki-main/src/test/java/org/apache/wiki/auth/DefaultUserManagerTest.java
index bd80be347..c3c4b5f3f 100644
--- a/jspwiki-main/src/test/java/org/apache/wiki/auth/DefaultUserManagerTest.java
+++ b/jspwiki-main/src/test/java/org/apache/wiki/auth/DefaultUserManagerTest.java
@@ -26,7 +26,7 @@ import org.apache.wiki.auth.user.UserProfile;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;

-import javax.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletRequest;
 import java.util.Properties;

 import static org.mockito.Mockito.mock;
===========

-----Original Message-----
From: Jürgen Weber <we...@gmail.com> 
Sent: Sunday, September 8, 2024 4:44 PM
To: user@jspwiki.apache.org
Subject: Re: Time To Move To Jakarta EE

Hi jspwiki users,

JSPWiki comes up on apache-tomcat-10.1.28, now. Page edits, page renames, attachement uploads and container based login work.
Please do test.

See branch link in my comment in
https://issues.apache.org/jira/browse/JSPWIKI-1170

Cheers,
Juergen

Am Mo., 27. Mai 2024 um 09:58 Uhr schrieb Jürgen Weber <we...@gmail.com>:
>
> Hi jspwiki users,
>
> time is up for javax.
>
> The last javax Tomcat 9 is 89 minor versions old.
>
> Wildfly 26 was the last to support javax. Current is 32.
>
> JSPWiki should move on to Jakarta EE.
>
> Let's sed javax to jakarta and release.
>
> Support of Jakarta EE 9
> https://issues.apache.org/jira/browse/JSPWIKI-1170
>
> Cheers,
> Juergen

Re: Time To Move To Jakarta EE

Posted by Jürgen Weber <we...@gmail.com>.
Hi jspwiki users,

JSPWiki comes up on apache-tomcat-10.1.28, now. Page edits, page
renames, attachement uploads and container based login work.
Please do test.

See branch link in my comment in
https://issues.apache.org/jira/browse/JSPWIKI-1170

Cheers,
Juergen

Am Mo., 27. Mai 2024 um 09:58 Uhr schrieb Jürgen Weber <we...@gmail.com>:
>
> Hi jspwiki users,
>
> time is up for javax.
>
> The last javax Tomcat 9 is 89 minor versions old.
>
> Wildfly 26 was the last to support javax. Current is 32.
>
> JSPWiki should move on to Jakarta EE.
>
> Let's sed javax to jakarta and release.
>
> Support of Jakarta EE 9
> https://issues.apache.org/jira/browse/JSPWIKI-1170
>
> Cheers,
> Juergen