The Artima Developer Community
Sponsored Link

Java Buzz Forum
EJB 3.0 At The JUG

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Weiqi Gao

Posts: 1808
Nickname: weiqigao
Registered: Jun, 2003

Weiqi Gao is a Java programmer.
EJB 3.0 At The JUG Posted: Nov 11, 2005 8:59 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Weiqi Gao.
Original Post: EJB 3.0 At The JUG
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Latest Java Buzz Posts
Latest Java Buzz Posts by Weiqi Gao
Latest Posts From Weiqi Gao's Weblog

Advertisement

Yesterday's EJB 3.0 talk at the St. Louis Java Users Group is another one of the more livelier presentations, with a lot of audience interactions.

Raj Patel from Harpoon Technologies began the talk with "I've done a lot of Hibernate work, but I've never done any EJB 2.1s. Those who did probably know how painful it was. EJB 3.0 is going to change that."

Having not read the EJB 3.0 specs myself (I'm waiting for the final version), I liked what I heard. I have seen earlier EJB 3.0 introductions on Java.net and elsewhere, but none of them registered. Again the open Eclipse project with live code helped.

The overwhelming impression I got from yesterday:

  • EJB 3.0 is very close to Hibernate
  • EJB 3.0 annotations are orders of magnitudes simpler than EJB 2.1 deployment descriptors
  • The EJB 2.1 concepts (stateless session beans, stateful session beans, entity beans, message driven beans, activation, passivation, declarative transaction management, declarative security management) all carry over to EJB 3.0. It's the syntax that is simplified
  • EJB 3.0 does dependency injection with annotations
  • EJB 3.0 does bean level method invocation interception (AOP) with annotations
  • EJBQL is similar to HQL (Hibernate query language)

Other observations:

  • Hibernate will evolve and be a superset of of EJB 3.0
  • EJB 3.0 offers some features that shadow the Spring Framework, but not enough to replace it
  • The embeddable JBoss EJB 3.0 container is cool
  • Raj says JDO is dead, JDO vendors are going EJB 3.0 (Solarmetric is bought by BEA.)

I guess a more pressing question is this: "Should I adopt EJB 3.0?"

And I think the answer is "It depends." If you've been following the open source developments pretty closely and are using Spring and Hibernate, there is no need to hurry. If you've stuck with the party line and are still doing EJB 2.1 or even 2.0, EJB 3.0 will look very attractive.

Read: EJB 3.0 At The JUG

Topic: Java Programming Examples For Beginners / Interview: How To Swap Integer (and String) Variables... Previous Topic   Next Topic Topic: If your software was on a date...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use