Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

how to integrated with java using HttpServices

sujikrishna
Level 2
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
atta707
Level 2
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
sujikrishna
Level 2
Level 2
can you send me sample code for integrate with java using
HTTP Services