자바 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. Cheap Soft Viagra Best Viagra Online Cialis Buy Zoloft Can Canines Have Amoxicillin When Nursing

  2. Sites of interest we have a link to

  3. below you will discover the link to some internet sites that we believe you’ll want to visit

  4. although internet websites we backlink to beneath are considerably not related to ours, we feel they are actually really worth a go as a result of, so have a look

  5. Pretty! This was an extremely wonderful post. Thank you for supplying this info.

  6. I truly wanted to write down a quick note in order to say thanks to you for these splendid instructions you are giving out on this website. My prolonged internet research has at the end of the day been paid with reputable details to share with my two friends. I would declare that we website visitors actually are undeniably blessed to be in a notable community with very many brilliant individuals with beneficial concepts. I feel very lucky to have seen the weblog and look forward to really more brilliant minutes reading here. Thanks a lot again for everything.

  7. please pay a visit to the sites we adhere to, like this one particular, as it represents our picks through the web

  8. Wonderful story, reckoned we could combine a few unrelated data, nevertheless truly really worth taking a search, whoa did one particular understand about Mid East has got a lot more problerms as well

  9. here are some hyperlinks to sites that we link to for the reason that we consider they may be really worth visiting

  10. always a major fan of linking to bloggers that I enjoy but really don’t get quite a bit of link adore from

  11. although websites we backlink to beneath are considerably not associated to ours, we feel they are in fact really worth a go by, so have a look

  12. Hi there, There’s no doubt that your site may be having internet browser compatibility issues. Whenever I take a look at your web site in Safari, it looks fine however, if opening in IE, it’s got some overlapping issues. I merely wanted to give you a quick heads up! Besides that, great site!

  13. Sorry for the large review, however I’m genuinely loving the brand new Microsoft zune, and hope this particular, as well as the superb reviews some other men and women wrote, can help you decide if it is the appropriate choice for you.

  14. A lot of thanks for your whole work on this blog. Gloria delights in engaging in research and it is obvious why. A lot of people learn all of the powerful way you give rewarding ideas via this web blog and even welcome contribution from other ones on the area plus our favorite girl is without question starting to learn so much. Enjoy the rest of the new year. You are doing a stunning job.

  15. very few web-sites that transpire to be in depth below, from our point of view are undoubtedly properly worth checking out

  16. Every the moment in a though we choose blogs that we read. Listed below would be the latest websites that we pick

  17. very handful of websites that happen to become in depth beneath, from our point of view are undoubtedly very well worth checking out

  18. we came across a cool internet site that you might love. Take a appear should you want

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

  20. Hi, I do believe this is an excellent web site. I stumbledupon it ;) I will come back yet again since i have saved as a favorite it. Money and freedom is the greatest way to change, may you be rich and continue to guide other people.

  21. Here is a great Blog You might Find Exciting that we Encourage You

  22. Every when in a whilst we choose blogs that we study. Listed beneath would be the most current web-sites that we select

  23. Alway reading this page :) If anyone here is interested in increasing their viewers, can I recommend a really good gig. See it here- foundational backlinks, or just try https://www.fiverr.com/fastandy/test-other-gig-backlink-reports-for-active-links-df-obl-da, it’s awesome!

  24. Hello there! This blog post could not be written any better! Going through this post reminds me of my previous roommate! He constantly kept talking about this. I will forward this information to him. Pretty sure he’ll have a great read. Thank you for sharing!

  25. Love checking this page :) If anyone here is interested in increasing their presence in google, can I suggest a really good job. Check it out here- focus keyphrase, or just visit https://www.fiverr.com/fastandy/create-1000-contextual-article-dofollow-links-high-da-low-obl, it’s amazing!

  26. Big fan of this site :) If anyone here is interested in boosting their blog fans, can I suggest a really well thought out job. Check it out here- sitewide backlinks, or just try https://www.fiverr.com/fastandy/create-1000-contextual-article-dofollow-links-high-da-low-obl, it’s awesome!

  27. Thank you a lot for providing individuals with such a spectacular opportunity to discover important secrets from this web site. It is often very pleasurable plus full of a great time for me and my office colleagues to visit your blog a minimum of thrice in 7 days to study the newest issues you have. Of course, I’m at all times happy with all the amazing pointers you give. Selected 3 facts in this post are really the most beneficial we have all had.

  28. Hey, I think your website might be having browser compatibility issues.
    When I look at your website in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, great blog!

  29. here are some links to web pages that we link to since we consider they may be really worth visiting

  30. although websites we backlink to below are considerably not connected to ours, we feel they’re basically worth a go by way of, so possess a look

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