Thanks all,
I went for a training recently (about devloping EJB's on a certain App
server)and I was told that it is not a good practise to call Entity Beans
from JSPs and Servlets and they must be invoked only through a session Bean.
I didn't ask them why then. I saw some questions here in the list about
using Entity beans from Servlets. If there are some performance issues, can
someone list them all.
Regards,
Ganesh
-----Original Message-----
From: Stefan Tilkov [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 11, 2000 12:33 PM
To: [EMAIL PROTECTED]
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".