Question

i would like to reuse my existing blazeds/java/spring apps to write some html 5 clients. Is anyone aware of a pure js (no swf bridge allowed) client that has pub/sub capability

so far my googling has found 2 projects - jsasmf (which uses a tiny swf) and amf.js which is missing pub/sub, but no other projects besides these 2

any ideas (crazy is fine) on how to do this appreciated

cheers

Was it helpful?

Solution

Why not annotate your blazeds service object implementation with jersey annotations to expose it as a rest service. It should be possible to expose the same service through blazeds and rest at the same time. You could use Atmosphere to implement pub/sub

OTHER TIPS

This may be possible with another server. You would consume the service with flash on that server and expose its api with web sockets (for example) to other clients. Your clients would not need flash installed.

Extending on Erik Martino's answer... you could try compiling a Java AMF client to JavaScript yourself using GWT.

Late to the party but is seems Adobe has a JS Client too. I you download the trail of Dataservices ES 4.6 its in the resource folder. A tutorial can be found here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top