new bie ejb
hi ,
i am relatively newbie to ejb, i have been learing ejb for last week , having going through some stuff in ejb 2.1/3.0 versions i am relatively confused of difference ejb stuff here.
what is the possible better version to start the ejb with, and can someone tell me the some differences in ejb 3.0 and ejb 2.1 stuffs.
thanks in advance.
[366 byte] By [
kbirda] at [2007-11-27 4:05:40]

# 1
If you're new to the technology you should definitely start with EJB 3.0.EJB 3.0 takes a POJO approach to writing ejb components so there are many fewer classes/interfaces to write and the rules for writing
them are much simpler than before. There is also a much better API for handling persistent data called
the Java Persistence API.Java Persistence API entities are not EJB components, but they can be
used from EJB components (session beans, message-driven beans) as well as from other Java EE
components.
The Java EE 5 Tutorial is a good place to start :
http://java.sun.com/javaee/5/docs/tutorial/doc/
We also have an EJB FAQ and some simple examples here :
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
https://glassfish.dev.java.net/javaee5/ejb/EJB30.html
--ken