This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB 1.1 Vs EJB 2.0 Question

 
Prav Chau
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In EJB 2.0, BMPs are not allowed in Entity Beans. Is it the same case with EJB 1.1 as well?
 
Piotr Uryga
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Prav Chau:
In EJB 2.0, BMPs are not allowed in Entity Beans. Is it the same case with EJB 1.1 as well?


What do You mean ? Since when "bean managed persistence" is not allowed in Entity Beans in EJB 2.0. ?

I'm confused
 
Ricardo Ferreira
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Prav Chau:
In EJB 2.0, BMPs are not allowed in Entity Beans. Is it the same case with EJB 1.1 as well?


Prav,

I think that you could study a lot of EJB programming, and forget for a while the questions and SCEA certification. You're a little bit confused regarding EJB's, and for the SCEA exam, you need very strong skills at this area.

The only restriction that I know about Entity Beans that are interesting for the exam, is about which version of EJB introduced local interfaces for CMP Entity Beans, which is EJB 2.0. Plus, EJB 2.0 introduced container managed relationships (CMR) at the Entity beans programming.

Try to read the EJB specification to find this kind of answer!

Regards,
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use both BMP and CMP in EJB 2.0.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic