|
In this chapter, two approaches for dealing with the Jakarta Commons libraries were presented. It's easy to envision much more sophisticated approaches, with complex clients performing specialized operations. For example, an FTP client could synchronize between a remote server and a local file system, or an NNTP client might generate automated status posts. As you can see, resource management quickly becomes important when working with these protocols. A connection to a service is an important resource, as is the data that is transmitted. In the next chapter, a library that provides additional scalability and availability for database connectivity through the use of a database connection pool will be examined.
|
|