You guys may want to look at an XML Pull Parser: http://www.xmlpull.org/. When I was working for Mass General Hospital I used one to parse XML coming from an XMPP/Jabber server going to a Socket server I wrote in Java using MINA. Being able to parse the XML as it was coming in was key to getting it to work properly. I know that being able to turn the XML directly into an Object directly is nice, but I opted for the pull parser for performance reasons as well as to guarantee that I had a complete block of XML before proceeding. The null byte that Flash gives you might make the later part a non-issue though.
Anyway, this may be a good start for us to create the XMLSocket piece for Red5 when we get to that. Of course any information or implementation that you guys come up with would be great if you could share with us how you do it. -Chris On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello Marcel, > > that also sounds like an interesting solution and way i, please tell me if u > are making any performance tests. > would be nice to hear more of that, especcially how stable the conecion is > and if there are eny experience regarding latency. > btw. iam also not that familiar with Java. > > as i read apache.xmlbea... i thought by myself , that there may would also be > a way via apache WebDAV which may could be implemented in the > web-appllication, but i never really developed something with webDAV untill > now > > anyway, any suggestion is welcomed > > > Greetz > Sascha > > > Marcel D. schrieb: > > ----- Original Message ---- > > > >> From: [EMAIL PROTECTED] > >> It would be nice if others on the list give me some suggestion, may some > >> inspiration aswell, well any kind of >experience with the Topic. > >> > >> Greetz > >> Sascha > >> > > > > I currently have a delphi server application that communicates with red5 > > via a socket, exchanging XML messages. The Delphi app sends xml messages > > about updates for a specific object (in my case objects within a real time > > sort of weather station) that clients could be interested in, Red5 changes > > the appropriate SO, and the connected clients are updated. Otherwise, if a > > client updates an object (setting inside temperature for instance) , it > > will update the SO: other connected clients are being updated by red5, and > > an XML will be sent to update the delphi app, so it can do some > > calculations. > > > > I had a few questions about XML sockets as well in this group, but no one > > really came up with a good suggestion. And since I'm new to Java, I just > > sort of ran into apache.xmlbeans. > > It works well now, but a real preformance test is still to come. I > > completely rely on Red5 for the updating of clients, and have a simple > > protocol for doing updates to and getting updates from the external Delphi > > server. > > Best regards Marcel Dix _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
