Re: performance of servlets over EJB
Posted By:
anup_katariya
Posted On:
Monday, April 23, 2001 02:14 AM
Hi,
As far as architecture is concerned
business logic should be in the
ejbs.
But ejbs are bottlenecks. Performance wise they are very slow , if u compare them with JDBC.
U can do one thing.
Write jdbc for getting data from database and for updation use ejbs so that u don't have to care for transaction managements and some other non-business stuff
Re: performance of servlets over EJB
Posted By:
AlessandroA_Garbagnati
Posted On:
Friday, April 20, 2001 08:52 AM
Hi,
Personally I think that the business logic should stay as close as possible to the EJB Container. Normally I divide it part in the session beans and part in helpers method that are executed by the servlet container. At the same time i normally try to put no business logic in the servlets (or no java code in jsps).
What Application server and Database are you using?