0 Replies Latest reply on Jun 16, 2011 9:56 PM by S k R Pasha

    Sending Java Objects to Flex

    S k R Pasha Level 1

      Hi All ,


         I have a Flex+Java Application , which is running fine , and i am sending the List of employess to Flex from my Java(Struts) like :(In flex i am using HTTPService)(Employee is a java bean)


      XStream xstream = new XStream();

      EmpDAO dao=new EmpDAO();

      ArrayList<Employee> empList=null;

      empList=(ArrayList<Employee>) dao.getEmployees();

      response.setContentType("text/xml");

      xstream.toXML(empList,response.getWriter());

       

      This is working fine , but now my requirement is to send java Objects to Flex.

      Is there any way to send Java objects to Flex ??

      Please help me...