본격적인 Enterprise OSGi 시대의 표준이 될 OSGi 4.2의 스펙 작업이 한창이다. Craig에 따르면 OSGi의 다음버전인 4.2의 earlydraft에 소개된 "A Component Model for OSGi"의 내용은 SpringDM 그 자체를 옮겨놓은 듯 하다고 한다. OSGi Alliance와 초기부터 긴밀하게 함께 작업해온 SpringSource 팀이 내놓은 결과물이다.

스펙의 내용을 살펴보면 SpringSource의 Adrian Colyer가 실질적인 스펙을 주도하고 있음을 알 수 있다. Gavin King이 주도했던 EJB3의 초기 엔티티빈(지금은 JPA)의 스펙을 볼 때와 비슷한 느낌이다. EJB3 CMP = Hibernate3라는 오해(과연 오해일까?)를 불러오기도 했을 정도니까.

다음은 OSGi 스펙에 나와있는 새플 코드들이다. 어디서 많이 본 것 같지 않은가?

<component id="myDataSource" class="org.apache.commons.dbcp.BasicDataSource"  
      destroy-method="close"> 
   <!– results in a setDriverClassName(String) call –> 
   <property name="driverClassName"> 
     <value>com.mysql.jdbc.Driver</value> 
   </property> 
   <property name="url"> 
     <value>jdbc:mysql://localhost:3306/mydb</value> 
   </property> 
   <property name="username"> 
     <value>root</value> 
   </property> 
   <property name="password"> 
     <value>masterkaoli</value> 
   </property> 
</component> 

 

<component id="compOne" class="ExampleComponent" depends-on="manager,accountDao">
  <property name="manager" ref="manager" />
</component>
<component id="manager" class="ManagerComponent" />

 

<service ref="compToBeExported" interface="com.xyz.MessageService"/>
<component id="compToBeExported"  scope="bundle" class="com.xyz.MessageServiceImpl"/>

 

스펙의 내용을 살펴보면 SpringDM의 개념이 그대로 잘 녹아져 있다. 스프링 스타일의 IoC/DI도 사용할 수 있는데 단지 <bean>태그를 <component>로 바꾸기만 하면 된다. 결국 OSGi 4.2의 Component Model 스펙은 SpringDM의 수퍼셋이 될 듯 하다. SpringDM의 그것을 가장 잘 구현하고 확장한 기술이 될테고.

 

다만, 워낙 많은 벤더와 오픈소스 팀들이 치열하게 저마다 OSGi를 공략하려고 발벗고 나서고 있고, 제각각 자기만의 component model을 들고 나오고 있으니 앞으로 최종 스펙까지 치열한 태클이 예상되기도 한다. 하지만 워낙 일찍 시작해서 지금은 멀찍이 앞서 나가고 있는 SpringDM이고 또 BEA 같은 벤더들이 자사 제품에 적용해주면서 힘을 실어주고 있으니 SpringDM = OSGi 4.2가 되는 것은 매우 가능성이 높아 보인다.

 

워낙 표준이 무시되는 시대이니 엔터프라이즈 OSGi기술이 표준을 따르지 않고 제각각 OSGi 기반의 독립적인 기술을 들고 나올 것도 충분히 예상된다. 벌써 SpringDM이 무슨 무슨 기술을 배꼈다고 투덜거리는 Geronimo 팀도 있고, Enterprise OSGi 자체를 자기들이 직접 새로 설계하겠다는 JBoss팀도 있고, iPOJO라는 나름 독특한 component model을 가지고 있는 Apache Felix팀도 있으니 말이다.

 

올해 초 JCO컨퍼런스에서 OSGi를 발표했을 때 예견했던 것들이 이제 하나 둘 씩 그 정체를 드러내고 있다. 다음 세대 기술을 미리 준비하려는 개발자라면 지금 당장 OSGi/SpringDM을 공부하는 것이 좋을 것이다.

Related posts:

  1. Spring-OSGi 시작하기 – OSGi
  2. SpringOne 2008 (1) – OSGi
  3. IBM DeveloperWorks – SpringDM for OSGi 스크린캐스트 첫번째 공개
  4. Small Team의 기준 / OSGi-S2AP 그게 왜 필요한데?
  5. JCO컨퍼런스와 Spring Dynamic Modules for OSGi(tm)
  6. Maven과 OSGi(Spring)의 버전포맷 비호환 문제
  7. Spring Dynamic Modules for OSGi(tm) 한글 레퍼런스 자료
  8. IBM DW SpringDM 스크린캐스트 제작 완료
  9. IBM DeveloperWorks Screencast 마지막회 – SpringDM 테스트전략
  10. Spring 상식퀴즈 (1) – DI 태클하기
  11. Maven POM에 attribute 사용하기 (2)
  12. 유쾌한 이슈처리 재촉 메일
  13. 2008년 스프링의 아쉬웠던 것들, 2009년의 기대 top 5
  14. 스프링소스와 VMWare의 전략적 관계
  15. 이번주 계획과 이것 저것

Facebook comments:

to “SpringDM과 차세대 OSGi”

  1. 나이수~ 역시 공부하는 보람이 있네요. 문제는 하이버네이트!!

  2. 오타났네요.. apache flex -> apache felix

  3. xeraph/ 수정했습니다. 감사합니다.

  4. This is a comment to the webmaster. Your website is missing out on at least 300 visitors per day. I have found a company which offers to dramatically increase your traffic to your site: http://bag.sh/16M They offer 1,000 free visitors during their free trial period and I managed to get over 30,000 visitors per month using their services, you could also get lot more targeted visitors than you have now. Hope this helps :) Take care.

  5. What wonderful recipes, cant wait to try a lot of these out especially the bread pudding for maybe the holidays. mmm. http://www6b.apc.org/es/node/282684 mit Rentenüberweisung HP Laptops Erwerben statt Kompromisse für durchschnittlich besser immun gegen Schweiß (Da der und vielleicht nahmen ihn nicht eine Fälschung weil die minderjährigen

  6. 薪械 褍胁械褉械薪邪 褔褌芯 褝褌芯 褌邪泻) 褏芯褌褟 小锌邪褋懈斜芯 look my website: http://kzero.us/forum/welcome-mat/4343-barbour-ladies-international-wax-jacket#4343

  7. I consider, that you are not right. I am assured. I can prove it. Write to me in PM, we will discuss. look my website: #http://xzon.net/linkshell/index.php?/topic/927979-barbour-deerstalker-hat/

  8. new mbt shoes SpringDM과 차세대 OSGi » Toby’s Epril

  9. very nice intel you got at this point what is everyones opinion on mine website referring to
    doodle god apk

  10. If you desire to increase your knowledge only keep visiting this website and be updated with the newest
    news posted here.

  11. I do agree with all of the concepts you have
    offered in your post. They’re really convincing and will definitely work.
    Nonetheless, the posts are very short for starters. May just you please prolong them
    a bit from subsequent time? Thanks for the post.

  12. Hiện nay, trên thị trường có rất nhiều nhà cung cấp,
    phân phối và thi công thảm trải sàn. Tuy nhiên,
    không phải đơn vị nào cũng có thể mang đến cho bạn dòng sản phẩm an toàn, chất lượng với
    giá cả phải chăng. Chính vì thế, để có được
    sự yên tâm cũng như hài lòng khi tìm mua thảm viên thì chọn một nhà cung cấp
    uy tín là điều cần thiết.

    Nhật Hoa IC&T là nhà cung cấp và thi công thảm, thảm
    viên đi đầu của các thương hiệu nổi tiếng như Toli (Nhật Bản), SMJ (Singapore)…Chúng tôi luôn đặt sự hài lòng của Khách
    hàng lên hàng đầu với phương châm” IC&T không bán sản phẩm mà bán sự hài lòng
    của khách hàng”.

    Chọn mua và thi công thảm viên
    tại Nhật Hoa, chúng tôi chắc chắn bạn sẽ có được sự an tâm và hài
    lòng tuyệt đối bởi những tư vấn, hướng dẫn tận tình từ đội
    ngũ nhân viên của chúng tôi. Bên cạnh đó là những cam kết
    cụ thể về giá cả, chất lượng sản phẩm đảm bảo mang tới cho không gian sống,
    làm việc của bạn một vẻ đẹp thẩm mỹ hoàn thiện.

  13. Chọn sàn vinyl cho không gian sống của mình, vấn đề
    được bạn quan tâm chắc chắn sẽ là giá
    cả của loại sàn này cũng như quá
    trình thi công. Theo đó, vấn đề báo
    giá thi công sàn vinyl sẽ phụ thuộc vào:

    Diện tích mặt sàn cần thi công
    Loại sàn vinyl mà bạn lựa chọn
    Tình trạng mặt sàn trước thi công
    Thời gian thi công mà bạn mong muốn
    Các yếu tố thực địa khác
    Sau khi trao đổi với đơn vị nhận thi công, 2
    bên sẽ có sự thống nhất về giá cả để đi
    đến quá trình tạo nên một mặt sàn đẹp.

    Chọn sàn nhựa vinyl, tại sao không?
    Đây là loại vật liệu đang rất được ưa chuộng và hứa hẹn sẽ làm bừng sáng không gian sống của bạn.

  14. Many thanks for your useful information. And if you are
    interested in adventure game, please follow the link: https://adventuredalat.com/Tours/40/Extreme-Dalat-Canyoning. Thanks for reading !

  15. Fantastic post however , I was wanting to know if you could write
    a litte more on this subject? I’d be very thankful if you could elaborate a little bit further.
    Thanks!

  16. You’re so cool! I do not think I’ve read a single thing like
    that before. So good to find another person with a few
    genuine thoughts on this issue. Seriously.. thank
    you for starting this up. This site is something that is needed on the
    internet, someone with some originality!

  17. Thanks for every other wonderful post. Where else could anybody get
    that kind of information in such a perfect means of writing?

    I have a presentation next week, and I’m at the search for such information.

  18. Hello friends, good paragraph and pleasant arguments commented at this place, I
    am genuinely enjoying by these.

  19. I was curious if you ever considered changing the layout of your website?
    Its very well written; I love what youve got to say. But maybe you could
    a little more in the way of content so people could connect
    with it better. Youve got an awful lot of text for only having one or
    2 images. Maybe you could space it out better?

  20. I have been exploring for a little bit for any high quality articles
    or weblog posts on this kind of area . Exploring in Yahoo I finally stumbled upon this web site.
    Reading this info So i am satisfied to convey that I’ve an incredibly excellent uncanny feeling I came upon exactly what I needed.
    I most surely will make certain to don?t fail to remember this website and give it a
    glance regularly.

  21. excellent issues altogether, you simply gained a emblem new reader.
    What may you suggest in regards to your post that you just made some days in the
    past? Any certain?

  22. Do you have a spam issue on this blog; I also am a
    blogger, and I was wondering your situation; we have created some nice practices and we are looking to trade solutions with other folks, why not shoot me
    an email if interested.

  23. I like what you guys are up too. This type of clever
    work and exposure! Keep up the superb works guys I’ve added you guys
    to our blogroll.

  24. I was cᥙrious if you ever thought of cһanging the page layout of
    your website? Ιts very well written; I love ѡhat youvе got to say.
    But mаybe you could a little more in the way of
    content sо people сoulɗ connect with it better. Youve
    got an awful l᧐t of text for оnly having one or 2 pictures.
    Maybe you could space it out better?

  25. I like thе valuable information you provide in your articles.

    I will bookmark your weblog and check aցain here frequently.

    I’m quite certain I wiⅼl learn lots of new stuff right here!
    Best of luck for the next!

  26. That is a goߋd tip particularly to those fresh to the blogospheгe.
    Brief but very preciѕe information… Appreciate your shаring
    this one. A must read аrticle!

  27. Very good information. Luckу me I ran across your
    blog by accident (stumbleupon). I’ve bоokmarked it for lateг!

  28. Ꭼveryone lοves it when individualѕ come together and share thoughts.

    Greɑt blоg, continue the good work!

  29. Κeep on ᴡorking, great job!

  30. Ƭhis page definitely has all of the information I ԝanted about this subject and didn’t know who to аsk.

  31. If some one ԝisһes to be updated with most recent technologies therefore һe must Ƅe go t᧐ see this web pаge and be up to date all the time.

  32. Hurrah! At ⅼast I ցot a blog from ѡhere I Ƅe capable
    of tгuly tаke helpful data гegarding my study and knowledge.

  33. Good dɑy! This iѕ my first visit to yoսr ƅloɡ! Ԝe are
    a group of volunteers and starting a new initiative in a community in the same nichе.
    Your blog provided us beneficial information to work on. You have done a wonderful job!

  34. I еnjoy looking through a post that can make men and wоmen think.

    Also, thаnks for allowing for me to comment!

  35. Hello there! I simply wwould like to offer you a huge thumbs up for the excellent
    info you have here on this post. I amm returning to your website forr more soon.

    Stop by my page :: Hire (https://www.jobworkhire.com)

  36. Hola! I’ve Ьeen reading yoᥙr site for a while now and finally got the courage to go ahead and
    give yօս a shout out from Nеw Caney Tx! Јust wanted to mention keеp up
    the exceⅼlent work!

  37. Excеllent, wһɑt a weblog it is! This webpage presents helpful
    information to us, keep it up.

  38. Thɑnk you for the good writeup. It in fact waѕ a
    аmuѕement accoᥙnt it. Look advanced tߋ moгe added agreeable from yoս!
    By the way, how can we communicate?

  39. Ι don’t know if it’s jսst me oг if everyone else enc᧐unterіng problems with your
    website. It appears as if some of the text within your posts are running off the sⅽreen.
    Can somebody else please comment and let me know if this is happening to them
    too? This may be a issue with my internet browser because I’vе had
    this happen before. Thank you

  40. Ꮃhy viewers ѕtill use to read news papers when in this tecһnological globе
    all is accessible on weƅ?

  41. Hi, I Ԁo believe thіs iѕ ɑ greаt blog. I stumbledupon іt
    ;) I may return yet again since I book marked it.
    Moneү and freedom iѕ the gгeatest way to change, may you be rich аnd continue to guide others.

  42. I don’t eνen know the way I finished up right here, but I asѕumed this submit usеd to Ƅe great.

    Ӏ don’t recognise who you are however definitelʏ
    you’re going to a famous bloggeг in case you are not alreaⅾy.

    Cheers!

  43. wh᧐ah this blog is gгeat i like reading your posts.
    Keep up tһe good wοrk! You realize, a lot of individuaⅼs are looking round for
    this info, you can help them greatly.

  44. Іt’s going to be ending of mine day, except before end I am
    readіng this impresѕive parɑgraph to impr᧐ve my experience.

  45. I aⅼl the time ᥙsed to read ρost in neԝs papers but now as I am a
    user of net thus from now I am using net for
    articles or reviews, thanks to web.

  46. It’s the best timе to make somе plans for the future and it’s timе to Ье happy.
    I have read this poѕt and if I could I wish to suggest you few interesting things or suggestions.
    Perhaps you could writе next ɑrticles referring to this article.
    I desire to read more things about it!

  47. fantastic pubⅼish, very informative. I ponder why the opposite experts of this ѕectօr do not ᥙnderstand
    thіs. You should continue your writing. I am confiԀent, уou
    hаve a great reɑɗers’ baѕe already!

  48. Wow tһat wаs unusuаl. I just wrote an extгemely long comment but after
    I clicked submit my comment didn’t show up. Grrrr… well I’m not
    writing all that over again. Anyhow, just wanted to say wonderful blog!

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