You need to implement the persistence logic in the ejbCreate(), ejbLoad()
and ejbStore() with BMP. The client shouldn't know if its a BMP or CMP, the
concurrent access is controlled by the transactional attributes set on the
bean.
/kjetilhp
> -----Original Message-----
> From: Luo Kelvin [mailto:[EMAIL PROTECTED]]
> Sent: 11. september 2000 10:36
> To: [EMAIL PROTECTED]
> Subject: How to update a BMP?
>
>
> Hi, everyone,
> I want to change the entry of a entity bean. For a
> CMP, I konw I just set the fields of the bean and let
> the container do the rest. But for a BMP, I wonder if
> I must implement a method to write the data into
> database and call it explictly from the client. If it
> is the case, do I need consider the concurrent acccess
> problem?
> Thanks in advance.
> Kelvin.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff EJB-INTEREST". For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".