let me explain with a simple example
We have a flex screen with a data grid. The data in data grid is populated
with java collection. The java collection contains stock data which comes
from backend.  In the backend every 0.5 second the stock data in collection
is updated(we get market feed of data).

so every 0.5 second we need to refresh the flex data grid and update it with
the backend data.

So the question now is we need to make a asynch call every 0.5 sec to fetch
the updated data.

I am using blazeds to get the java collection but i dont think blazeds can
be used to make asynchronous calls. That is where we want to use ajax to
make the asynchronous call every 0.5 sec.

thanks.
On Wed, May 25, 2011 at 8:32 PM, Alain Ekambi
<[email protected]>wrote:

> What exactly  do you mean  with "incorporate ajax" ?
> Do you mean making async  call to the server ?
> If  yes cant you do that with Blase DS ?
>
> Like i said before i dont know  if the road mxml/as ->External Interface ->
> js ->  gwt -> backend  and  back is effective
> because  you are adding  a lot of overhead just to call methods in the
> backend.
>
>
>
>   2011/5/26 Jay <[email protected]>
>
>>   Thanks for response. We are already using blazeds to communicate with
>> our remote spring services. Our present architecture:
>> Flex talks to backend java objects using spring blazeds.
>>
>> I want to incorporate ajax so What I had in mind is
>> Flex mxml/as screen invokes JavaScript invokes java backend?
>> Would that be correct?
>>
>> Thanks
>>
>> On May 25, 2011, at 5:58 PM, Alain Ekambi <[email protected]>
>> wrote:
>>
>>    Well the suggestion  was for the "Integrating Flex with GWT part".
>>
>> If you come from Flex learning GWT should not  be a  big problem because
>> the development model is very similar.
>> The official GWT Documentation is always a good point to start: 
>> <http://code.google.com/webtoolkit/doc/latest/DevGuide.html>
>> http://code.google.com/webtoolkit/doc/latest/DevGuide.html
>> And if you are really really stucked there is a guy called *Thomas Broyer
>> * here in the community. You cant miss him :)
>>
>> Making a GWT RPC call from an AS3/MXML based  Flex application is not that
>> easy and adds a lot of  overhead to your application.
>>
>> We had the same issue with one of our Flex applications. This is one of
>> the reasons that motivated me to create a GWT API for Flex, so one could use
>> Java everywhere instead of mixing MXML/AS3(Flex UI), JavaScript(External
>> Interface to communicate with the GWT ) and Java(GWT +  backend)
>>
>> If your Flex application is MXML/AS3 based the best way should be to use
>> something like Blase DS.
>>
>> If you want to use a GWT API to build a Flex application  you can  have a
>> look at gwt4air.
>>
>> Best,
>>
>> Alain
>>
>>
>>
>>
>> 2011/5/25 Alain Ekambi < <[email protected]>
>> [email protected]>
>>
>>> May i suggest you Gwt4Air ? :)
>>> <http://code.google.com/p/gwt4air/>http://code.google.com/p/gwt4air/
>>>
>>>
>>> 2011/5/25 Jaggernat < <[email protected]>[email protected]>
>>>
>>>> hi guys
>>>>
>>>> I need to learn GWT and impliment a simple solution using GWT. I come
>>>> from flex background.
>>>> can anyone point me what the important concepts in GWT is? and in what
>>>> order do i learn?
>>>>
>>>> Goal:
>>>> we are currently developeing a trading app using flex screens but we
>>>> want to use ajax framework GWT to make the asynchronous backend calls
>>>> to our spring-java backend.
>>>> (Is using flex  Fabridge an option to integrate GWT with flex?)
>>>>
>>>> any help greatly appreciated
>>>> thanks.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> <[email protected]>
>>>> [email protected].
>>>> To unsubscribe from this group, send email to
>>>> <google-web-toolkit%[email protected]>
>>>> [email protected].
>>>> For more options, visit this group at
>>>> <http://groups.google.com/group/google-web-toolkit?hl=en>
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> GWT API for  non Java based platforms
>>>  <http://code.google.com/p/gwt4air/>http://code.google.com/p/gwt4air/
>>>  <http://www.gwt4air.appspot.com/>http://www.gwt4air.appspot.com/
>>>
>>>
>>>
>>
>>
>> --
>>
>> GWT API for  non Java based platforms
>>  <http://code.google.com/p/gwt4air/>http://code.google.com/p/gwt4air/
>>  <http://www.gwt4air.appspot.com/>http://www.gwt4air.appspot.com/
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>   --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
>
> GWT API for  non Java based platforms
> http://code.google.com/p/gwt4air/
> http://www.gwt4air.appspot.com/
>
>
>   --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to