Peter,
Unfortunately, reports cannot be cached. This is a
real time report of positions of each stock in User's
portfolio.
And the reason I mentioned MVC model is because of
the following:
... dispatching to jsp does not take place until
the bean is ready with presentation data (which is
taking lot database access time). And during this time
user has a blank screen in front of them waiting for
the response.
Is there any way to display a temporary page while
the bean is fetching the presentation data from
database ?
--- Peter Pilgrim <[EMAIL PROTECTED]> wrote:
> 0) Does this have anything with MVC. Except that
> when the model has no data
> it is invoke a void View "No data ready yet" instead
> producing a report View.
>
> 1) If the report are the same Why not cache the
> reports in your beans?
>
> 2) Write a Java Http Client URL downloader on a
> separate Java Thread
> that invokes when your webapp start. It forces the
> JSP to be compiled by downloading them
> and the reports to be cached.
>
> --
> Peter Pilgrim
> G.O.A.T
> "The Greatest of All Time"
>
>
>
> ---------------------------------------- Message
> History ----------------------------------------
>
>
> From: Anil Malladi
> <[EMAIL PROTECTED]>@java.sun.com> on 21/11/2000
> 07:33 PST
>
> Please respond to A mailing list about Java Server
> Pages specification and reference
> <[EMAIL PROTECTED]>
>
> DELEGATED - Sent by: A mailing list about Java
> Server Pages specification and
> [EMAIL PROTECTED]>
>
> <-- SCHNIT AB!! -->
>
> We are using MVC Model-2. Web page posts request
> to
> Servlet. Servlet dispatches the request to JSP and
> instantiates a Bean. Bean is taking a considerable
> amount of time to generate the report because the
> stored procedure is slow (couldn't be optimized any
> more!). The idea is to show a temporary page saying
> "Your request is being processed" until the Bean is
> ready with data being fetched from stored procedure.
> If it is achievable while using MVC model-2
> approach,
> what are the possible ways of doing this ?
>
> <-- CUT-IT DOWN->
>
>
>
> --
>
> This e-mail may contain confidential and/or
> privileged information. If you are not the intended
> recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy
> this e-mail. Any unauthorised copying, disclosure or
> distribution of the material in this e-mail is
> strictly forbidden.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> 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
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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