Not really. All methods on an entity bean will require some kind of transaction
context when invoked (either Mandatory, Requires, or RequiresNew).
jim
----- Original Message -----
From: "Stefan Tilkov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 11, 2000 3:32 PM
Subject: AW: Entity Beans and Servlets
Wouldn't that depend on the transaction settings in the deployment
descriptor?
____________________________________________________________________
Stefan Tilkov -- stefan(dot)tilkov(at)innoq(dot)com -- www.innoQ.com
> -----Urspr�ngliche Nachricht-----
> Von: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]Im Auftrag von James Cook
> Gesendet: Freitag, 11. August 2000 21:10
> An: [EMAIL PROTECTED]
> Betreff: Re: Entity Beans and Servlets
>
>
> One performance problem is that every call will take place in its own
> transaction. If you call:
>
> 1. entity.getID();
> 2. entity.getName();
> 3. entity.setName("Jim");
>
> this would take place in three separate transactions.
>
> jim
>
>
> ----- Original Message -----
> From: "Ganesh Venkataraman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 11, 2000 2:03 PM
> Subject: Entity Beans and Servlets
>
>
> > I am really sorry to bother you all with a basic question.
> >
> > Is it really a good practise to call an Entity Bean's remote
> methods from
> > a Servlet. If not, can some one explain me why?
> >
> > Thanks and regards
> > Ganesh
> >
> >
> ==================================================================
> =========
> > 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".
>
>
===========================================================================
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".