Priyank,

On 11/22/21 03:13, priyank agarwal wrote:
I am trying to replace javax references to jakarta in my project as per the
Jakarta EE9 standard. The problem is I am unable to find a jakarta
dependency for

javax.portlet:portlet-api

In this jar there is an interface *PortletRequest*, of which I am using the
method

  public javax.servlet.http.Cookie[] getCookies();

So I need a dependency which might have this method as

  public jakarta.servlet.http.Cookie[] getCookies();


Any help/suggestion is appreciated.

It looks like there is no Jakarta EE-compatible version of the portlet APIs, at least not that I can find.

Have you looked at the Apache Tomcat Migration Tool for Jakarta EE?
https://tomcat.apache.org/download-migration.cgi

You should be able to run that on a binary artifact (such as your existing portlet API/implementation) and then use the result to build/run against.

Documentation for that tool pretty much doesn't exist on the web, but download it and look at the README.md file in the top-level directory for some usage information.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to