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.



Better, Faster, Lighter Java
Better, Faster, Lighter Java
ISBN: 0596006764
EAN: 2147483647
Year: 2003
Pages: 111

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net