Skip to content

Update EE8 to EE9 migration page with confirmed CXF to RESTEasy behaviour differences #8503

Closed

Description

@visakh005hyu

The existing EE8→EE9 migration page at https://openliberty.io/docs/latest/reference/diff/jakarta-ee-diff.html covers several behaviour differences when migrating from jaxrs-2.1 (Apache CXF) to restfulWS-3.0 (RESTEasy). Two additional confirmed differences should be added in the same format as the existing entries.


1. UriInfo.getPath() — leading slash

jaxrs-2.1 behavior
UriInfo.getPath() returns the path of the current request relative to the base URI without a leading slash. For example, for a request to /myapp/resources/test, getPath() returns resources/test. This applies in both root resources and sub-resource locators.

restfulWS-3.0 behavior
UriInfo.getPath() returns the path with a leading slash. For the same request, getPath() returns /resources/test. This applies in both root resources and sub-resource locators.

Activity

  1. visakh005hyu commented on Sep 4, 2026

    @visakh005hyu
    MemberAuthor

    @jantley-ibm Thanks! Could you please remove item 2 from the document, which covers the return value of HttpHeaders.getRequestHeader() for an absent header? We don’t need that anymore.

  2. jantley-ibm commented on Sep 28, 2026

    @jantley-ibm
    Contributor

    @visakh005hyu the page is updated with the removal you requested:
    https://draft-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud/docs/latest/reference/diff/jakarta-ee-diff.html

    The one removed per the most recent PR was the last item in the list, but the fifth item in the list seems like it might also have been the one you meant. Did I get the right one?

    If everything looks OK, please add the "developer reviewed" label to the issue.

  3. visakh005hyu commented on Sep 29, 2026

    @visakh005hyu
    MemberAuthor

    LGTM!

  4. jantley-ibm commented on Sep 29, 2026

    @jantley-ibm
    Contributor

    Thanks! Closing as completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions