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".

Reply via email to