このコンテンツは選択した言語では利用できません。
Chapter 40. Migration from older versions
40.1. Migrating from 1.0.x and 1.1-RC1 リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
You can expect the following changes when you migrate to the latest version of RESTEasy:
- You can now turn on RESTEasy's role-based security (
@RolesAllowed) by using the newresteasy.role.based.security context-param. @Wrappedis now enabled by default for Lists, Arrays, and Sets of JAXB objects. You can also change the namespace and element names with this annotation.@Wrappedis not enclosed in a RESTEasy namespace prefix, and now uses the default namespace instead of thehttp://jboss.org/resteasynamespace.@Wrapped JSONis now enclosed in a simple JSON Array.- Placing the
resteasy-jackson-provider-xxx.jarin your classpath triggers the Jackson JSON provider. This can cause code errors if you had previously been using the Jettison JAXB/JSON providers. To fix this, you must either remove Jackson from yourWEB-INF/libor the classpath, or use the@NoJacksonannotation on your JAXB classes. - The
tjwsandservlet-apiartifacts are now scoped as provided in theresteasy-jardependencies. If you have trouble with Class not found errors, you may need to scope them asprovidedortestin yourpomfiles.Copy to Clipboard Copied! Toggle word wrap Toggle overflow