Hi, just created a branch "feature/amf" to upload the code to support RemoteObject AMF support for FlexJS.
I want to notice that *still is not working properly*, but want to check in the code in order to let folks to test and support the effort if (they want). I send data to the server but the fault event is triggered in client. I need to continue looking to the problem. If we get this basic project done then we can elaborate the library to be more complete and robust. Special thanks to Kumar to investigate the way and let me know how to do it. Without him we'll not be here today. @PKumar, if you can join us to continue development here you're most than welcome :))) The library chooses by Kumar for AMF is this: https://rawgit.com/emilkm/amfjs/master/amf.js Seems in an advanced state, but I saw that there's more libs out there, and maybe we could end looking to the most complete one. But in the end as this is core to Flex, I think we should implement that stuff in the project. I uploaded three codes/projects: 1.- RemoteObject, ResultEvent and FaultEvent in Network classes. Now Network.swc depends on Reflection.swc 2.- RemoteObjectAMFTest project is a FlexJS project that uses a simple RemoteObject call to a java "echo" method passing a String. The interface uses MDL since was the most simple for me. 3.- sampleamfwebapp is a blazeds webapp generated with maven archetype that expose "exampleService" with a method "echo" that wants a name String param. The return that param. The project is set up to build with maven. So if you pass maven in Network, then in RemoteObjectAMFTest and then in the java project you should have all setup...but...that's not true. Although an overlay is created to overlay the flexjs project in the war, I need to copy files and src/main/resource/static folder running with mvn spring-boot run, a jetty java app server is instantiated and the app runs, but actualy each time I need to manually copy flexjs project in static folder to avoid the project to be cached in jetty. Hope Chris could help me to get the java project building without hack to continue developing it more quickly Hope you guys will want to join the effort, since I really think this is crucial for FlexJS and to bring more interest to this project. There's no doubt in this statement for me ;) Thanks -- Carlos Rovira http://about.me/carlosrovira