Migration guide from version 1.1 to 2.0
Introduction
This guide intends to explain the main differences between the Restlet 1.1 and 2.0 releases and to help you migrate your existing applications.
Summary
The API and extensions where deeply restructured and enhanced as explained earlier, but all 1.1 artifacts where either moved from one package to another or deprecated.
When you upgrade, your existing code will look broken as many imports won’t be resolved. However, simply adjusting the package imports (using the dedicated feature of your IDE, like the “Organize Imports” feature in Eclipse) will fix all those issues. Indeed, the classes themselves have either not changed their API at all or have been properly deprecated.
The next step is to look at each deprecated feature and look in the Javadocs at the preferred alternative in Restlet 2.0.


There are no comments.