The j2eeLib.setApplicationAttr() system function uses a specified key to place a specified value in application scope storage.
You can retrieve the value later by using the j2eeLib.getApplicationAttr() system function. The value placed in the servlet's application scope storage is available until the application terminates or you clear the value manually using j2eeLib.clearApplicationAttr().
j2eeLib.setApplicationAttr( key STRING in, argument ANY in)
In the generated Java™ output, values are passed as primitive Java objects (String, Integer, Decimal, and so on). Record variables are passed as record beans. Arrays are passed as an array list of the associated type. See EGL primitives and Java.