谁知道什么是Glue Code?
阿凡达哥 2009-06-10 08:46:01 In programming, glue code is code that does not contribute any functionality towards meeting the program's requirements, but instead serves solely to "glue together" different parts of code that would not otherwise be compatible. Glue code often appears in code written to let existing libraries or programs interoperate, as in foreign function interfaces like the Java native interface, or when mapping objects to a database using Object-Relational Mapping, or when integrating two or more Commercial off-the-shelf programs.
在wiki是找到对glue code的定义,但看不懂。谁帮我翻译一下?在《Mastering Enterprise JavaBeans 3.0》中看到的关键词。