ws-xmlrpc-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimisola Laursen" <li...@jimisola.com>
Subject Re: 3.0
Date Fri, 24 Feb 2006 15:15:06 GMT
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" <jochen.wiedmann@gmail.com>
To: <xmlrpc-user@ws.apache.org>
Sent: Friday, February 24, 2006 3:47 PM
Subject: Re: 3.0


On 2/24/06, Jimisola Laursen <lists@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)



Mime
View raw message