Inversion of Control

Computer/Terms 2008. 10. 24. 17:33

Inversion of Control이라고 하면 직관적으로 이해가 되는가?

Inversion of Control은 때론 IoC라고도 표기되는데

이에 대한 혼란을 줄이기 위해 Dependency Injection이라고 표기하는 것을 권장한다.

그럼 Dependency Injection이란 무엇인가?

Dependency Injection에 대한 원문 설명을 빌리면,

a way of removing the dependency from the application class to the plugin implementation

이다.

다시 말해, 응용 클래스로부터 플러그인 구현에 대한 의존성을 제거하는 하나의 방법이다.

다른 방법으로, Service Locator라는 방법도 있다 :-)

Reference:
http://martinfowler.com/articles/injection.html
Posted by 알 수 없는 사용자
,

Hibernate (Java)

Computer/Terms 2008. 10. 23. 13:38

Hibernate is an object-relational mapping (ORM) library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves Object-Relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions. The Hibernate 2.1 framework won a Jolt Award in 2005. [1]

Hibernate is free as open source software that is distributed under the GNU Lesser General Public License.

Reference:
http://en.wikipedia.org/wiki/Hibernate_(Java)

Posted by 알 수 없는 사용자
,

The object-relational impedance mismatch is a set of conceptual and technical difficulties which are often encountered when a relational database management system is being used by a program written in an object-oriented programming language or style; particularly when objects and/or class definitions are mapped in a straightforward way to database tables and/or relational schemata. This practice has been recommended and documented by some object-oriented literature as a way to use databases in object-oriented programs.

The term Object-relational impedance mismatch is derived (etymologically) from the electrical engineering term impedance mismatch.

Reference:
http://en.wikipedia.org/wiki/Object-Relational_impedance_mismatch

Posted by 알 수 없는 사용자
,