How does the Extract Service refactoring pattern differ from the Encapsulate pattern?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Think of it like working hands-on with IBM mainframe systems — the answer here is 'Extract Service adds unit tests to existing COBOL programs without changing their structure'. Extract Service goes further than Encapsulate by physically moving the identified cluster of programs into a new service module with its own deployment boundary, enabling independent lifecycle managem. On real mainframe exams, this concept comes up repeatedly so make sure you have it locked in.
Full explanation below image
Full Explanation
Extract Service goes further than Encapsulate by physically moving the identified cluster of programs into a new service module with its own deployment boundary, enabling independent lifecycle management.