Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-342

DOC: Explain the difference between the servlets

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • Neutral
    • None
    • 2.1
    • integration

    Description

      Question: Any idea what the difference between: info.magnolia.rest.RestDispatcherServlet and info.magnolia.rest.RestJerseyDispatcherServlet is?

      Answer: RESTEasy and Jersey impls are meant to be on feature parity.
      Magnolia is typically deployed on Tomcat, which has no REST "engine", so we provide RESTEasy OOTB (but you can also provide Jersey instead). Only for certain application servers, could be WebSphere iirc, Jersey was the default REST (JAX-RS) impl, so one could exclude the whole RESTEasy libs and just rely on the ootb REST support.

      See MGNLREST-82: Introduce RestJerseyDispatcherServlet to handle endpoint registration with jersey

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR