The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

sahoo007tm (2) [Avatar] Offline
#1
As of EJB 3.0, there are only 2 types of Enterprise Beans.
Pls refer
http://docs.oracle.com/javaee/5/tutorial/doc/bnblt.html

Note - Entity beans have been replaced by Java Persistence API entities.

However in section 1.2 of EJB3 in Action it says 3 types.
tony@sofistek.com (1) [Avatar] Offline
#2
Re: Types of Enterprise Beans two or three?
Well, yes, but I think it's fairly clear, in the book, that it is not talking about Entity Beans, when it mentions Entities. That link you gave refers to Enterprise Beans and also mentions that Entity Beans have been replaced with the Java Persistence API, which this book refers to as "Entities" (the book also explains that Entity Beans don't exist in EJB3). It is also clear that Entities are not managed by the container but by the persistence provider, so I don't think an update or erratum is needed.