Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jersey-dev] Upgrading from Jersey 1.19

Hi Martynas,

you can have a look at chapter 2 of the Jersey documentation. It lists all the modules. So it should be easy for you to update your dependencies:

https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest/modules-and-dependencies.html

Best regards

Christian

Am Mo., 30. März 2020 um 17:47 Uhr schrieb Martynas Jusevičius <martynas@xxxxxxxxxxxxx>:
Hi,

I'm looking into upgrading Jersey from 1.19 to the latest 2.x.

Could you tell me which 2.x Maven dependencies correspond to the
following 1.19 dependencies?

Every Jersey 2.x example I am looking at uses a different set of
dependencies and/or is tailored from Grizzly. I'm using Tomcat as the
server container.

Don't need any of the J2EE stuff, just plain JAX-RS with few custom
injection providers.

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-client</artifactId>
            <version>1.19</version>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-server</artifactId>
            <version>1.19</version>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-servlet</artifactId>
            <version>1.19</version>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey.contribs</groupId>
            <artifactId>jersey-multipart</artifactId>
            <version>1.19</version>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-json</artifactId>
            <version>1.19</version>
        </dependency>

Thanks.

Martynas
_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev


--

Back to the top