이번 JBoss세미나에서 가장 놀랍게 다가왔던 내용은 EJB3에 대한 것이었다. Rod Johnson이 EJB는 3가 나온다고 하더라도 결국엔 사장될 기술이다라고 혹평을 했기때문에(혹자는 Rod Johnson이 EJB프로젝트를 하다가 너무 많은 상처를 받아서 anti-EJBer가 되었다는 말을 하기도 한다. 믿거나 말거나..) 사실 EJB3에 대해서 별 관심을 가지지 않았던 것이 사실이다. 하지만 적어도 spec.으로 보는 EJB3의 모습은 기대 이상이었다. 그동안 EJB의 단점으로 지적했던 부분들이 대폭 개선되었고 EJB의 대안으로 지지받고 있는 Spring같은 기술에서 발견할 수 있는 많은 장점을 도입하고 있다.

그 중 흥미로웠던 한가지는 Dependency Injection의 지원이다. DI의 혁신적인 장점은 Spring을 통해서 이미 많은 경험을 해왔고 이제는 DI 없이는 개발을 못할 것 같은 생각마저 들 정도로 그 편리함은 실무개발 작업을 통해서 충분히 경험했다고 생각한다.

EJB3는 annotation을 통해서 간단하지만 파워풀한 DI를 제공한다.

The EJB cult Part 3 – Integrating Spring and EJB 3.0 dependency injection라는 글을 발견했다. EJB3의 annotation에 대한 설명과 이를 Spring과 절묘하게 연동해서 사용하는 방법을 소개하고 있다. EJB3를 쓴다고 해도 Spring을 버릴 필요는 없다. 이 글이 그 좋은 예가 될 것이다. 시간이 나면 Spring을 확장해서 다양한 기술과 연동하는 연습을 해봐야겠다.

Related posts:

  1. Dependency Injection 표준화?
  2. EJB3의 Pluggable Persistent Component
  3. JSR-330 Dependency Injection for Java 최종 승인
  4. 마이크로 DI(dependency injection)
  5. JBoss + Spring + EJB 3.0 Integration
  6. Spring vs. EJB3
  7. Dependency Injection의 Dependency란 무엇인가?
  8. Code Organization & Cyclic Dependency Problem
  9. JBoss Advanced Training 3일째
  10. 하이버네이트와 스프링의 갈등
  11. DI의 본질 – 다이나믹 (타입) 언어는 Dependency Injection이 필요없는가?
  12. 7월 7일 Spring활용적략 세미나
  13. Java와 생산성
  14. The Spring Experience 셋째날 – TSE사람잡네
  15. Spring 3.0 (7) Spring 3.0 Dependency Matrix

Facebook comments:

to “EJB3의 Dependency Injection”

  1. Hello just wanted to give you a brief heads up and let you know a few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same results.

  2. WONDERFUL Post.thanks for share..extra wait .. …

  3. I went over this site and I think you have a lot of good info, saved to fav (:.

  4. Howdy! Do you know if they make any plugins to safeguard against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any suggestions?

  5. Great site you have here but I was wondering if you knew of any forums that cover the same topics discussed in this article? I’d really love to be a part of online community where I can get comments from other experienced individuals that share the same interest. If you have any recommendations, please let me know. Thank you!

  6. I think other web-site proprietors should take this website as an model, very clean and wonderful user genial style and design, let alone the content. You’re an expert in this topic!

  7. Hi, just wanted to tell you, I loved this post.
    It was practical. Keep on posting!

  8. it is a really nice point of view. I usually meet people who rather say what they suppose others want to hear. Good and well written! I will come back to your site for sure!

  9. My spouse and i got now comfortable Michael managed to finish off his analysis through your precious recommendations he obtained from your own blog. It’s not at all simplistic just to be giving freely tricks which a number of people could have been making money from. Therefore we see we have the blog owner to appreciate for that. The entire explanations you made, the simple blog navigation, the relationships you help instill – it’s all unbelievable, and it’s assisting our son and the family understand this matter is entertaining, and that’s incredibly pressing. Thanks for everything!

  10. It¡¦s actually a great and helpful piece of information. I¡¦m glad that you shared this helpful info with us. Please stay us up to date like this. Thank you for sharing.

  11. Really informative article post.Much thanks again. Want more.

  12. You are my aspiration, I possess few web logs and rarely run out from post . аАа’аАТ‚аЂТ˜Tis the most tender part of love, each other to forgive. by John Sheffield.

  13. I want to encourage you to definitely continue your great

  14. to say thank you for a remarkable post and a all round thrilling blog (I also love the theme/design),

  15. Oh my goodness! Impressive article dude! Thank you so much, However I am having difficulties with your RSS.
    I don’t understand why I am unable to join it.
    Is there anybody having the same RSS problems? Anybody who knows the answer
    will you kindly respond? Thanks!!

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