You need to adjust some of your code for it to work with SFS2.X.
If you used a language other than Java (or Python, I think) then you'll have to re-write your server extensions in one of those languages. Otherwise, you'll only need to make some small changes for it to work with SFS2.