Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

how to integrated with java using HttpServices

Avatar

Level 2
Could you please send me sample code for integrated with java
POJO class.

I got results from xml using XML

EX:

<mx:HTTPService id="simpletestFood"

url="assets\foodlist.xml"

result="foodList=simpletestFood.lastResult.list.food"/>



now i want to get data from jva POJO class

ex:

class test()

{

public ArrayList foodlist(){

return foodlist;

}



for above example where to give path of POJO class and what
are changes i have to do in my app
2 Replies

Avatar

Level 2
Here are the keywords for your research on google: BlazeDS,
Live Cycle Data Services, RemoteObject!



Basically, you need a service side infrastructure that would
expose your pojos as callable objects and RemoteObject on the Flex
client to call these pojos.



This is, of course, an alternative to you JSP, Strtus Action
or some other Java server side code creating XML and writing it to
the HttpResponse and you'd use HttpService class to call such
resources.



ATTA

Avatar

Level 2
can you send me sample code for integrate with java using
HTTP Services