Port of schuchert.wikispaces.com


PPPChapter9RepackagingExercise

PPPChapter9RepackagingExercise

Up

In parts 1 and 2 we practiced creating components from an existing system using pencil and paper. Now we’ll take that one step further and create a component from actual code.

Problem

In our existing project Exercise9-PackageDecoupling, we have a simple servlet framework we’d like to pull out and use in another project. The problem is that it is currently embedded. We need to pull out this “reusable” code into its own component and then make sure that it still works in the original system.

Here are some steps you can follow:

Up


Comments

" Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.