« Return to Thread: funtion taking time to return Callback
Lance Java wrote:Can you give a bit more info on the return type of the method and the
converter you are using?Is it a simple bean converter or is it some form of
hibernate converter fetching unwanted rows from your DB?
2009/6/23 Rizwan Ahmed <rizwan.amd@gmail.com>
>
> Hi Lance,
>
> I will configure this and check it.
> I feel its not exactly clientside problem, but it is taking time to get the
> callback.
>
> Rizwan
>
>
> Lance Java wrote:
> >
> > I don't suppose you've got joe's ExtraLatencyAjaxFilter configured?
> > <filter class="org.directwebremoting.filter.ExtraLatencyAjaxFilter">
> >
> > </filter>
> >
> > Have you tried executing from the dwr debug page? Is it some clientside
> > rendering taking the time?
> >
> > 2009/6/23 Rizwan Ahmed <rizwan.amd@gmail.com>
> >
> >>
> >> Hi,
> >> Am using DWR 2.0.
> >> I have written a piece of code in javascript as:
> >>
> >> StrandSummary.buildStrandSummary(objParametersBD,
> function(objSummary){
> >> objObjectiveSummary = objSummary;
> >> displayStrandSummary();
> >> });
> >>
> >> Where StrandSummary is my java class converted to dwr. objParametersBD
> >> and objObjectiveSummary are global javascript objects.
> >>
> >> The problem is when I call "buildStrandSummary" it is taking around
> >> 20sec
> >> to return me the callback.
> >> When I checked the java classes, the entire logic and query building is
> >> beging done in around 2 sec.
> >> In these classes there are around 8 getters and setters classes
> >> invlolved.
> >>
> >> I just want to know the reason why this is taking time to return a
> >> callback.
> >>
> >> Thanks in Advance,
> >> Rizwan
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/funtion-taking-time-to-return-Callback-tp24164423p24164423.html
> >> Sent from the DWR - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@dwr.dev.java.net
> >> For additional commands, e-mail: users-help@dwr.dev.java.net
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/funtion-taking-time-to-return-Callback-tp24164423p24164898.html
> Sent from the DWR - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@dwr.dev.java.net
> For additional commands, e-mail: users-help@dwr.dev.java.net
>
>
« Return to Thread: funtion taking time to return Callback
| Free embeddable forum powered by Nabble | Forum Help |