Results 1 to 2 of 2

Thread: NEWBIE: Upgrading from Spring 1.9

  1. #1
    Join Date
    Mar 2013
    Posts
    1

    Question NEWBIE: Upgrading from Spring 1.9

    I'm a Spring newbie so if this is wrong forum let me know. I've inherited a java web app that is about 12 years old. It is a propietary 'framework'. At some point Spring 1.9 was included and used only for IoC/DI. I would like to bring it into the proper century (2.5 or 3.x). Unfortunately, I can not convert everything at once and then retest. Is there anyway to run two different versions of Spring simultaneously?

    Namely I want to:

    1. Develop new Web app functionality with Spring MVC and Spring SQL.
    2. Have the old proprietary functionality continue with IoC/DI with 1.9.
    3. Possibly migrate old functionality to new version as required. (This will be a low volume activity).

    Can anyone elucidate or point me in an appropriate direction?

    Thanks in advance!

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,629

    Default

    Is there anyway to run two different versions of Spring simultaneously?
    NEVER mix different versions of a library unless you want to spend a lot of time debugging strange issues, classloading/classcast exceptions. So no...

    In general Spring is a drop-in replacement, so I first upgrade to a newer version and fix those cases which don't work. All the old stuff still works as it did since the beginning of spring (more-or-less).
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •