This topic has not yet been written. The content below is from the topic description.
Chapter 49. Migration from older versions 49.1. Migrating from 2.0.x to 2.1 49.2. Migrating from 1.2.x to 2.0 49.3. Migrating from 1.2.GA to 1.2.1.GA 49.4. Migrating from 1.1 to 1.2 49.1. Migrating from 2.0.x to 2.1 Slf4j is no longer the default logging mechanism for resteasy. Resteasy also no longer ships with SLF4J libraries. Please read the logging section in the Installation and Configuration chapter for more details. The constructor used to instantiate resource and provider classes is now picked based on the requirements of the JAX-RS specification. Specifically, the public constructor with the most arguments is picked. This behavior varies from previous versions where a no-arg constructor is preferred. 49.2. Migrating from 1.2.x to 2.0 TJWS has been forked to fix some bugs. The new groupId is org.jboss.resteasy, the artifactId is tjws. It will match the resteasy distribution version Please check out the JBoss 6 integration. It makes things alot easier if you are deploying in that environment There is a new Filter implementation that is the preferred deployment mechanism. Servlet-based deployments are still supported, but it is suggested you use to using a FilterDispatcher. See documentation for more details. As per required by the spec List or array injection of empty values will return an empty collection or array, not null. I.e. (@QueryParam("name") List param) param will be an empty List. Resteasy 1.2.x and earlier would return null. We have forked TJWS, the servlet container used for embedded testing into the group org.jboss.resteasy, with the artifact id of tjws. You will need to remove these dependencies from your maven builds if you are using any part of the resteasy embebbable server. TJWS has a number of startup/shutdown race conditions we had to fix in order to make unit testing viable. Spring integration compiled against Spring 3.0.3. It may or may not still work with 2.5.6 and lower 49.3. Migrating from 1.2.GA to 1.2.1.GA Methods @Deprecated within 1.2.GA have been removed. This is in the Client Framework and has to do with all references to Apache HTTP Client. You must now create an ClientExecutor if you want to manage your Apache HTTP Client sessions. 49.4. Migrating from 1.1 to 1.2 The resteasy-maven-import artifact has been renamed to resteasy-bom Jettison and Fastinfoset have been broken out of the resteasy-jaxb-provider maven module. You will now need to include resteasy-jettison-provider or resteasy-fastinfoset-provider if you use either of these libraries. The constructors for ClientRequest that have a HttpClient parameter (Apache Http Client 3.1 API) are now deprecated. They will be removed in the final release of 1.2. You must create a Apache hTTP Client Executor and pass it in as a parameter if you want to re-use existing Apache HttpClient sessions or do any special configuration. The same is true for the ProxyFactoyr methods. Apache HttpClient 4.0 support is available if you want to use it. I've had some trouble with it so it is not the default implementation yet for the client framework. It is no longer required to call RegisterBuiltin.register() to initialize the set of providers. Too many users forgot to do this (include myself!). You can turn this off by calling the static method ResteasyProviderFactory.setRegisterBuiltinByDefault(false) The Embedded Container's API has changed to use org.jboss.resteasy.spi.ResteasyDeployment. Please see embedded documentation for more details.