aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB 3 " Watch "EJB 3 " New topic
Author

EJB 3

Gyanesh Sharma
Ranch Hand

Joined: Nov 27, 2005
Posts: 47
I know J2SE and web components of J2EE but I am totally new to EJB. After my initial research, I am confused if I should jump on to EJB 3 directly or if I should learn the previous versions of EJB first.

I am not doing any big project. My learning would involve doing the web tutorials using JBoss/Eclipse.

Please advice. Also any useful link on the basics of EJB would be great. If someone can tell me, I would like to know how Hibernate fits into the EJB specification.

Thanks
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

Gyanesh,
It depends on when you are looking to get a job. If it is anytime soon, you will benefit from learning about EJB 2.1 first.

Hibernate is an open source product for Object/Relational mapping. Many of the ideas in EJB 3 came from Hibernate.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Gyanesh Sharma
Ranch Hand

Joined: Nov 27, 2005
Posts: 47
Thanks Jeanne
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

Gyanesh, while EJB3 will allow it to be easier to create, it is still really important to learn things from EJB 2.x because you will better understand what you get from the App Server, Transaction levels, Lookups, and understand the lifecycle of EJBs. I highly suggest getting "Head First EJB"

Then you will be able to appreciate the benefits of EJB3 and also to be able to complain about the lack of control you have with EJB3, and later the back-end extra work that you will need to do with EJB3, which you didn't hvae to do in EJB2.1 if you want to do something a little above and beyond normal uses.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Gyanesh Sharma
Ranch Hand

Joined: Nov 27, 2005
Posts: 47
That is really helpful Mike.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB 3