지난 번에는 스프링의 모듈간의 의존관계만 간단하게만 정리했다.

본격적으로 스프링 3.0을 사용하는 애플리케이션을 셋업하려면 스프링의 18개의 모듈 외에 사용하는 각종 표준스펙라이브러리나, 오픈소스 라이브러리 중에서 어떤 것이 필요한지 알아야 한다.

스프링이 컴파일,런타임,테스트 단계에서 필요로 하는 모든 외부 라이브러리의 갯수가 몇개일까? 최신 3.0기준으로 확인해봤을 때 무려 95개이다.

스프링 3.0을 이용하려면 최소한(정말 최소한이다) 95개 중에서 어떤 것이 어떤 모듈을 사용하고, 어떤 기능을 적용하려고 할때 필요한지를 일일히 알고 프로젝트의 빌드패스에 추가하고 사용해야 한다는 뜻이다.

그래서 스프링 3.0의 Ivy/POM에 나온 의존정보에 대한 설정을 기준으로 해서 각 모듈별로 필요로 하는 라이브러리를 분석해봤다. 최소한 그 모듈을 사용하기 위해서는 반드시 필요로 한 것들도 있고, 모듈의 세부 기능을 활용할 때 선택적으로 사용할 수도 있고, 사용하지 않을 수도 있는 것도 있다. 또 그 모듈의 테스트 코드에서만 필요로 하는 것들도 있고, 어떤 것은 웹 모듈의 자체 라이브러리에 추가되지 않지만 나중에 서버환경에서 반드시 제공되야 하는 것도 있다.

구글의 스프레드쉬트에 정리해봤다.  아래의 주소에 지속적으로 업데이트 되도록 등록을 해놨으니 필요한 개발자들은 살펴보기 보기를 바란다.

http://spreadsheets.google.com/pub?key=ppDRa3Yit-05zS2cqWYFlNA

X는 필수, O는 선택(optional)이고, T는 테스트전용, P는 서버제공용이다.

모듈간의 의존관계도 필수가 있는 반면 선택도 있다. 당연히 transitive dependecy이므로 각 라이브러리 또는 모듈이 다시 필요로 하는 다른 라이브러리가 있으면 그것도 따라서 추가되야 할것이다.

Maven이나 Ivy의 라이브러리 자동 설치 기능이 제공되기는 하지만 optional로 지정된 것에 대해서는 일일히 사용여부를 확인해서 직접 추가해줘야 한다.

또 이클립스의 빌드패스 처럼 scope 개념이 없는 경우에는 테스트용 라이브러리를 모두 추가하면 불필요하게 프로젝트 모듈이 빌드될 가능성도 있으니 주의 해야 한다.

이전에 2.x에서는 보지 못했던 새로운 라이브러리들이 여럿 눈에 띈다. 하나씩 어떤 곳에서 사용되고 있는지 살펴보는 것도 재밌겠다.

Related posts:

  1. Spring 3.0 (42) Spring Dependency Matrix 업데이트
  2. Spring 3.0 (53) Spring Dependency Matrix 업데이트
  3. DI의 본질 – 다이나믹 (타입) 언어는 Dependency Injection이 필요없는가?
  4. Dependency Injection 표준화?
  5. 마이크로 DI(dependency injection)
  6. Dependency Injection의 Dependency란 무엇인가?
  7. JSR-330 Dependency Injection for Java 최종 승인
  8. Code Organization & Cyclic Dependency Problem
  9. EJB3의 Dependency Injection
  10. Spring 3.0 (35) Spring 3.0 Reference Document 공개
  11. Spring 3.0 (26) Spring Expression Language와 @Value
  12. 유쾌한 이슈처리 재촉 메일
  13. Spring 3.0 (4) – Maven에서 Spring 3.0 최신버전 사용하기
  14. Spring 3.0 (44) Spring 3.0과 JEE6
  15. Spring 3.0 (38) Spring Reference 업데이트

Facebook comments:

to “Spring 3.0 (7) Spring 3.0 Dependency Matrix”

  1. Everything is very open with a clear explanation of the challenges. It was truly informative. Your website is very helpful. Thank you for sharing.

  2. I genuinely enjoy studying on this internet site, it holds good content. “A short saying oft contains much wisdom.” by Sophocles.

  3. Thank you for another excellent article. Where else could anybody get that type of info in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.

  4. Thanks for your intriguing article. Other thing is that mesothelioma is generally caused by the inhalation of material from asbestos, which is a positivelly dangerous material. It can be commonly witnessed among laborers in the building industry who have long exposure to asbestos. It is also caused by residing in asbestos protected buildings for a long time of time, Family genes plays a crucial role, and some consumers are more vulnerable towards the risk when compared with others.

  5. Here are several of the internet sites we recommend for our visitors

  6. check beneath, are some totally unrelated web-sites to ours, on the other hand, they’re most trustworthy sources that we use

  7. Every once in a although we pick out blogs that we study. Listed below would be the newest websites that we select

  8. Thanks so much for the article. Fantastic.

  9. that is the finish of this post. Here youll locate some websites that we believe youll enjoy, just click the hyperlinks over

  10. Every once in a whilst we select blogs that we study. Listed below would be the most current web-sites that we choose

  11. Hi! I know this is kind of off topic but I was wondering which
    blog platform are you using for this website?
    I’m getting tired of WordPress because I’ve had problems
    with hackers and I’m looking at alternatives for
    another platform. I would be great if you could point me in the direction of a good platform.

  12. the time to study or pay a visit to the content material or internet sites we’ve linked to beneath the

  13. Every the moment in a though we decide on blogs that we study. Listed beneath are the latest web sites that we decide on

  14. always a massive fan of linking to bloggers that I enjoy but do not get a whole lot of link really like from

  15. Really good info! Also visit my web-site about Clomid pills

  16. Youre so cool! I dont suppose Ive learn anything like this before. So good to find anyone with some unique ideas on this subject. realy thanks for beginning this up. this web site is one thing that’s needed on the net, someone with somewhat originality. helpful job for bringing one thing new to the web!

  17. Exceptional post but I was wanting to know if you could write a litte more on this topic? I’d be very thankful if you could elaborate a little bit more. Many thanks!

  18. Thanks, I’ve just been searching for info about this topic for ages and yours is the greatest I have came upon till now. But, what concerning the bottom line? Are you certain concerning the supply?

  19. one of our guests just lately suggested the following website

  20. Sites of interest we have a link to

  21. I like the valuable info you provide in your articles.

    I will bookmark your blog and check again here regularly.
    I’m quite sure I will learn lots of new stuff right here!
    Best of luck for the next!

  22. we prefer to honor several other online web-sites around the internet, even if they arent linked to us, by linking to them. Below are some webpages really worth checking out

  23. You made some decent points there. I checked on the internet to find out more about the issue and found most people will go along with your views on this web site.

  24. This is very interesting, You’re a very skilled blogger. I’ve joined your rss feed and look forward to seeking more of your magnificent post. Also, I’ve shared your website in my social networks!

  25. Thanks for the blog article.Really looking forward to read more. Much obliged.

  26. Thanks again for the article.Really looking forward to read more. Cool.

  27. some genuinely select blog posts on this website , saved to favorites.

  28. check below, are some completely unrelated sites to ours, nevertheless, they’re most trustworthy sources that we use

  29. Im grateful for the blog.Really looking forward to read more. Much obliged.

  30. Really enjoyed this post.Thanks Again. Will read on…

  31. Muchos Gracias for your blog.Thanks Again. Keep writing.

  32. Perfectly written subject matter, thanks for entropy.

  33. Only a smiling visitor here to share the love (:, btw outstanding style and design.

  34. check below, are some completely unrelated sites to ours, nevertheless, they may be most trustworthy sources that we use

  35. Really enjoyed this article post.Much thanks again. Really Great.

  36. You definitely ought to look at at least two minutes when you happen to be brushing your enamel.

  37. Hi there! This is my first visit to your blog! We are a
    team of volunteers and starting a new initiative in a community
    in the same niche. Your blog provided us useful information to
    work on. You have done a wonderful job!

  38. I am not sure where you are getting your information, but good topic.
    I needs to spend some time learning much more or understanding
    more. Thanks for wonderful info I was looking for this info for my mission.

  39. Thanks for the blog post.Thanks Again. Really Great.

  40. This site was… how do I say it? Relevant!! Finally I’ve found something which helped me. Thank you.

  41. below youll uncover the link to some internet sites that we consider it is best to visit

  42. we came across a cool internet site that you simply may well delight in. Take a appear should you want

  43. one of our visitors just lately proposed the following website

  44. I think this is a real great article post. Really Great.

  45. Great web site you have here.. It’s hard to find high-quality writing like yours nowadays. I honestly appreciate people like you! Take care!!

  46. please check out the internet sites we comply with, which includes this one, as it represents our picks through the web

  47. I used to be able to find good advice from your content.

  48. A big thank you for your blog.Thanks Again. Great.

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