Join wMUsers | Blog at wMUsers | User Control Panel | Site Map | webMethods Jobs |For Employers

Vinod Ravi -- webMethods Ezine Columnist

I/O, I/O, It's off to work we go



By Vinod Ravi

 


Introduction

webMethods Integration Server v4.6 includes only one I/O service in its WmRoot package -- pub.file:getFile.

The notable absence of built-in I/O services is justified because of security concerns, but there are many cases in which additional I/O services are required for routine business integration tasks.

This webMethods Ezine article discusses the attached package and how a webMethods Developer can deploy it to add I/O functionality to their Integration Server.

Note: The package requires JDK 1.1.8 or higher.


Package Overview

The Utilities package contains two subfolders:

  1. FileIOUtilities -- Java services for reading from and writing to a file server
  2. GeneralUtilities -- Java services which support the FileIOUtilities services

FileIOUtilities contains the following I/O services:

  • deleteFile -- Deletes a file from a file server
  • directoryCleaner -- Removes (and optionally backs up) old files from a file server
  • getProperties -- Reads properties from a properties file on a file server
  • listDirectory -- Returns all files residing in a directory on a file server
  • writeToLog -- Writes a string to a file on the fle server

GeneralUtilities contains these general Java services:

  • compareStrings -- Compare whether two strings are identical
  • roundDecimal -- Round a number to two decimal places
  • stringLength -- Returns the length of a string

In the remainder of the article, we will briefly describe the above services and provide their input/output signatures.



[1]  2  Next>>

Go Deeper on the Subject: The wMUsers Discussion Forums


Vinod Ravi works as a Senior Software Developer at Airgas Inc. He has more than 5 years experience in software application development. His expertise includes system study, analysis and design of E-Commerce applications. He has implemented a large variety of eCommerce projects using webMethods and Java technologies.

Vinod can be reached via email at


Advertise at wMUsers






  Home | Join wMUsers | Discussion Forums | Knowledge Center | Jobs | Shareware | User Groups | Links |
Contact Us | Terms of Service | Privacy Policy

wMUsers is an independent organization and is not sponsored in any manner by Software AG.


© All Rights Reserved, 2001-2008.