Jump to content

Transient (computer programming)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Karada (talk | contribs) at 11:20, 17 May 2007 (Category:Computer programming stub). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Programming

In the Java programming language, transient is a keyword. When a class member is declared transient, it would not be serialized even if the class to which it belongs is serialized.

In Hibernate, transient describes an object which has been instantiated, but is not associated with a Hibernate session, ie. the object resides in memory but is not being persisted.

For more detail go to: Hibernate.org

Operating Systems

Transient also refers to a module that, once loaded into main memory, is expected to remain in memory for a short time. Today, the term is rarely used, and may be obsolete.

In the mid-to-late 1960s, mainframe computers, such as the IBM System/360, had memory sizes from 8 KB to 512 KB. In order to conserve memory, transients were small modules that supported a specific task, and were swapped in and out of memory. The operating system for the 360 had two areas reserved for transients that supported input/output operations. These were referred to as the “logical transient area,” and the “physical transient area.” If an application program, for example, needed to use the printer, transients that supported printing were brought into the transient areas. If an application needed to use tape drives, transients that supported tape drive access were brought into the transient areas.