Alex, It will really great, if this works same or mostly similar as regular Flex SDK.
One more point on amfJS library , it also supports class mapping. It has one method *registerClasses* that can be used for Java class to flex mapping. On 23-Aug-2017 11:12 AM, "Alex Harui-2 [via Apache Flex Users]" < ml+s2333346n15798...@n4.nabble.com> wrote: > So, I played around with AMF today, adding SWF code for RemoteObject. For > me, the RemoteObjectAMFTest in examples/flexjs is working against the > SampleAmfWebApp in examples/amf for both SWF and JS. I don't think I had > to touch the JS code in amf.js. That's better than I was expecting. Am I > not doing something right or is there some other problem that needs > solving? > > Some observations along the way: > > I was able to talk to the server in SWF code just by using > NetConnection.call and passing in CommandMessages and RemotingMessages, > but the amf.js code seems to be sending an ActionMessage wrapped around > the CommandMessage and RemotingMessage. Is that wrapping what > NetConnection does? > > I'm tempted to try to refactor amf.js into several AS classes. Is that > worth doing or are there bigger fish to fry? > > The amf.js code includes a Promise implementation. If we refactor to AS, > should we try to use promises or make the API more compatible with regular > Flex? I'm leaning towards compatibility with regular Flex. > > Thoughts? > -Alex > > On 8/21/17, 11:02 AM, "Harbs" <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=15798&i=0>> wrote: > > >There’s probably an advantage to converting it to FlexJS. You could > >probably leverage BinaryData for some of the functionality. > > > >You can also create typedefs if you want. > > > >> On Aug 21, 2017, at 8:53 PM, PKumar <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=15798&i=1>> wrote: > >> > >> Alex, > >> > >> As per my analysis & testing, AMFJS supports following features: > >> > >> - All dataType serialization & deserialization support including > >>Object , > >> Vector > >> - Connection with BlazeDS > >> - Conection with AMFPHP > >> - Class Mapping Support using Alias Name & Class > >> - Inbuilt support for sending AMF request & response > >> > >> I also checked James ward implementation but that does not support > >>vector > >> and blazeds connectivity. > >> > >> I prepared a demo for class mapping and blazeDs connection. If you > >>want to > >> check, please let me know. I will share on github. > >> > >> one query i want to ask , can we convert this amfJS library to FlexJS > >> Typedef just like createJS library? > >> > >> > >> Regards, > >> Prashant > >> > >> > >> > >> ----- > >> Regards, > >> Prashant > >> -- > >> View this message in context: > >>https://na01.safelinks.protection.outlook.com/?url= > http%3A%2F%2Fapache-fl > >>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15782. > > >>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a7b34438 > > >>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6eQEGjDw > > >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0 > >> Sent from the Apache Flex Users mailing list archive at Nabble.com. > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS- > tp15510p15798.html > To start a new topic under Apache Flex Users, email > ml+s2333346n1...@n4.nabble.com > To unsubscribe from Apache Flex Users, click here > <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==> > . > NAML > <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > ----- Regards, Prashant -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15803.html Sent from the Apache Flex Users mailing list archive at Nabble.com.