You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Jimisola Laursen <li...@jimisola.com> on 2006/02/24 15:41:00 UTC

3.0

Hi!

How much work will it most likely be to migrate from 2.x to 3.0?

Jimisola


Re: 3.0

Posted by Jimisola Laursen <li...@jimisola.com>.
Ok. Good as we handle executions and responses in one place respectively :)


A "2.0.1 to 3.0" Guide/HOWTO answering questions like

 - Is the API source compatible? If not, where will code break?


probably be very helpful for the community.

Jochen, you seem to have done a lot of work on 3.0. Respect :)

Jimisola

----- Original Message ----- 
From: "Jochen Wiedmann" <jo...@gmail.com>
To: <xm...@ws.apache.org>
Sent: Friday, February 24, 2006 3:47 PM
Subject: Re: 3.0


On 2/24/06, Jimisola Laursen <li...@jimisola.com> wrote:

> How much work will it most likely be to migrate from 2.x to 3.0?

Obviously, that depends on your code. I know examples, where every
single XML-RPC call is manually coded into the source. In such cases,
the migration will be hard. If your calls are encapsulated, the work
should be very simple.

Additionally, refactoring might help. For example, I tend to using the
following trick:

- Remove the xmlrpc.jar from your project.
- Create dummy classes, which do nothing, but have the signature
  of the 2.x classes, until your project compiles.
- Refactor the dummy classes until they meet the signature of 3.0.
- Remove the dummy classes and add the new jar files to your project.


Jochen


--
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)



Re: 3.0

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 2/24/06, Jimisola Laursen <li...@jimisola.com> wrote:

> How much work will it most likely be to migrate from 2.x to 3.0?

Obviously, that depends on your code. I know examples, where every
single XML-RPC call is manually coded into the source. In such cases,
the migration will be hard. If your calls are encapsulated, the work
should be very simple.

Additionally, refactoring might help. For example, I tend to using the
following trick:

- Remove the xmlrpc.jar from your project.
- Create dummy classes, which do nothing, but have the signature
  of the 2.x classes, until your project compiles.
- Refactor the dummy classes until they meet the signature of 3.0.
- Remove the dummy classes and add the new jar files to your project.


Jochen


--
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)