• 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 specifications and Java versions

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am just starting to learn EJBs and the first thing that I am trying to figure out is the relationsip between EJB specifications and Java versions.

Must EJB 2.0, EJB 2.1, EJB 3.0 be used with particular versions of Java? i.e. Java 1.3, 1.4, 1.5 etc...

If anyone could point me to a web site I would be grateful. I have had a look at Sun's web site but it isn't clear.

Many Thanks
 
author
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EJB 2.0 was part of J2EE 1.3 platform, which was on top J2SE 1.3 or JDK 1.3.x
EJB 2.1 was part of J2EE 1.4 platform, which was on top of J2SE 1.4 or JDK 1.4.x
But EJB 2.1 specification requires backward compatibility for EJB 2.0, so the containers supporting EJB 2.1 and running in JDK 1.4.x will be able to run EJB 2.0 beans as well.

EJB 3.0 is part of Java EE 5 platform, which required Java SE 5 (JDK 5) for annotations etc.. again EJB 3 spec requires backward compatibility for earlier version of the specifications.

-raghu
 
a wee bit from the empire
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic