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.
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.