Submitted by Anonymous (not verified) on Mon, 10/17/2005 - 00:00
Forums

I sometimes need to embed Java objects into the RPG code (eg the TreeMap object makes a great keyed variable sized array), - does the ASP RPG compiler recognize the JAVA object type in RPG, or would I be better keeping such objects in service programs?

Full name
Administrator

admin

Mon, 10/17/2005 - 14:35

You can use JAVA directly from within RPG - you only have to make a Prototype to the class with the *JAVA declaration and the set the class-path in the initial program for the IceBreak server instance. When You use a java class your RPG now support the *THIS pointer