EGL Reference Guide for iSeries

Use of a Java wrapper

The EGL-generated Java wrapper is a set of classes that let you invoke an EGL-generated program from non-EGL-generated Java code; for example, from an action class in a Struts- or JSF-based J2EE web application or from a non-J2EE Java program. The Java-to-EGL integration task is as follows:

  1. Generate Java wrapper classes, which are specific to a generated program
  2. Incorporate those wrapper classes into the non-generated Java code
  3. From the non-generated Java code, invoke the wrapper-class methods to make the actual call and to convert data between these two formats:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]