storeJSFRecordAsBytes

The storeJSFRecordAsBytes build descriptor option specifies the mode that EGL uses to save a record or record array in session scope storage. There are two modes:
as bytes
Requires less storage space, but is less efficient.
as object
Can be written more quickly, but requires more storage.

The storeJSFRecordAsBytes build descriptor option affects the behavior of the j2eelib.getSessionAttr() and j2eelib.setSessionAttr() system functions. However, you do not need to change the code that calls these functions. By changing the storeJSFRecordAsBytes build descriptor, you change the behavior for all get or set session attribute calls that involve JSF records.

The storeJSFRecordAsBytes build descriptor is effective only when the genProperties build descriptor option is set to GLOBAL or PROGRAM.

Values

The storeJSFRecordAsBytes build descriptor option can have the following values:
YES
Store the record or record array as bytes.
NO (the default)
Store the record or record array as an object.

Feedback