올해의 Spring3.0 개발의 첫 주자는 Arjen Poutsma이다. Arjen은 SWS(SpringWebService)의 리드를 맡고 있고, 스프링의 웹 부분에도 많은 기여를 한 개발자이다.

OXM모듈 추가

R-511에서 Arjen은 스프링의 OXM이라는 새로운 서브모듈을 추가했다. OXM은 Object/XML Mapping의 약자로 원래 SWS에 있던 기능이다. 자바 오브젝트와 XML의 매핑을 지원하는 프레임워크나 라이브러리는 다양하다. OXM의 목적은 그 다양한 Object/XML간의 변환(XML마샬링, XML직렬화라고도 한다)에 대한 추상레이어를 도입해주는 것이다. 스프링의 PSA(Portable Service Abstraction)의 전형적인 케이스라고 볼 수 있다.

현재 OXM이 지원하는 매핑 구현은 JAXB, Castor, XMLBeans, JiBX, XStream이다. 다양한 옵션과 장단점을 가진 이런 구현을 다음의 간단한 스프링이 제공하는 추상 인터페이스로 사용하는 것을 가능하게 해준다.

public interface Marshaller {

    /**
     * Marshals the object graph with the given root into 
     * the provided Result.
     */
    void marshal(Object graph, Result result)
        throws XmlMappingException, IOException;
}

public interface Unmarshaller {

    /**
     * Unmarshals the given provided Source into an object graph.
     */
    Object unmarshal(Source source)
        throws XmlMappingException, IOException;
}

스프링의 DI 개념대로 각각의 실제 구현기술은 설정에서 간단히 교환해서 사용할 수 있다.

 

이런 OXM기능이 Spring에 모듈로 추가된 것은 흥미로운 일이다. 그만큼 OXM의 활용이 보편화되어있다는 증거일 수도 있고, 스프링의 다른 모듈들에서 이 OXM을 활용할 필요가 많이 있다는 증거일 수도 있다.

Core XML Util

OXM모듈 외에 추가된 것은 core모듈의 util항목에 여러가지 XMLReader가 추가된 것이다. StAX 방식의 XMLReader들과 SimpleNamespaceContext개념이 추가되었다.

 

스프링은 그동안 서브프로젝트(또는 포트폴리오 프로젝트)의 기능중 일부를 계속 코어 프레임워크에 추가해왔다. 코어 프레임워크가 비대해지지 않아야 한다는 기본 전제를 가지고 있고, 특별한 도메인이나 상황에서만 적용 가능한 부분은 최대한 별도 프로젝트로 분리해 내는 것이 스프링 개발팀의 정책이다. 그럼에도 코어 프레임워크에 통합되거나 추가되어지는 부분이 있다는 것은 그만큼 보편적으로 많이 사용되어지는 것이라는 뜻이다. 물론 스프링 자체도 옵셔널 모듈을 선택해서 사용할 수 있다는 면에서 그만큼 통합에 대한 부담도 적어진 것일 수도 있다.

예고된 대로 JavaConfig과 SWF의 일부기능도 3.0에 통합될 예정이다.

Related posts:

  1. Spring 3.0 (42) Spring Dependency Matrix 업데이트
  2. Spring 3.0.2 모듈/라이브러리 의존관계
  3. Spring 3.0 (1) 프로젝트 구조와 빌드 시스템의 변화
  4. Spring 3.0 (4) – Maven에서 Spring 3.0 최신버전 사용하기
  5. Spring 3.0 (18) Oxm 모듈의 선택 라이브러리 분석
  6. 미리 보는 Spring 3.0.1의 변경사항
  7. Spring Expressions(SpEL)를 이용한 Mockito Argument Matcher 만들기
  8. Spring 3.0 (8) Core 모듈의 선택 라이브러리 분석
  9. Spring 3.0 (40) Spring ASM 모듈의 소스는 어디에?
  10. Spring 3.0 (16) Jms 모듈의 선택 라이브러리 분석
  11. Spring 3.0 (7) Spring 3.0 Dependency Matrix
  12. Spring 3.0 (26) Spring Expression Language와 @Value
  13. Spring 3.0 (53) Spring Dependency Matrix 업데이트
  14. Spring 3.0 (35) Spring 3.0 Reference Document 공개
  15. 유쾌한 이슈처리 재촉 메일

Facebook comments:

to “Spring 3.0 (2) R-518 스프링의 새 모듈 OXM(Object/XML Mapping)”

  1. Awesome write-up. I’m a normal visitor of your website and appreciate you taking the time to maintain the excellent site. I will be a frequent visitor for a really long time.

  2. Awesome write-up. I’m a normal visitor of your website and appreciate you taking the time to maintain the nice site. I will be a regular visitor for a long time.

  3. Awesome write-up. I’m a normal visitor of your website and appreciate you taking the time to maintain the nice site. I will be a frequent visitor for a really long time.

  4. Awesome post. I am a normal visitor of your site and appreciate you taking the time to maintain the nice site. I will be a regular visitor for a long time.

  5. Hiya, I am really glad I’ve found this info. Today bloggers publish just about gossip and net stuff and this is really irritating. A good website with exciting content, this is what I need. Thank you for making this web site, and I’ll be visiting again. Do you do newsletters by email?

  6. Awesome write-up. I’m a normal visitor of your blog and appreciate you taking the time to maintain the nice site. I will be a frequent visitor for a long time.

  7. Awesome post. I am a normal visitor of your site and appreciate you taking the time to maintain the nice site. I will be a regular visitor for a long time.

  8. Awesome write-up. I’m a normal visitor of your blog and appreciate you taking the time to maintain the nice site. I’ll be a regular visitor for a long time.

  9. Hi there. I found your website by way of Google while searching for a similar topic, your website got here up. It seems great. I’ve bookmarked it in my google bookmarks to come back then.

  10. Awesome post. I’m a normal visitor of your web site and appreciate you taking the time to maintain the excellent site. I’ll be a regular visitor for a really long time.

  11. Hello there. I discovered your blog by way of Google while looking for a comparable topic, your site got here up. It appears great. I’ve bookmarked it in my google bookmarks to come back then.

  12. Hey there. I found your blog by means of Google even as looking for a related topic, your site came up. It looks great. I have bookmarked it in my google bookmarks to visit then.

  13. Hiya, I am really glad I’ve found this info. Nowadays bloggers publish only about gossip and internet stuff and this is really irritating. A good site with interesting content, this is what I need. Thanks for making this web-site, and I’ll be visiting again. Do you do newsletters by email?

  14. Hello there. I discovered your blog via Google at the same time as looking for a similar matter, your web site got here up. It appears good. I have bookmarked it in my google bookmarks to visit then.

  15. Awesome post. I’m a regular visitor of your web site and appreciate you taking the time to maintain the excellent site. I will be a frequent visitor for a long time.

  16. Hiya, I’m really glad I’ve found this info. Today bloggers publish only about gossip and net stuff and this is actually frustrating. A good site with exciting content, that is what I need. Thanks for making this web site, and I’ll be visiting again. Do you do newsletters by email?

  17. Hiya, I am really glad I have found this information. Today bloggers publish just about gossip and net stuff and this is actually irritating. A good site with exciting content, that is what I need. Thanks for making this web site, and I will be visiting again. Do you do newsletters by email?

  18. Hiya, I’m really glad I have found this information. Nowadays bloggers publish just about gossip and web stuff and this is actually irritating. A good website with interesting content, this is what I need. Thank you for making this web site, and I will be visiting again. Do you do newsletters by email?

  19. Hi there. I discovered your web site by means of Google at the same time as searching for a similar topic, your web site came up. It appears good. I’ve bookmarked it in my google bookmarks to visit then.

  20. Hi there. I found your web site by the use of Google whilst looking for a comparable subject, your website got here up. It looks great. I’ve bookmarked it in my google bookmarks to come back then.

  21. Hi there. I found your website by means of Google whilst searching for a related topic, your site got here up. It appears to be great. I have bookmarked it in my google bookmarks to come back then.

  22. Hiya, I’m really glad I have found this info. Today bloggers publish just about gossip and internet stuff and this is actually frustrating. A good web site with exciting content, this is what I need. Thanks for making this site, and I’ll be visiting again. Do you do newsletters by email?

  23. Hiya, I’m really glad I have found this information. Today bloggers publish only about gossip and web stuff and this is really irritating. A good website with interesting content, this is what I need. Thanks for making this web site, and I will be visiting again. Do you do newsletters by email?

  24. Awesome write-up. I am a regular visitor of your blog and appreciate you taking the time to maintain the excellent site. I will be a frequent visitor for a really long time.

  25. Hello there. I found your web site by way of Google at the same time as looking for a similar subject, your web site came up. It looks great. I’ve bookmarked it in my google bookmarks to come back then.

  26. Hey there. I discovered your site by the use of Google while searching for a comparable topic, your web site got here up. It seems to be great. I have bookmarked it in my google bookmarks to visit then.

  27. Hey there. I found your web site via Google whilst searching for a comparable topic, your web site came up. It seems good. I’ve bookmarked it in my google bookmarks to come back then.

  28. Hello there. I discovered your blog by the use of Google even as searching for a comparable topic, your website came up. It seems good. I have bookmarked it in my google bookmarks to come back then.

  29. Hiya, I am really glad I’ve found this info. Today bloggers publish only about gossip and net stuff and this is really frustrating. A good website with exciting content, this is what I need. Thank you for making this web site, and I will be visiting again. Do you do newsletters by email?

  30. Hello there. I found your site by the use of Google whilst searching for a similar topic, your site got here up. It appears to be great. I’ve bookmarked it in my google bookmarks to visit then.

  31. Awesome post. I am a regular visitor of your site and appreciate you taking the time to maintain the excellent site. I will be a frequent visitor for a long time.

  32. Hiya, I’m really glad I’ve found this information. Nowadays bloggers publish just about gossip and net stuff and this is really frustrating. A good web site with interesting content, this is what I need. Thanks for making this website, and I will be visiting again. Do you do newsletters by email?

  33. Hi there. I discovered your site by the use of Google while looking for a comparable matter, your site came up. It seems great. I have bookmarked it in my google bookmarks to come back then.

  34. Hi there. I found your site via Google at the same time as looking for a similar matter, your web site got here up. It looks good. I have bookmarked it in my google bookmarks to visit then.

  35. Hello there. I found your website by means of Google whilst searching for a comparable topic, your web site came up. It appears good. I have bookmarked it in my google bookmarks to visit then.

  36. Hello there. I found your blog via Google whilst looking for a related subject, your website came up. It appears to be great. I’ve bookmarked it in my google bookmarks to come back then.

  37. Hiya, I’m really glad I’ve found this information. Nowadays bloggers publish only about gossip and web stuff and this is really irritating. A good blog with interesting content, that is what I need. Thanks for making this web site, and I’ll be visiting again. Do you do newsletters by email?

  38. Awesome write-up. I am a regular visitor of your site and appreciate you taking the time to maintain the excellent site. I’ll be a regular visitor for a really long time.

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2017 Toby's Epril Suffusion theme by Sayontan Sinha