• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

BMP and BMT

 
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic