You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by John <jt...@mediacombb.net> on 2023/02/08 20:41:03 UTC

Jakarta EE 9

I'm not finding any announcement on a struts2 release resolving the 
jakarta (two years ago) vs javax namespace problem. Is there a target 
date for a resolution?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Jakarta EE 9

Posted by John <jt...@mediacombb.net>.
Scary answer to business users - thanks for the honesty

On 2/12/2023 4:39 AM, Lukasz Lenart wrote:
> śr., 8 lut 2023 o 21:41 John <jt...@mediacombb.net> napisał(a):
>> I'm not finding any announcement on a struts2 release resolving the
>> jakarta (two years ago) vs javax namespace problem. Is there a target
>> date for a resolution?
> I'm still thinking about how to perform such a migration. I initially
> thought to make the Core of Struts JavaX independent, yet this
> requires introducing an additional abstraction layer to be backed
> either by JavaX or Jakarta - this is a lot of work and some parts of
> the code are strictly additive to JavaX which makes it almost
> impossible to port.
>
> Right now I'm more up to switching into JDK11 and Jakarta in Strus 7.x
> and leaving Struts 6.x as is - JDK8 & JavaX.
>
> Still there are some major issues to resolve:
> - file-upload support, since Servlet API 3.1 it's possible to use
> @MultipartConfig on servlets bun not on filters (Struts uses filters),
> Commons Fileupload isn't released yet ->
> https://issues.apache.org/jira/browse/FILEUPLOAD-309
> - the Apache Tiles project has been retired, we copied all the sources
> into the Struts Tiles plugin to keep it going, yet it will need
> changes when switching to Jakarta namespace
> https://github.com/apache/struts/pull/608
>
> and there are probably other unwinded problems yet :)
>
>
> Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Jakarta EE 9

Posted by Lukasz Lenart <lu...@apache.org>.
śr., 8 lut 2023 o 21:41 John <jt...@mediacombb.net> napisał(a):
> I'm not finding any announcement on a struts2 release resolving the
> jakarta (two years ago) vs javax namespace problem. Is there a target
> date for a resolution?

I'm still thinking about how to perform such a migration. I initially
thought to make the Core of Struts JavaX independent, yet this
requires introducing an additional abstraction layer to be backed
either by JavaX or Jakarta - this is a lot of work and some parts of
the code are strictly additive to JavaX which makes it almost
impossible to port.

Right now I'm more up to switching into JDK11 and Jakarta in Strus 7.x
and leaving Struts 6.x as is - JDK8 & JavaX.

Still there are some major issues to resolve:
- file-upload support, since Servlet API 3.1 it's possible to use
@MultipartConfig on servlets bun not on filters (Struts uses filters),
Commons Fileupload isn't released yet ->
https://issues.apache.org/jira/browse/FILEUPLOAD-309
- the Apache Tiles project has been retired, we copied all the sources
into the Struts Tiles plugin to keep it going, yet it will need
changes when switching to Jakarta namespace
https://github.com/apache/struts/pull/608

and there are probably other unwinded problems yet :)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org