• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB 3

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Gyanesh Sharma
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Gyanesh Sharma
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is really helpful Mike.
 
reply
    Bookmark Topic Watch Topic
  • New Topic