Case Study

A software integrator ran a sales-reporting system for a large telecommunications company. The reporting system used a combination of Java and Visual Basic to create an application for entering sales data. The telecom company also had a separate sales-reporting system containing additional sales that needed to be entered.

The telecom company created a batch job that extracted new sales data periodically and placed the data on an FTP server. The software integrator used the FTPSession class to periodically check for new files and download them. Using the doCommand method, the software integrator was able to delete files using the DELE command to avoid downloading the same file twice.

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.