PDA

View Full Version : Upgrade 0.x -> 2.0 ?


canmhz
Oct 11th, 2006, 07:35 AM
I'm upgrading a webapp that is a couple of years old. It uses an old version of Spring MVC. Don't know which version but it is pre 1.0, package structure is com.interface21 not org.springframework.

A couple of questions on this....(and more to come...)

How do I determine what version that old one is?

Where can I get api-docs for versions 0.x? (found only from 1.0 forward on static.springframework.org)

Is there a guide on upgrading from specific versions? (common problems, changes between versions...)

What is the best approach on this upgrade:
0.x -> 1.x -> 2.0
or
0.x -> 2.0

Regards,
Mikael Hertz

rstearns01
Oct 11th, 2006, 09:19 AM
Considering the changes from the interface21 classes >> Spring 1.0.2 >> 1.2.8, you might as well just go to 2.0. The core IoC concepts haven't changed much, so you probably have minimal "invasion".

But what a world you'll be entering! I have this vision of the black-and-white to Technicolor transition in The Wizard Of Oz.

I would treat it as a two separate problems, replacing what you have to the new classes then once that is running, I would look to refactoring in order to use the enhancements that have come along, particularly to bean definitions.

Good Luck!