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
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