sjindal
sjindal

Reputation: 11

Migrating play Framework from 2.2 to 2.5. Its there a short way? Or 2.2-> 2.3 -> 2.4 -> 2.5

We have a play-java webapp. We're planning to migrate to play 2.5.

Is there a shortcut or do we have to go through multistep process.

Upvotes: 1

Views: 533

Answers (3)

Vlad
Vlad

Reputation: 844

Just did that for a Java project. Took me one week of pain and sorrow.

The result? A code full of patches (to make it work with the new dependency injection system) that takes longer to compile and throws random out of memory exceptions if you try to compile it on VMs with less than 1GB of RAM (like the small EC2 instances from AWS).

I miss the lightweight and developer friendly framework that I fell in love with...

Upvotes: 1

asch
asch

Reputation: 1963

I cannot help with 2.2->2.4, since I started with 2.4. There is a lot of API changed in 2.4->2.5. In case you will have issues with 2.4->2.5 look here for practical tips.

Upvotes: 0

vdebergue
vdebergue

Reputation: 2404

I guess you could do 2.2 -> 2.5 in one go but it may be quiet long since a lot of changes were done throughout the versions. Anyway, I would recommend you to read the migration guides to see how much it will impact your application and your code base:

  • 2.2 -> 2.3 : Build and project changes mostly
  • 2.3 -> 2.4 : Big changes with dependency injection
  • 2.4 -> 2.5 : Removes more of the Global stuff in favour of dependency injection

Upvotes: 1

Related Questions