| Author |
Interaction testing with legacy networked apps
|
Pho Tek
Ranch Hand
Joined: Nov 05, 2000
Posts: 757
|
|
Given an existing application with a hub-and-spoke design; the spokes being integration points with networked apps i.e. TCP/IP socket apps & webservices, how would you start refactoring such code when you are modifying: 1) the hub - i.e. the main application 2) one or more of the spokes - i.e. additional networked services to integrate or a modification of an existing protocol. Thanks Pho
|
Regards,
Pho
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
What would be the driving force for refactoring the existing system?
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
I would start by writing integration tests. It is especially important not to change the API the legacy apps are expecting on a networked application. After that, it depends on why you want to refactor.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Interaction testing with legacy networked apps
|
|
|