자바 IoC/DI의 기술의 대표주자인 스프링과 구글주스(Google Guice)가 파트너쉽을 맺고 자바의 IoC/DI용 애노테이션의 표준화 작업을 공동으로 진행하기로 했다. 스프링은 누구나 인정하는 DI기술의 대표주자이고, 구글 주스는 애노테이션 기반 DI전략을 가지고 스프링의 아성에 전면 도전해서 DI에 특화된 프레임워크로 제법 인기를 누리고 있다. 로드 존슨이 오랜동안 고집을 가지고 지켜왔던 "XML이면 충분해" 라는 주장을 꺽고 스프링 2.5에서 애노테이션 기반의 DI를 도입하게 된 주요한 동기 중의 하나는 구글주스의 애노테이션 기반 DI에 대한 개발자들의 폭발적인 반응 때문이 었다고 한다.

2003년 1.0베타버전 시절부터 스프링을 상용 제품인 Confluence에 도입해서 성공적으로 사용해오던 아틀라시안이 새로운 제품에는 스프링 대신 구글주스를 적용하겠다고 한 것도 그런 면에서 충격적이었다. 물론 아틀라시안은 오랜동안 WebWork의 오픈심포니 커뮤니티를 지원하고 있었고 Confluence에도 WebWork을 계속 사용하고 있었다, 그런면에서 WebWork의 기술이 이어진 Struts2에서 구글주스를 전폭적으로 지원하고 있는 것도 일정 영향을 주었겠지만, 아무튼 Confluence의 개발에 스프링이 도입되었던 소식을 듣고 스프링을 처음 알게 된 나에게 구글주스로의 전환은 상당히 충격적인 소식이었다.

 

아무튼, 그동안 스프링의 자바표준화 작업에서 그다지 재미를 보지 못하고 있는 스프링소스 입장에서는 자바커뮤니티에 강력한 영향력을 가지고 있는 구글이 만든 구글주스에 협력 하는 모습을 보이는 것이 스프링의 폭발적인 성장에 견제를 보내고 있는 다른 벤더와 커뮤니티의 거부감을 줄이고 성공적으로 스프링을 표준기술과 융합시키는데 효과적인 전략이라고 판단한 듯 하다. DI기술의 후발주자이고 어쨌든 스프링에 비하면 잘 알려지지 않은 구글주스의 입장에서도 스프링과 파트너쉽을 가지는 것이 손해볼 것 없을테고.

 

현재 정리된 javax.inject에 들어갈 표준 애노테이션은 다음과 같다.

  • @Inject – Identifies injectable constructors, methods, and fields
  • @Qualifier – Identifies qualifier annotations
  • @Scope – Identifies scope annotations
  • @Named – String-based qualifier
  • @Singleton – Identifies a type that the injector only instantiates once

스펙 초안JSR제안서는 나와있지만 아직 JCP에 정식으로 제출되지는 않았다. 조만간 할거라고.

Related posts:

  1. Google App Engine for Java에서 Spring 3.0 사용하기
  2. Spring보다 많이 팔린 Seam, Wicket
  3. Spring기반의 Hibernate DAO Unit Test 만들기
  4. spring과 hibernate 함께 쓰기. 그 만만치 않은 작업.
  5. 편리한 Google Deskbar
  6. Spring 3.0 (41) @Deprecated SpringMVC
  7. 유쾌한 이슈처리 재촉 메일
  8. Spring 3.0 (56) @Bean 사용의 주의사항
  9. Maven과 OSGi(Spring)의 버전포맷 비호환 문제
  10. 컨설턴트의 가치
  11. Spring 3.0 (46) Spring 3.0 M4 릴리스

Facebook comments:

to “Spring과 Google Guice의 협력을 통한 DI 애노테이션 표준화 작업 시작”

  1. Nice blog here! Additionally your site lots up very fast!

    What web host are you the usage of? Can I get your affiliate hyperlink on your host?
    I desire my site loaded up as quickly as yours lol

  2. This blog was… how do you say it? Relevant!! Finally I have found something which helped me. Cheers!

  3. I really like it when people get together and share views. Great website, keep it up!

  4. I’m pretty pleased to find this great site. I want to to thank you for your time just for this fantastic read!! I definitely really liked every little bit of it and I have you bookmarked to check out new information in your website.

  5. Spot on with this write-up, I really think this web site needs a great deal more attention. I’ll probably be back again to read through more, thanks for the info!

  6. I really like reading a post that can make men and women think. Also, thank you for allowing for me to comment!

  7. Nice post. I learn something totally new and challenging on blogs I stumbleupon on a daily basis. It will always be useful to read articles from other authors and use a little something from their web sites.

  8. You need to be a part of a contest for one of the best websites on the internet. I most certainly will highly recommend this blog!

  9. Right here is the perfect site for anyone who wishes to understand this topic. You realize a whole lot its almost tough to argue with you (not that I personally will need to…HaHa). You certainly put a fresh spin on a subject that’s been discussed for decades. Wonderful stuff, just wonderful!

  10. Nice post. I learn something new and challenging on blogs I stumbleupon every day. It’s always useful to read through content from other writers and practice a little something from other sites.

  11. You’re so awesome! I do not think I’ve read anything like this before. So great to discover another person with a few genuine thoughts on this topic. Seriously.. thanks for starting this up. This website is something that’s needed on the web, someone with a little originality!

  12. I love looking through an article that will make men and women think. Also, many thanks for allowing for me to comment!

  13. This is a topic that’s near to my heart… Cheers! Where are your contact details though?

  14. Good info. Lucky me I ran across your blog by accident (stumbleupon). I’ve book marked it for later!

  15. bookmarked!!, I love your site!

  16. I’m amazed, I have to admit. Rarely do I come across a blog that’s equally educative and amusing, and let me tell you, you’ve hit the nail on the head. The issue is something not enough people are speaking intelligently about. I am very happy that I came across this in my hunt for something regarding this.

  17. Oh my goodness! Awesome article dude! Thanks, However I am going through issues with your RSS. I don’t understand why I can’t subscribe to it. Is there anybody having the same RSS problems? Anyone that knows the solution will you kindly respond? Thanks!!

  18. You are so interesting! I don’t suppose I’ve truly read anything like this before. So nice to find another person with a few original thoughts on this subject. Seriously.. thanks for starting this up. This web site is one thing that’s needed on the internet, someone with a bit of originality!

  19. Hello there! This article could not be written any better! Looking through this post reminds me of my previous roommate! He constantly kept talking about this. I most certainly will send this article to him. Fairly certain he will have a very good read. Thank you for sharing!

  20. Spot on with this write-up, I seriously believe that this amazing site needs much more attention. I’ll probably be back again to see more, thanks for the information!

  21. You have made some good points there. I checked on the internet for more information about the issue and found most individuals will go along with your views on this site.

  22. I must thank you for the efforts you’ve put in penning this website. I really hope to check out the same high-grade blog posts from you later on as well. In fact, your creative writing abilities has inspired me to get my own website now ;)

  23. Good post. I am facing many of these issues as well..

  24. Wonderful post! We are linking to this great post on our site. Keep up the great writing.

  25. Your style is very unique compared to other folks I’ve read stuff from. I appreciate you for posting when you have the opportunity, Guess I will just book mark this blog.

  26. You have made some good points there. I looked on the net to learn more about the issue and found most people will go along with your views on this site.

  27. I would like to thank you for the efforts you have put in writing this site. I really hope to check out the same high-grade blog posts from you later on as well. In truth, your creative writing abilities has inspired me to get my own, personal site now ;)

  28. Very good write-up. I absolutely love this website. Keep it up!

  29. You have made some really good points there. I looked on the internet to learn more about the issue and found most individuals will go along with your views on this website.

  30. This site was… how do I say it? Relevant!! Finally I have found something that helped me. Thank you!

  31. Wonderful post! We will be linking to this great content on our site. Keep up the good writing.

  32. Right here is the perfect blog for anybody who really wants to understand this topic. You understand a whole lot its almost hard to argue with you (not that I really would want to…HaHa). You certainly put a fresh spin on a topic that has been written about for ages. Great stuff, just great!

  33. You made some decent points there. I looked on the net to learn more about the issue and found most people will go along with your views on this web site.

  34. You have made some really good points there. I checked on the internet for more info about the issue and found most individuals will go along with your views on this web site.

  35. You should take part in a contest for one of the best websites on the internet. I’m going to highly recommend this blog!

  36. I’m extremely pleased to discover this web site. I need to to thank you for your time for this wonderful read!! I definitely enjoyed every little bit of it and i also have you book-marked to look at new stuff in your website.

  37. Greetings! Very useful advice within this article! It is the little changes which will make the most significant changes. Many thanks for sharing!

  38. I need to to thank you for this wonderful read!! I absolutely loved every little bit of it. I have you bookmarked to check out new things you post…

  39. Pretty! This has been an extremely wonderful post. Thank you for providing this info.

  40. After looking over a number of the blog articles on your website, I really appreciate your way of writing a blog. I saved as a favorite it to my bookmark site list and will be checking back in the near future. Please check out my website as well and let me know your opinion.

  41. Hi! I could have sworn I’ve been to your blog before but after looking at many of the posts I realized it’s new to me. Anyways, I’m definitely delighted I found it and I’ll be bookmarking it and checking back frequently!

  42. Good write-up. I certainly love this website. Continue the good work!

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