• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMP and BMT

 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
some articles say BMP entity bean can be BMT, but some say not. I guess it depends on version of j2ee, please clear my confusion, thanks!
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A BMP Entity Bean can definitely use BMT. However, from EJB 1.1 on, a CMP Entity Bean can not use BMT.
 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Chris:
on page http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Transaction5.html , there is different point, it say "An entity bean must use container-managed transactions".
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I apologize.
I was wrong in my previous post, you are correct. I don't know where my mind was... I was thinking about Session Beans but talking about BMPs.
From EJB 1.1 on, an Entity Bean must use CMT.
 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Chris:
I have a question which I never make clear. some test say ejbFind() in CMP bean returns EJBOject, the same ejbFind() in BMP bean returns primary key, but others say ejbFind() entity bean only returns primary key no matter what they are BMP bean or CMP bean. which answer is correct?
by the way, can RMI-IIOP access to CORBA server? I think it can, but I am not sure.
I will take test soon, but have not made some basic things clear yet, hope to get help! thanks in advance!
[ March 22, 2003: Message edited by: Timber Lee ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic