This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 32628
    
215

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.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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: 17276
    
    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 - iOS Apps
How to Ask Questions the Smart Way FAQ
Gyanesh Sharma
Ranch Hand

Joined: Nov 27, 2005
Posts: 47
That is really helpful Mike.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB 3
 
It's not a secret anymore!