encyclopegia.org

Glue code

In computer programming, glue code is code that allows components to interoperate that otherwise are incompatible. The adapter pattern describes glue code as a software design pattern. Glue code describes language bindings or foreign function interfaces such as the Java Native Interface (JNI). Glue code may be written to access existing libraries, map objects to a database using object–relational mapping, or integrate commercial off-the-shelf programs. Glue code may be written in the same language as the code it is gluing together, or in a separate glue language. Glue code can be key to rapid prototyping.

In computer programming, glue code is code that allows components to interoperate that otherwise are incompatible. The adapter pattern describes glue code as a software design pattern. Glue code describes language bindings or foreign function interfaces such as the Java Native Interface (JNI). Glue code may be written to access existing libraries, map objects to a database using object–relational mapping, or integrate commercial off-the-shelf programs. Glue code may be written in the same language as the code it is gluing together, or in a separate glue language. Glue code can be key to rapid prototyping. ==See also== Adapter pattern Glue logic Lua (programming language) Method stub Scripting language Shell script SWIG WinGlue Wrapper function Wrapper library ==References==

References

No reference rows published for this article.

Cite this article

MLA

"Glue code." encyclopegia.org, 2026, https://encyclopegia.org/wiki/glue-code. Accessed 24 November 2026.

Chicago

"Glue code." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/glue-code.

APA

encyclopegia.org. (2026). Glue code. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/glue-code

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Fail-fast system

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1372844897 · 0.5 · snapshot enwiki-001372844897

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.