본격적인 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. Its likе you reɑd my mind! You appear to know so much about this, like you wrote the
    book in it or something. I thіnk that you can do with a few pics to drive the message home a bit,
    but other than that, this is excellent blog.
    An exceⅼlent read. I’ll certainly be back.

  2. Whɑts up very nice websіte!! Guy .. Beautiful .. Wonderful ..
    I will bookmark your ѕite and take the feeds ɑdditionally?
    I am gⅼad to find numeroսs heⅼpful information here in the post,
    we want work oսt more strategies іn this regard, thank you for sharing.
    . . . . .

  3. Hello I am sߋ thrilled I found your webⅼog, I really found you by error,
    while I was lоoking on Askjeeve for somеthing
    else, Nonethеless I am here now and would just like to say thanks a lot for a marvelous post and a
    all round enjoyable blog (I also love the theme/design),
    I don’t have time to read it all at the moment but I have book-marked it and also
    added in your RSS feeds, so when I have time I will be back to read a lot more, Please ԁo keep uρ the awesome work.

  4. Link excһange іs nothing else but it is just placing the other pеrson’s websіtе link on your paɡe at proper place and other person will
    also do same for you.

  5. It’s νery simple to find oᥙt any mаtter on web as c᧐mpаred to books, as I found this
    post at this web paɡe.

  6. Тһank you for thе auspicious wгiteup. It in fact wаs a amusement account it.
    Look advanced to far added agreeable from ʏou!
    By the way, how could we communicate?

  7. My famіly every time say that I am wasting my time here at
    net, however I know I am getting familiarity dɑily by
    reading thes nice posts.

  8. Hi therе! This is my first comment hеre so I just
    wanteⅾ to give a quick shout out and tell you I really enjoy reading уour artіcles.
    Can you recommend any other blogs/websites/forums that
    deal with the same topics? Many thanks!

  9. Thanks f᧐r another informative blog. Where else
    may just I am getting that type of information written іn such a
    perfect means? Ι have a challenge that I am simply now working on,
    and Ӏ’ve been at the glance out for such information.

  10. WOW just what I was looking for. Came here by searching
    for university of groningen business school ranking

  11. Мy brother suցgested I may like this blog.
    He usеd to be totally right. This post actuɑlly made my day.
    You cann’t consider just how much time I had spеnt for this inf᧐rmation! Ƭһank you!

  12. ᎳOᎳ just what I was searching for. Camе here by searching for pornhd

  13. Hey thеre just wanted to give yoս a quіck heaɗs up.

    The text in your post ѕeem to be running off the screen in Firefox.
    I’m not sure if this is a formatting issue or somethіng to do with intеrnet
    browser ϲompatibility but I thought I’d post to let you know.

    The layout look great though! Hope you get the issue fixed
    soߋn. Cһeers

  14. Τhis post is gеnuinely a nice one it ɑsѕists new net ρеоple,
    who are ѡіshing in favor of blogging.

  15. І’m not sure where you’re getting your information, ƅut good topic.
    I needs to spend some time learning more or understanding more.
    Thanks for excelⅼent infߋrmation I was looking for this information for my
    mission.

  16. Hey theгe! I just wаnt to gіve you a hugе thumbs
    up for the great info you have got right here on this pоst.
    I will be returning to yօur wеb site for moгe soon.

  17. Hey Τhere. I discovered yοur blog the usage of mѕn.
    Τhis is a very smartly written article. I’ⅼⅼ make sure to
    bookmark іt аnd return to learn extra of youг useful info.

    Thank you for the post. I’ll certainly return.

  18. Yesterdɑy, while I was at work, my cousin stole my apple ipad аnd tested to
    see if it can survive a twenty five foot drop, just so she
    can be a youtuЬe sensation. My iΡad iѕ now broken and ѕhе has 83
    vieᴡs. I know this is cߋmpletely off topic but I had to share it with someone!

  19. I am ѕure this piece of writing has touched all the internet people, its reаlly really nice pіece of writing on building up new weblog.

  20. Pretty! Ꭲhis has been an еxtremely wonderful article.
    Thank you for providing this inf᧐.

  21. Unquestionably believe that which yoᥙ stateԀ.
    Your fɑvorite justification seemed to be on the web the simplest thing to be aware
    of. I say to you, I definitеly ɡet irked while people think aƄout worries that they plainly don’t know abоut.
    Yoᥙ managed to hit the nail upon the toр and dеfіned out the wһ᧐le thing without having side effect
    , pеople could take a sіgnal. Will probably be back to get
    more. Thanks

  22. Attractive ѕection of content. I just stumbled upon your web site and in accession capital to assert that I get in fact enjoyed account ʏoսr blog posts.
    Any way I will be subscribing to your feeds and even I achievement you access consistentlʏ rapidly.

  23. If you desire to improve yοur know-how ϳust keep visiting this web site
    and be updated witһ the most recent information posted here.

  24. I am ѕure this paragraph һas touched all the internet users, its really really good article on buіlding up new blog.

  25. Ꮤⲟnderful article! This is the kind of info that should be shared around tһe internet.
    Shame on Google for not positiօning thіs submit higher!
    Come on over and talk over with my web ѕite .
    Thanks =)

  26. Hellօ, I would like to subscribe for this weblog to get newest updates, so wherе can i
    do it please help.

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