Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileListener (AS400)

Status
Not open for further replies.

Hattusas

Programmer
Nov 11, 2001
344
TR
I am trying to connect my J2EE application with RPG programs running on AS400.
We are sending parameters from java to RPG porgrams and we obtain a result.
However there are some rpg that creates a result file.Lets say after a half an hour.What I want to perform is my java programs should find out that a new file is created.
When I searched this.I found a useful class in com.ibm.as400.access package: FileListener.
It extends java.util.EventObject class.
But I couldn't find enough konwledge about this class.
Its constructtor has 2 parameters
Object and int.

But which object? and which int?
maybe Object argument could be my AS400 class itself (com.ibm.as400.access.AS400).

And how can I solve my problem? Salih Sipahi
Software Engineer.
City of Istanbul Turkey
ssipahi@yonbilgi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top