Highlighted

how to integrated with java using HttpServices

Avatar

Avatar

sujikrishna

Avatar

sujikrishna

sujikrishna

19-11-2008

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

Replies

Highlighted

Avatar

Avatar

atta707

Avatar

atta707

atta707

20-11-2008

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
Highlighted

Avatar

Avatar

sujikrishna

Avatar

sujikrishna

sujikrishna

24-11-2008

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