I think what you have to think about is in using the Application object, you
are giving the entire web-app scope to those values being stored. This has
potential threading problems if more than one thread is to access them for
writing purposes..but reading from multiple threads is fine.
For performance, it may actually be faster only because you are not creating
the objects for each new session. However, it all depends on the context in
which they are being used. I prefer to use Application scope for items that
are used throughought the app and have no relation to specific users
(sessions).
> -----Original Message-----
> From: GThomas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 6:50 PM
> To: [EMAIL PROTECTED]
> Subject: Appliction Object performance
>
>
> Hi All,
>
> I have an application that uses about 12 Combo-boxes.I plan
> to store the
> values of all these in different Collection objects within the
> application object.
>
> These combo-boxes are used in multiple places across the application.
>
> Wanted to know if there is any drawback in using the above method in
> terms of performance or is there a preferred way to do this.
>
> I have searched the list and found that there are posts related to
> storing objects in the application object.
>
> My main concern here is performance. Please advise.
>
> Thanks in advance.
> Gigen Thomas
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets