DekGenius.com
Previous Section  < Day Day Up >  Next Section

9.10 Extending the Spider

So far, the Spider meets the needs the original client. We have provided all of the necessary functionality in a simple, efficient package. The user interfaces are nicely decoupled from the business logic, meaning we can extend the application into multiple other interface areas. Since we have designed the application with the idea of extensibility through transparency, we ought to be able to add other services fairly easily.

In the next chapter, we're going to see how easy it is to repurpose the spider for use in a different context. We'll replace the existing search functionality in the jPetStore sample application with the Simple Spider. This process demonstrates how following the principlels laid out in this book make it easy to reuse your code and make it work in new contexts. We'll layer our standalone application into a Spring framework with minimal changes to the original code.

    Previous Section  < Day Day Up >  Next Section