You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
POJO란 무엇이며, Spring Framework에서 어떻게 활용되나요?
Java가 처음 나왔을때 객체 지향적인 코드를 작성하고자 했는데, EJB로 인해 객체 지향적이지 않는 경우가 발생합니다. 그 후에 다시 초심으로 돌아와서 객체 지향적인걸 따르자고 해서 POJO가 나왔습니다.
Plain Old Java Object의 약자로, 특정 프레임워크, 라이브러리, 기술에 의존하지 않는 객체를 의미.
POJO와 JavaBean은 같은 건가요?
JavaBean은 POJO의 일종이지만, 특정 규약이 추가된 형태. Spring에서는 주로 JavaBean 스타일로 구성된 POJO를 사용
Spring에서 POJO를 선호하는 이유
Spring은 객체 지향적인 설계와 느슨한 결합을 중요하게 생각해서 POJO 기반 구조를 선호.
Beta Was this translation helpful? Give feedback.
All reactions