자바 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. It’s difficult to find well-informed people for this subject, but you sound like you know what you’re talking about! Thanks

  2. Good post. I am dealing with a few of these issues as well..

  3. The next time I read a blog, I hope that it won’t fail me as much as this particular one. After all, Yes, it was my choice to read through, but I truly thought you’d have something helpful to say. All I hear is a bunch of moaning about something that you could possibly fix if you were not too busy searching for attention.

  4. Aw, this was an incredibly nice post. Finding the time and actual effort to make a really good article… but what can I say… I procrastinate a lot and never manage to get nearly anything done.

  5. This is a topic which is near to my heart… Take care! Exactly where are your contact details though?

  6. dapoxetine nederland
    Once you have narrowed downward your pursuit into a number of components, employ someone to execute a great assessment tour. This will assist to reduce any unexpected situations if you want to proceed through using the purchase, enabling you for the best importance to your purchase. Protect against bad choices using this method.
    levitra acheter
    Laughter is a wonderful way to connect with your prospects. People will be more very likely to share a youtube video should they feel it will make their buddies have fun. Take into account that conveying a specialist impression is one of your main concerns too if you cannot be amusing without the need of reducing this picture, avoid sense of humor.
    propecia kaufen
    With these recommendations in your mind, you are going to be better loaded while you are standing up checking out the shelves of wines in a store. You possibly can make best options, and perhaps there are also a red wine that gets to be your favorite. Utilize the information right here to help you.Smart Red wine Tips For Even The Most Amateur Of Wines Aficionados
    priligy pris

  7. Howdy! I could have sworn I’ve been to this blog before but after looking at a few of the posts I realized it’s new to me. Regardless, I’m certainly happy I stumbled upon it and I’ll be book-marking it and checking back frequently!

  8. It’s hard to find well-informed people in this particular topic, however, you sound like you know what you’re talking about! Thanks

  9. There’s certainly a lot to find out about this subject. I love all the points you have made.

  10. There’s certainly a great deal to learn about this issue. I like all the points you’ve made.

  11. I want to to thank you for this wonderful read!! I definitely loved every little bit of it. I’ve got you book marked to look at new stuff you post…

  12. Aw, this was a very nice post. Spending some time and actual effort to make a top notch article… but what can I say… I hesitate a whole lot and don’t seem to get anything done.

  13. An interesting discussion is worth comment. There’s no doubt that that you ought to publish more on this subject, it may not be a taboo subject but typically people do not discuss such issues. To the next! All the best!!

  14. An outstanding share! I have just forwarded this onto a colleague who had been doing a little research on this. And he actually bought me lunch simply because I discovered it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanx for spending time to talk about this topic here on your web site.

  15. Good day! I could have sworn I’ve visited your blog before but after going through many of the articles I realized it’s new to me. Regardless, I’m certainly delighted I found it and I’ll be book-marking it and checking back frequently!

  16. It’s hard to find knowledgeable people about this topic, however, you seem like you know what you’re talking about! Thanks

  17. Pretty! This was an incredibly wonderful post. Thanks for providing this information.

  18. You should take part in a contest for one of the most useful sites on the web. I most certainly will highly recommend this website!

  19. Saved as a favorite, I really like your web site!

  20. Good day! I could have sworn I’ve been to this web site before but after going through a few of the posts I realized it’s new to me. Regardless, I’m definitely happy I discovered it and I’ll be bookmarking it and checking back regularly!

  21. Spot on with this write-up, I honestly feel this amazing site needs far more attention. I’ll probably be returning to read more, thanks for the advice!

  22. Good information. Lucky me I ran across your site by accident (stumbleupon). I have saved as a favorite for later!

  23. you’ve an important blog right here! would you like to make some invite posts on my blog?

  24. I cling on to listening to the news bulletin lecture about receiving free online grant applications so I have been looking around for the best site to get one. Could you advise me please, where could i find some?

  25. I was able to find good information from your articles.

  26. Your style is very unique compared to other people I have read stuff from. Many thanks for posting when you’ve got the opportunity, Guess I will just book mark this site.

  27. Way cool! Some very valid points! I appreciate you penning this post and also the rest of the website is also really good.

  28. You are so awesome! I don’t suppose I have read through something like that before. So nice to discover another person with a few unique thoughts on this topic. Seriously.. thank you for starting this up. This website is one thing that is required on the internet, someone with some originality!

  29. May I just say what a relief to find somebody that really knows what they are discussing over the internet. You definitely know how to bring an issue to light and make it important. A lot more people really need to read this and understand this side of the story. I can’t believe you aren’t more popular because you definitely have the gift.

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

  31. Next time I read a blog, Hopefully it doesn’t disappoint me just as much as this particular one. After all, I know it was my choice to read, however I genuinely thought you would probably have something interesting to say. All I hear is a bunch of crying about something you could possibly fix if you weren’t too busy looking for attention.

  32. Everything is very open with a really clear explanation of the issues. It was truly informative. Your website is useful. Many thanks for sharing!

  33. Can I simply just say what a comfort to discover someone who truly knows what they are talking about on the web. You certainly understand how to bring a problem to light and make it important. A lot more people have to check this out and understand this side of your story. I can’t believe you are not more popular since you surely possess the gift.

  34. Spot on with this write-up, I absolutely believe this web site needs far more attention. I’ll probably be back again to read more, thanks for the information!

  35. That is a great tip particularly to those fresh to the blogosphere. Simple but very accurate info… Appreciate your sharing this one. A must read article!

  36. Hi! I could have sworn I’ve visited this blog before but after browsing through a few of the posts I realized it’s new to me. Anyhow, I’m certainly happy I came across it and I’ll be bookmarking it and checking back regularly!

  37. I like looking through a post that will make men and women think. Also, many thanks for permitting me to comment!

  38. I really like reading a post that will make men and women think. Also, thanks for allowing for me to comment!

  39. The next time I read a blog, I hope that it does not fail me as much as this one. I mean, Yes, it was my choice to read, however I genuinely thought you would have something useful to talk about. All I hear is a bunch of whining about something that you could possibly fix if you weren’t too busy looking for attention.

  40. After checking out a handful of the blog posts on your blog, I really appreciate your technique of writing a blog. I book marked it to my bookmark webpage list and will be checking back soon. Please visit my website too and tell me your opinion.

  41. Nice post. I learn something new and challenging on blogs I stumbleupon every day. It’s always interesting to read through articles from other authors and practice something from their sites.

  42. Oh my goodness! Amazing article dude! Many thanks, However I am having troubles with your RSS. I don’t know why I am unable to join it. Is there anybody having identical RSS issues? Anybody who knows the answer can you kindly respond? Thanx!!

  43. Everyone loves it when individuals get together and share ideas. Great blog, stick with it!

  44. Greetings! Very useful advice in this particular article! It is the little changes which will make the largest changes. Thanks for sharing!

  45. Hi, I do believe this is a great website. I stumbledupon it ;) I’m going to come back yet again since i have bookmarked it. Money and freedom is the best way to change, may you be rich and continue to guide other people.

  46. The next time I read a blog, I hope that it doesn’t fail me just as much as this particular one. I mean, Yes, it was my choice to read through, nonetheless I genuinely believed you’d have something helpful to say. All I hear is a bunch of whining about something that you could possibly fix if you were not too busy seeking attention.

  47. I like reading through a post that can make people think. Also, many thanks for allowing me to comment!

  48. Everything is very open with a really clear explanation of the issues. It was truly informative. Your website is very helpful. Thank you for sharing!

  49. Oh my goodness! Awesome article dude! Many thanks, However I am having troubles with your RSS. I don’t know the reason why I cannot join it. Is there anyone else getting identical RSS problems? Anyone who knows the answer will you kindly respond? Thanx!!

  50. Great info. Lucky me I came across your site by accident (stumbleupon). I have saved it for later!

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