Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: DAO's factory is right or not! URGENT

Ben Hill

2004-07-15

Replies:

> -----Original Message-----
> From: Manish Malhotra [mailto:manish.mmalhotra@(protected)]
> Sent: 15 July 2004 12:01
> To: HILL, Ben -Syntegra UK
> Subject: RE: DAO's factory is right or not! URGENT
>
>
> Ben,
>
> So, can I switch to the approach of one DAO object for each
> request. I think that will help me to avoid the application
> hanging problem. Is this right.. I hope so. :-))

That's right.

Imagine multiple concurrent requests all accessing *one* DAO. Clearly there
is a bottleneck there. If you can provide a pool of DAOs and serve them to
balance load, your application will be much more performant - by a factor of
the number of DAOs available.

HTH

Ben


********************************************************************

This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person
Thank you

Check us out at http://www.btsyntegra.com

********************************************************************

===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".
©2008 junlu.com - Jax Systems, LLC, U.S.A.