make a remote call implementation in java that fills a hashmap or related
object with all the info you want:
init()
{
people = getPeople() ;
towns = getTowns() ;
etc...
}
if you want them 1-by-1 call them in sequence:
getPeople() on responce getTowns and so on...
--- In [email protected], "valdhor" <valdhorli...@...> wrote:
>
> I don't understand. Each call _IS_ a separate request. Even though Flex
> batches them up together, each remoteObject call hits the server as a
> separate request. They will return asynchronously. This is what you want so
> that you get the data back as fast as possible.
>
>
> --- In [email protected], "ilikeflex" <ilikeflex@> wrote:
> >
> > HI
> >
> > I am using Blazeds. At the start of my application i am making couple of
> > request to get the data from the backend. I am tracking my request through
> > Charles Debugger. I see that all my initial request are put together in one
> > POST request. I want that each service call to backend be a different POST
> > request. So that i can get the data fast.
> >
> > Please have a look at the screen
> > shot.(http://4.bp.blogspot.com/_v7fXKpvsYl0/SoW5_0lZl6I/AAAAAAAAAPg/caJ1-RzjZAE/s1600-h/Query.png)
> >
> > How can i achieve this?
> > I am using the Remote Objec to make the calls
> >
> > indexProfileListRemoteObject = new RemoteObject("indexMasterDAO");
> > indexProfileListRemoteObject.addEventListener( ResultEvent.RESULT,
> > indexProfileListHandler );
> >
> > indexListRemoteObject = new RemoteObject("indexMasterDAO");
> > indexListRemoteObject.addEventListener( ResultEvent.RESULT,
> > indexListHandler );
> >
> >
> > Thanks
> > ilikeflex
> >
> >
> >
> > --- In [email protected], James Ward <jaward@> wrote:
> > >
> > > Thanks for the plug. I'm using StackOverflow.com to manage the
> > > questions. Just tag them with "riacowboy" so that I can find them.
> > >
> > > I'm seeing a big shift from the Adobe forums, flexcoders, etc to Stack
> > > Overflow - so hopefully many here will start getting more involved in
> > > Stack Overflow.
> > >
> > > BTW: Here is the "Ask The RIA Cowboy" post:
> > > http://www.jamesward.com/blog/ask-the-ria-cowboy/
> > >
> > > -James
> > >
> > >
> > > From: [email protected] [mailto:[email protected]] On
> > > Behalf Of hworke
> > > Sent: Friday, August 14, 2009 11:17 AM
> > > To: [email protected]
> > > Subject: [flexcoders] Java/Flex questions answered by James Ward
> > >
> > >
> > >
> > >
> > > Hello Devs,
> > >
> > > James Ward the Technical Evangelist for Flex at Adobe
> > > encourages all to post RIA related questions in his
> > > blog. I asked him JAVA/LCDS questions before and got
> > > instant answer from him. If you have JAVA/BlazeDS/
> > > LCDS related questions then you can post it here:
> > >
> > > http://www.jamesward.com/blog/
> > >
> >
>